Skip to content
This repository was archived by the owner on Jul 19, 2026. It is now read-only.

ainfera-ai/mcp-legacy-2026-07-19

ainfera-mcp — Ainfera as an MCP Server

Add Ainfera to Claude Desktop, Cursor, VS Code, or any MCP-aware client. 30 seconds of config.

What you get as MCP tools

  • inference — routed inference across the Ainfera model catalog (200+ models, see GET /v1/models)
  • register_agent — register a new Agent under a tenant
  • topup_wallet — add USDC to an agent's wallet
  • get_wallet — check remaining caps
  • read_audit_chain / verify_audit_chain — pull and verify hash-chained receipts

Plus the rest of the platform surface. Full list in the mcp-server tool catalog.

Claude Desktop

Edit your config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "ainfera": {
      "url": "https://mcp.ainfera.ai",
      "headers": {
        "Authorization": "Bearer ainfera_REPLACE_ME"
      }
    }
  }
}

Sample provided at claude-desktop-config.json. Restart Claude Desktop, then type @ainfera to use the tools.

Cursor

Add to .cursor/mcp.json in your repo, or ~/.cursor/mcp.json globally:

{
  "mcpServers": {
    "ainfera": {
      "url": "https://mcp.ainfera.ai",
      "headers": {
        "Authorization": "Bearer ainfera_REPLACE_ME"
      }
    }
  }
}

Sample at cursor-mcp.json.

Validate before restart:

./scripts/validate-mcp-config.sh cursor-mcp.json

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "ainfera": {
      "url": "https://mcp.ainfera.ai",
      "headers": {
        "Authorization": "Bearer ainfera_REPLACE_ME"
      }
    }
  }
}

Sample at vscode-mcp.json.

Any MCP client

Same shape — point at https://mcp.ainfera.ai with your ainfera_* Bearer token. Get a free key at https://app.ainfera.ai/signup.

Test it

After connecting:

@ainfera register a new agent named "my-research-bot" with a $5 daily cap
@ainfera run inference: "Summarize the EU AI Act Annex IV" using ainfera-inference
@ainfera show the audit chain for my-research-bot

Each call is hash-chained and signed. Open the audit URL the tool returns to verify the receipt offline.

Other examples

Apache 2.0. © Ainfera Inc. 2026.

About

MCP reference adapter + Ainfera Routing for Claude Agent SDK / Cursor.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages