WritersLogic AI Agents (x402)

io.github.writerslogic/ai-agents-mcp

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "ai-agents-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@writerslogic/ai-agents-mcp@0.3.0"
      ],
      "env": {
        "AGENT_PRIVATE_KEY": "<your AGENT_PRIVATE_KEY>",
        "MAX_USDC_PER_CALL": "1.00",
        "AGENTS_API_KEY": "<your AGENTS_API_KEY>",
        "AGENTS_BASE_URL": "https://agents.writerslogic.com"
      }
    }
  }
}
Environment variables
  • AGENT_PRIVATE_KEYsecretPrivate 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_CALLMaximum USDC the client will authorize for a single tool call. Calls priced above it are refused.
  • AGENTS_API_KEYsecretHub API key sent as X-API-KEY. Bypasses payment.
  • AGENTS_BASE_URLHub base URL (https only; http allowed for localhost).

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.3.0
Registry
active
Published
11/7/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that WritersLogic AI Agents (x402) is listed here — it’s also the link we check for a free listing.

WritersLogic AI Agents (x402) — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-writerslogic-ai-agents-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="WritersLogic AI Agents (x402) — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![WritersLogic AI Agents (x402) — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-writerslogic-ai-agents-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.