Model Context Protocol
mcp.edgify.net wraps the public REST API as MCP tools so
Claude / Cursor / Copilot / any MCP-capable agent can drive your Edgify
org directly. Streamable-HTTP transport, JWT auth, Workers Free tier.
Endpoint
https://mcp.edgify.net/mcp
Auth
Every request carries a service-account JWT as
Authorization: Bearer <jwt>. Mint one from
/app/service-accounts.
Tools (v0.1)
| Tool | Maps to | Scope |
|---|---|---|
| list_virtual_keys | GET /api/virtual-keys | virtual_keys:list_* |
| get_virtual_key | GET /api/virtual-keys/{id} | virtual_keys:list_* |
| list_provider_keys | GET /api/provider-keys | provider_keys:list |
| usage_summary | GET /api/usage/summary | usage:read_all |
| usage_by_cost_center | GET /api/usage/by-cost-center | usage:read_all |
| list_audit_logs | GET /api/audit-logs | audit:read |
Claude Code
Add to your ~/.claude/mcp.json:
{
"mcpServers": {
"edgify": {
"url": "https://mcp.edgify.net/mcp",
"headers": {
"Authorization": "Bearer ${EDGIFY_TOKEN}"
}
}
}
}
Curl
curl -X POST https://mcp.edgify.net/mcp \
-H "authorization: Bearer $EDGIFY_TOKEN" \
-H "content-type: application/json" \
-H "accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'