Skip to content

Add read-only MCP tools for agents - #1

Merged
Mabolla merged 2 commits into
mainfrom
feat/mcp-readonly-agent-tools
Oct 1, 2026
Merged

Mabolla merged 2 commits into
mainfrom
feat/mcp-readonly-agent-tools

Conversation

@Mabolla

@Mabolla Mabolla commented Oct 1, 2026

Copy link
Copy Markdown
Owner

What changed

  • Add a stateless Streamable HTTP MCP endpoint at /mcp.
  • Expose read-only check_x402_endpoint and verify_base_settlement tools for agent discovery and use.
  • Add per-client-IP request limiting (30 requests/minute) and document MCP usage.
  • Keep all payment submission behind the existing separately gated canary workflow; MCP tools do not sign or spend.

Verification

  • npm run typecheck
  • npm test (11 tests, including MCP client discovery/tool invocation)
  • npm run build
  • git diff --check

Deployment note

The previously documented Railway production URL currently returns 404 (Application not found). This PR adds the endpoint to the codebase but does not restore that Railway service. No mainnet payment was made.

@Mabolla
Mabolla marked this pull request as ready for review October 1, 2026 08:22
@Mabolla
Mabolla merged commit b24e668 into main Oct 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant