Skip to main content

MCP Quickstart

This guide walks you through connecting the Proxy MCP server to your preferred AI assistant.

Prerequisites

  • A Proxy account with completed KYC (sign up)
  • An AI assistant that supports MCP (Claude Desktop, Cursor, etc.)

Server URL

The Proxy MCP server is hosted at:
https://mcp.useproxy.ai/api/mcp

Authentication

The MCP server uses OAuth 2.0 for authentication. You’ll need to authorize the connection through your Proxy account.
The OAuth flow will redirect you to Proxy’s authentication page. After signing in, the connection will be established automatically.

Setup by Platform

Claude Desktop Setup

  1. Open Claude Desktop settings
  2. Navigate to Developer > Model Context Protocol
  3. Click Add Server
  4. Configure the server:
{
  "mcpServers": {
    "proxy": {
      "url": "https://mcp.useproxy.ai/api/mcp",
      "transport": "streamable-http"
    }
  }
}
  1. Click Save and restart Claude Desktop
  2. When prompted, authorize the connection through Proxy

Verify Connection

Ask Claude: “What tools do you have from Proxy?”Claude should list the available Proxy tools including agent.create, card.list, etc.

First Steps

Once connected, try these example commands:

Check Your Account Status

What's my onboarding status?

Create an Agent

Create an agent called "Shopping Assistant" for handling e-commerce purchases

Issue a Card

Create a virtual card for my Shopping Assistant agent with a $200 daily limit

Check Balance

What's my current balance?

Agent Authentication

For autonomous agent workflows, you can authenticate using an agent token instead of user OAuth.

Generate an Agent Token

  1. In your AI assistant, ask:
    Create a token for my Shopping Assistant agent
    
  2. Save the returned token securely (it won’t be shown again)

Use Agent Token

Agent tokens can be used directly in the Authorization header:
curl -X POST https://mcp.useproxy.ai/api/mcp \
  -H "Authorization: Bearer agt_xxxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "intent.create",
      "arguments": {
        "cardId": "card_xxx",
        "summary": "Purchase development tools",
        "expectedAmount": 9900
      }
    }
  }'
Agent tokens have limited permissions. They can only access intent, access, card (read-only), transaction (read-only), and balance tools.

Troubleshooting

  • Verify the server URL is correct: https://mcp.useproxy.ai/api/mcp
  • Check that your network allows outbound HTTPS connections
  • Try the health endpoint: curl https://mcp.useproxy.ai/api/mcp/health
  • Ensure you completed the OAuth flow
  • Try disconnecting and reconnecting the MCP server
  • Check that your Proxy account is active
  • Verify the tool name matches exactly (e.g., agent.create not createAgent)
  • Ensure you’re using the correct authentication type (some tools require user auth, others agent auth)
  • Check that you own the resource you’re trying to access
  • Agent tokens can only access their own cards and intents
  • Some operations require user authentication (not agent tokens)

Next Steps