Skip to main content

Overview

The Model Context Protocol (MCP) is an open standard that lets AI agents use external tools and APIs. The hosted mag3nt MCP server turns the full mag3nt API into agent-native tools, so an assistant can issue cards, check balances, pay endpoints, and reconcile activity on its own. The server is live at mcp.mag3nt.com. That page also offers one-click install links for popular clients.
Connection URL: https://mcp.mag3nt.com/mcp (modern Streamable HTTP transport). Authenticate with the header api-key-auth: <MAG3NT_API_KEY>. Generate a key from the Developer tab at mag3nt.com.
Do not use the legacy https://mcp.mag3nt.com/sse endpoint. The HTTP+SSE transport is deprecated. Always use the /mcp Streamable HTTP endpoint.

Install

Replace mag3nt_live_YOUR_API_KEY with your own key in each example.

Cursor

Open the mcp.mag3nt.com install page and click Cursor for one-click setup, or add it manually under Cursor Settings > MCP:

Claude Code

Claude Desktop

Open Settings > Developer > Edit Config, then merge this into the mcpServers object in claude_desktop_config.json and restart Claude Desktop:

VS Code

Use the install link on mcp.mag3nt.com, or add the same Mag3nt server entry shown above to your VS Code MCP configuration.

Gemini CLI

Codex CLI

Add this to your Codex config:

Available tools

Once connected, your agent can call every capability of the mag3nt API. Tools are grouped by area below.

Cards

Payments

Funding and withdrawals

Protocols

Keys, webhooks, and status

Membership, tokens, marketplace, and CT markets

After Speakeasy regenerates MCP from the updated OpenAPI, these areas are also exposed as tools (names follow Speakeasy tagging). Until regeneration lands, call them via the REST API:

Try it

Once connected, ask your agent something like:
Issue a card for $10, use it to pay for data from weather-api.com, then move any unspent funds back to my treasury and close the card.
The agent will call cards-cards-create, payments-payments-execute, cards-cards-claim, and cards-cards-close in sequence, with the full record available through transactions-list-account.