phantom-mcp-server MCP Server
PHANTOM ID MCP payment server: agent-to-agent USDC payments on Base.
phantom-mcp-server scores 62 (Good), licensed Business Source License 1.1 and written in TypeScript. It can be reached as a remote MCP endpoint. It declares 4 tools. Filed under Finance. GitHub shows 0 stars. Package registries report about 536 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
62 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- License present: business-source-license-1.1.
License, quality and maintenance
License: Grade D
Business Source License 1.1 is source-available, not open source: use is restricted.
How license is gradedQuality: Grade B
71/100 for listing completeness. Lost points: 4 of 4 tools barely described, short summary.
How quality is graded
Where the 62 comes from
22 + 20 + 0 + 6 + 4 + 10 = 62. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 6 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "arbromagency-sato-idphantom-mcp-server": { "command": "npx", "args": [ "-y", "@phantomid/mcp-server@0.3.2" ], "env": { "PHANTOM_API_URL": "", "PHANTOM_API_KEY": "YOUR_PHANTOM_API_KEY" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
PHANTOM_API_URL | Optional | PHANTOM API base URL (default https://pay.idphantom.com) |
PHANTOM_API_KEYSecret | Required | PHANTOM API key for the agent account (create via POST /v1/register or /admin/accounts) |
Tools4Tool docs quality grade F
All capabilitiesquote_paymenttoolsubmit_paymenttoolverify_paymenttool
About
IDPHANTOM MCP Server
@phantomid/mcp-server exposes IDPHANTOM payments as standard MCP tools so an AI agent can quote, authorize, submit, and verify agent-to-agent payments through IDPHANTOM.
Production defaults to:
https://pay.idphantom.com
Install
npx @phantomid/mcp-server
For MCP clients, configure the server command and environment:
{
"mcpServers": {
"phantom-id": {
"command": "npx",
"args": ["@phantomid/mcp-server"],
"env": {
"PHANTOM_API_URL": "https://pay.idphantom.com",
"PHANTOM_API_KEY": "pk_live_..."
}
}
}
}
PHANTOM_API_URL is optional when using production. PHANTOM_API_KEY is required for normal paid API usage after registration.
Self-serve tools environment (AGP-100)
The MCP tools phantom_register and phantom_authorize_budget read their
signing keys only from the environment (never from command-line flags —
argv leaks into shell history and process listings):
| Variable | Used by | Purpose |
|---|---|---|
PHANTOM_PAYER_PRIVATE_KEY | phantom_register (auto mode) | Pays the $2 USDC registration; signs locally, never leaves the process. |
PHANTOM_FUNDER_PRIVATE_KEY | phantom_authorize_budget | Human funder's key for the EIP-712 AgentWalletAuthorization. |
PHANTOM_ROUTER_ADDRESS | both | PhantomRouter verifying contract of the EIP-712 domain. |
PHANTOM_FUNNEL_SOURCE | funnel | internal for dogfood/QA traffic (reported separately — wash volume prohibited); default external. |
Without PHANTOM_PAYER_PRIVATE_KEY, phantom_register runs in manual mode:
pass payer_wallet and it returns the registration challenge plus
step-by-step signing instructions.
Funnel events (AGP-100 F1.4)
The server emits one JSON line per event on stderr, prefixed with [funnel]:
[funnel] {"event":"install","ts":"...","source":"external",...}
Events: install → register_start → register_complete → first_pay →
repeat. Scrape these lines to build the onboarding funnel
(install → register → first pay → repeat). Traffic tagged
PHANTOM_FUNNEL_SOURCE=internal must be aggregated separately from external
volume.
Connect Your Agent In 5 Minutes
Registration is self-serve and costs $2 USDC on Base mainnet. The CLI signs locally and never prints the private key.
export PHANTOM_PAYER_PRIVATE_KEY="0x..."
export PHANTOM_ROUTER_ADDRESS="0x..."
npx @phantomid/mcp-server init --name my-agent
The init flow calls:
POST /v1/registerPOST /v1/intents/:id/authorizePOST /v1/intents/:id/submitGET /v1/register/:referencePOST /v1/register/:reference/claim
On success it prints the account id and the API key once. Store the returned key as PHANTOM_API_KEY.
Flags are supported for non-sensitive options. The payer key is environment-only (never a flag — command lines leak into shell history and process listings):
export PHANTOM_PAYER_PRIVATE_KEY="0x..."
npx @phantomid/mcp-server init \
--api-url https://pay.idphantom.com \
--router-address 0x... \
--name my-agent
Tools
The server supports newline-delimited JSON-RPC over stdio.
quote_payment
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "quote_payment",
"arguments": {
"payer_wallet": "0x...",
"recipient_wallet": "0x...",
"asset_contract": "0x...",
"amount": "1000000",
"chain_id": 8453,
"idempotency_key": "quote-001",
"payer_agent_id": "buyer-agent",
"recipient_agent_id": "seller-agent"
}
}
}
authorize_payment
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "authorize_payment",
"arguments": {
"payment_intent_id": "pi_...",
"payer_signature": "0x..."
}
}
}
submit_payment
{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "submit_payment",
"arguments": {
"payment_intent_id": "pi_..."
}
}
}
verify_payment
{
"jsonrpc": "2.0",
"id": 4,
"method": "tools/call",
"params": {
"name": "verify_payment",
"arguments": {
"payment_intent_id": "pi_...",
"receipt_id": "rcpt_..."
}
}
}
Limits
Default production policy limits are:
- 50 USD maximum per payment
- 500 USD maximum per day
Payments above those limits are rejected by the PHANTOM ID API.
Publish
npm publish --access public
Frequently asked questions
What is phantom-mcp-server MCP Server?
PHANTOM ID MCP payment server: agent-to-agent USDC payments on Base.
How do I install phantom-mcp-server MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. phantom-mcp-server MCP Server runs locally from the npm package @phantomid/mcp-server with the command npx -y @phantomid/mcp-server@0.3.2.
Is phantom-mcp-server MCP Server free and open source?
phantom-mcp-server MCP Server is released under the Business Source License 1.1 license, which is not on MCPpedia's list of OSI-approved open-source licenses. Read the license terms before using it, especially commercially.
Does phantom-mcp-server MCP Server support remote (HTTP) connections?
Yes. phantom-mcp-server MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does phantom-mcp-server MCP Server provide?
phantom-mcp-server MCP Server provides 4 tools: authorize_payment, quote_payment, submit_payment, and verify_payment. See the full tool list for descriptions and parameters.
How is phantom-mcp-server MCP Server's trust score calculated?
phantom-mcp-server MCP Server scores 62 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.