WritersLogic AI Agents (x402)
v0.3.0Pay-per-call AI agents over x402.
Values you need
| Variable | What it is | |
|---|---|---|
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. Default: 1.00 |
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). Default: https://agents.writerslogic.com |
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. |
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-mcpAdd 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
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: verify_provenance.
- 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