WritersLogic AI Agents (x402) for VS Code
io.github.writerslogic/ai-agents-mcp
Pay-per-call AI agents over x402. Settled in USDC on Base with a per-call spending cap.
client:VS Code
transport:stdio
runtime:npm
Install WritersLogic AI Agents (x402) in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "agent-private-key",
"description": "AGENT_PRIVATE_KEY",
"password": true
},
{
"type": "promptString",
"id": "max-usdc-per-call",
"description": "MAX_USDC_PER_CALL",
"password": true
},
{
"type": "promptString",
"id": "agents-api-key",
"description": "AGENTS_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "agents-base-url",
"description": "AGENTS_BASE_URL",
"password": true
},
{
"type": "promptString",
"id": "agents-profile",
"description": "AGENTS_PROFILE",
"password": true
},
{
"type": "promptString",
"id": "agents-packages",
"description": "AGENTS_PACKAGES",
"password": true
}
],
"servers": {
"ai-agents-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@writerslogic/ai-agents-mcp"
],
"env": {
"AGENT_PRIVATE_KEY": "${input:agent-private-key}",
"MAX_USDC_PER_CALL": "${input:max-usdc-per-call}",
"AGENTS_API_KEY": "${input:agents-api-key}",
"AGENTS_BASE_URL": "${input:agents-base-url}",
"AGENTS_PROFILE": "${input:agents-profile}",
"AGENTS_PACKAGES": "${input:agents-packages}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs