MCP Compatible Clients
The Agent Wallet MCP server works with any MCP-compatible client. Below are setup guides for popular clients. The server URL and authentication are the same regardless of which client you use. Server details for all clients:| Property | Value |
|---|---|
| URL | https://mcp.fd.xyz |
| Transport | Streamable HTTP |
| Auth | OAuth PKCE (browser-based login) |
Claude Desktop
Edit your Claude Desktop config file:- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Cursor
Open Cursor Settings → MCP Servers → Add new server:Windsurf
Open Windsurf Settings → MCP Configuration:Claude Code
Claude Code supports MCP servers directly from the command line:n8n
n8n supports MCP servers as tools for AI Agent nodes:- Open your n8n workflow
- Add or configure an AI Agent node
- In the agent’s tool configuration, add an MCP server
- Set the server URL to
https://mcp.fd.xyzwith Streamable HTTP transport - Configure OAuth authentication with your District Pass credentials
Custom MCP Client
For developers building their own MCP client or integrating into a custom agent framework, you’ll need to handle both the OAuth PKCE authentication flow and client registration with the Agent Wallet MCP server.Client Registration
Before an MCP client can authenticate, it must be registered with the authorization server. The Agent Wallet MCP server supports two registration methods:CIMD — Client ID Metadata Document (Preferred)
CIMD — Client ID Metadata Document (Preferred)
CIMD lets your client publish its metadata (name, redirect URIs, grant types) as a JSON document at a publicly accessible URL. The authorization server fetches this document to verify your client’s identity during the OAuth flow.How it works:
- You host a JSON metadata document at a URL you control (e.g.,
https://your-app.com/.well-known/oauth-client) - Your client uses that URL as its
client_idin the OAuth flow - The authorization server fetches the document to validate the client
DCR — Dynamic Client Registration
DCR — Dynamic Client Registration
DCR (RFC 7591) allows clients to register programmatically by posting their metadata to a registration endpoint. The server responds with a
client_id that the client uses for subsequent OAuth flows.DCR on the Agent Wallet MCP server is restricted to whitelisted clients. If you need DCR access for your custom client, reach out to us on Discord to request whitelisting.Popular MCP clients — Claude Desktop, Cursor, Windsurf, Claude Code, and n8n — are already registered and work out of the box. Client registration only applies when you’re building a custom MCP client or integrating the Agent Wallet MCP server into your own agent framework.
Code Example
Troubleshooting
Browser window doesn’t open for authentication- Ensure your MCP client supports OAuth PKCE with Streamable HTTP transport
- Some older MCP client versions may not support remote server authentication — update to the latest version
- OAuth tokens refresh automatically. If the refresh fails, restart your client to trigger a new authentication flow
- Verify the server URL is exactly
https://mcp.fd.xyz - Verify the transport type is set to
streamable-http(notsseorstdio) - Restart your MCP client after adding the configuration