Skip to content

Add AgentRails MCP server β€” x402 payment tools for AI agents#132

Open
kmatthewsio wants to merge 1 commit intoAzure:mainfrom
kmatthewsio:add-agentrails-mcp-server
Open

Add AgentRails MCP server β€” x402 payment tools for AI agents#132
kmatthewsio wants to merge 1 commit intoAzure:mainfrom
kmatthewsio:add-agentrails-mcp-server

Conversation

@kmatthewsio
Copy link

Summary

  • Adds AgentRails to the Foundry tool catalog β€” the first x402 payment infrastructure MCP server
  • 12 tools covering x402 payments, agent management, billing, and spending policies
  • Hosted on Azure Functions (Consumption plan) with system key auth

Server Details

Field Value
Name agentrails-mcp-server
Category Finance
Auth API Key (x-functions-key header)
Endpoint https://agentrails-mcp.azurewebsites.net/runtime/webhooks/mcp
Transport Streamable HTTP
Tools 12

Tools

Tool Description
get_x402_pricing Get x402 pricing for API endpoints
get_x402_payments Payment history with filters
get_x402_stats Aggregate payment statistics
execute_test_payment Execute test payment on sandbox
list_agents List all agents
get_agent Get agent by ID
create_agent Create agent with budget
delete_agent Delete agent
run_agent Run agent with a task
get_billing_usage Billing usage summary
list_policies List spending policies
create_policy Create spending policy

Validation

  • Schema validation passes (check-jsonschema)
  • Server name unique across all 58 files
  • Security scheme key agentrailsApiKey unique across all files
  • MCP endpoint live and responding to initialize requests

x402 payment infrastructure for AI agents β€” the first x402 payment
tools available for Foundry agents. 12 tools covering payments, agent
management, billing, and spending policies.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kmatthewsio
Copy link
Author

@microsoft-github-policy-service agree

@kmatthewsio
Copy link
Author

Hi @lindazqli β€” just checking in on this PR. The CLA is signed and schema validation passes locally. Happy to address any feedback. Thanks!

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