WritersLogic AI Agents (x402)

v0.3.0
io.github.writerslogic/ai-agents-mcp Checked 3 days ago Published 26 days ago

Pay-per-call AI agents over x402.

Values you need

VariableWhat it is
AGENT_PRIVATE_KEYoptional 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_CALLoptional Maximum USDC the client will authorize for a single tool call. Calls priced above it are refused. Default: 1.00
AGENTS_API_KEYoptional secret Hub API key sent as X-API-KEY. Bypasses payment.
AGENTS_BASE_URLoptional Hub base URL (https only; http allowed for localhost). Default: https://agents.writerslogic.com
AGENTS_PROFILEoptional 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_PACKAGESoptional "all" or a comma-separated list of package ids whose checks are listed as individual tools instead of one tool per package.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add ai-agents-mcp -- npx -y --package=@writerslogic/ai-agents-mcp@0.3.0 writerslogic-ai-agents-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "ai-agents-mcp": {
      "args": [
        "-y",
        "--package=@writerslogic/ai-agents-mcp@0.3.0",
        "writerslogic-ai-agents-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "ai-agents-mcp": {
      "args": [
        "-y",
        "--package=@writerslogic/ai-agents-mcp@0.3.0",
        "writerslogic-ai-agents-mcp"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "ai-agents-mcp": {
      "args": [
        "-y",
        "--package=@writerslogic/ai-agents-mcp@0.3.0",
        "writerslogic-ai-agents-mcp"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.ai-agents-mcp]
command = "npx"
args = ["-y", "--package=@writerslogic/ai-agents-mcp@0.3.0", "writerslogic-ai-agents-mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: verify_provenance.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json