NestDaddy

WritersLogic AI Agents (x402)

io.github.writerslogic/ai-agents-mcp ยท v0.3.0

Pay-per-call AI agents over x402. Settled in USDC on Base with a per-call spending cap.

Connect Runs on your machine

Terminal
claude mcp add ai-agents-mcp -e AGENT_PRIVATE_KEY=<AGENT_PRIVATE_KEY> -e MAX_USDC_PER_CALL=<MAX_USDC_PER_CALL> -e AGENTS_API_KEY=<AGENTS_API_KEY> -e AGENTS_BASE_URL=<AGENTS_BASE_URL> -e AGENTS_PROFILE=<AGENTS_PROFILE> -e AGENTS_PACKAGES=<AGENTS_PACKAGES> -- npx -y @writerslogic/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "ai-agents-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@writerslogic/[email protected]"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>",
        "MAX_USDC_PER_CALL": "<MAX_USDC_PER_CALL>",
        "AGENTS_API_KEY": "<AGENTS_API_KEY>",
        "AGENTS_BASE_URL": "<AGENTS_BASE_URL>",
        "AGENTS_PROFILE": "<AGENTS_PROFILE>",
        "AGENTS_PACKAGES": "<AGENTS_PACKAGES>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "ai-agents-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@writerslogic/[email protected]"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>",
        "MAX_USDC_PER_CALL": "<MAX_USDC_PER_CALL>",
        "AGENTS_API_KEY": "<AGENTS_API_KEY>",
        "AGENTS_BASE_URL": "<AGENTS_BASE_URL>",
        "AGENTS_PROFILE": "<AGENTS_PROFILE>",
        "AGENTS_PACKAGES": "<AGENTS_PACKAGES>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "ai-agents-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@writerslogic/[email protected]"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<AGENT_PRIVATE_KEY>",
        "MAX_USDC_PER_CALL": "<MAX_USDC_PER_CALL>",
        "AGENTS_API_KEY": "<AGENTS_API_KEY>",
        "AGENTS_BASE_URL": "<AGENTS_BASE_URL>",
        "AGENTS_PROFILE": "<AGENTS_PROFILE>",
        "AGENTS_PACKAGES": "<AGENTS_PACKAGES>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
AGENT_PRIVATE_KEY
Optional, secret
Private key of a dedicated, low-balance wallet holding USDC on Base. Signs gasless EIP-3009 payment authorizations. Without it, paid tools return payment instructions instead of paying.
MAX_USDC_PER_CALL
Optional
Maximum USDC the client will authorize for a single tool call. Calls priced above it are refused.
AGENTS_API_KEY
Optional, secret
Hub API key sent as X-API-KEY. Bypasses payment.
AGENTS_BASE_URL
Optional
Hub base URL (https only; http allowed for localhost).
AGENTS_PROFILE
Optional
core (default: 14 web, document and code-security tools), all, or a comma-separated list of agent or package ids to list as tools.
AGENTS_PACKAGES
Optional
"all" or a comma-separated list of package ids whose checks are listed as individual tools instead of one tool per package.

Details

Package@writerslogic/[email protected] (NPM, stdio)
First published7 Nov 2026
Last updated7 Nov 2026
Registry nameio.github.writerslogic/ai-agents-mcp

More ai and media servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.