Model Context Protocol API for AI Assistants
All API requests (except health check) require authentication:
X-API-Key header or Authorization: Bearer <key>?category=sku to filter by category.
{"tool": "tool.key", "params": {...}}
Follow these steps to get started with the MCP API:
Verify that the MCP server is running and accessible.
curl /health
Get a list of all available MCP tools and their categories.
curl -H "X-API-Key: your-api-key" /tools
Call a specific tool with parameters to get data or perform actions.
curl -X POST /mcp \
-H "Content-Type: application/json" \
-H "X-API-Key: your-api-key" \
-d '{
"tool": "sku.get_info",
"params": {
"partNumbers": ["ABC123", "XYZ789"],
"companyId": "optional-company-id"
}
}'