Agentpay
AI agent payments with human approval. Local-first, encrypted credentials, budget…
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.1.8
- Listing updated
- 5 days ago
About Agentpay
Agentpay is an open-source MCP server. It runs locally on your machine and is started by your AI client.
AI agent payments with human approval. Local-first, encrypted credentials, budget controls.
Install
Run in a terminal
claude mcp add agentpay --env AGENTPAY_PASSPHRASE='<AGENTPAY_PASSPHRASE>' --env ANTHROPIC_API_KEY='<ANTHROPIC_API_KEY>' -- npx -y @useagentpay/mcp-serverAdd to claude_desktop_config.json
{
"mcpServers": {
"agentpay": {
"command": "npx",
"args": [
"-y",
"@useagentpay/mcp-server"
],
"env": {
"AGENTPAY_PASSPHRASE": "<AGENTPAY_PASSPHRASE>",
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"agentpay": {
"command": "npx",
"args": [
"-y",
"@useagentpay/mcp-server"
],
"env": {
"AGENTPAY_PASSPHRASE": "<AGENTPAY_PASSPHRASE>",
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"agentpay": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@useagentpay/mcp-server"
],
"env": {
"AGENTPAY_PASSPHRASE": "<AGENTPAY_PASSPHRASE>",
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"agentpay": {
"command": "npx",
"args": [
"-y",
"@useagentpay/mcp-server"
],
"env": {
"AGENTPAY_PASSPHRASE": "<AGENTPAY_PASSPHRASE>",
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"agentpay": {
"command": "npx",
"args": [
"-y",
"@useagentpay/mcp-server"
],
"env": {
"AGENTPAY_PASSPHRASE": "<AGENTPAY_PASSPHRASE>",
"ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
AGENTPAY_PASSPHRASEPassphrase for decrypting credentials during purchase executionANTHROPIC_API_KEYAnthropic API key for browser navigation during checkout
Pricing
Open source
Agentpay FAQ
Is Agentpay free?
Yes. Agentpay is open source, so you can use and self-host it for free.
How do I add Agentpay to Claude Code?
Run this command in your terminal: claude mcp add agentpay --env AGENTPAY_PASSPHRASE='<AGENTPAY_PASSPHRASE>' --env ANTHROPIC_API_KEY='<ANTHROPIC_API_KEY>' -- npx -y @useagentpay/mcp-server
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.