Skip to main content
The OneShot MCP server puts every OneShot tool in Claude Desktop, Cursor, Claude Code, or any MCP client. It runs on your machine and signs payments with your wallet.

What is MCP?

The Model Context Protocol (MCP) is an open standard for connecting AI applications to external tools and data sources. OneShot’s MCP server exposes all OneShot tools to any MCP-compatible client.

Supported Clients

Claude Desktop

Anthropic’s desktop application for Claude

Cursor

AI-first code editor

Claude Code

Anthropic’s CLI for Claude

Any MCP Client

Any MCP-compatible application

Hosted endpoint (no local install)

Grok Bot, cloud runners, and any client that cannot spawn a local process: connect to https://win.oneshotagent.com/mcp with an access token
This page covers the local server (npx @oneshot-agent/mcp-server), which signs x402 payments with your wallet. Clients running in someone else’s cloud cannot hold a wallet key; they use the hosted endpoint, which bills your agent’s credit balance.

Installation

Or run it with npx (recommended for MCP configs):

Configuration

The server supports two authentication methods. CDP Wallet is recommended because your config then holds no private keys.

Environment Variables

An invalid budget value (ONESHOT_BUDGET_DAILY=-1) fails startup with a message naming the variable. A blank value (ONESHOT_BUDGET_DAILY=) counts as unset and logs a warning on stderr, since ${VAR} templating produces a blank for an unset variable.
The server detects the method: CDP if CDP_API_KEY_ID is set, otherwise ONESHOT_WALLET_PRIVATE_KEY.
Never commit secrets to version control. Use environment variables or a secrets manager.

Available Tools

See Pricing for current tool costs.

Messaging

Research & Enrich

Web & Browser

Build

Commerce

Account

Compute

Usage Examples

Ask your AI client in plain language. It picks the tool:
“Send an email to [email protected] with subject ‘Meeting Tomorrow’ and let him know we need to reschedule to 3pm”
“Call the restaurant at +14155551234 and make a reservation for 4 people at 7pm tonight”
“Research the latest developments in quantum computing and give me a summary with sources”
“Build a landing page for my new SaaS product called TaskFlow. It’s an AI-powered task management tool for remote teams”
“What’s my OneShot wallet balance?”

Funding Your Agent

The MCP server runs on Base Mainnet with real USDC. Send USDC to your agent’s wallet address on Base before making paid tool calls.

Troubleshooting

  1. Verify the config file path is correct for your OS
  2. Restart your AI client after saving the config
  3. Check that npx is available in your PATH
Make sure either the CDP credentials (CDP_API_KEY_ID, CDP_API_KEY_SECRET, CDP_WALLET_SECRET) or ONESHOT_WALLET_PRIVATE_KEY is set in the env section of your config.
  1. Check your balance with oneshot_get_balance
  2. Send USDC to your agent’s wallet address on Base Mainnet

npm Package

npm registry listing

SDK Documentation

Full SDK documentation

Pricing

Detailed pricing

MCP Protocol

Learn about MCP