Build, test, and deploy MCPs using the LeanMCP API
curl -H "Authorization: Bearer YOUR_API_KEY" \ https://api.leanmcp.com/v1/build
https://api.leanmcp.com/v1
POST /v1/build { "name": "my-mcp-server", "template": "basic", "tools": [...], "resources": [...] }
POST /v1/test { "mcp_id": "your-mcp-id", "message": "Help me use the tools", "ai_model": "claude-3" }
POST /v1/deploy { "mcp_id": "your-mcp-id", "environment": "production" }
{ "success": true, "data": { /* response data */ }, "meta": { "request_id": "req_123", "timestamp": "2023-12-01T12:00:00Z" } }
{ "success": false, "error": { "code": "INVALID_MCP", "message": "MCP server configuration is invalid", "details": "Tool 'example' is missing required field 'description'" } }
X-RateLimit-Limit: 100 X-RateLimit-Remaining: 95 X-RateLimit-Reset: 1640995200