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_keysGET /api/virtual-keysvirtual_keys:list_*
get_virtual_keyGET /api/virtual-keys/{id}virtual_keys:list_*
list_provider_keysGET /api/provider-keysprovider_keys:list
usage_summaryGET /api/usage/summaryusage:read_all
usage_by_cost_centerGET /api/usage/by-cost-centerusage:read_all
list_audit_logsGET /api/audit-logsaudit: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"}'