relai-mcp-server
Enables on-chain agent identity via SATI on Solana, including registration of a SATI identity NFT and submission of positive feedback after paid API calls.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
relai-mcp-server
MCP (Model Context Protocol) server for RelAI. Lets any MCP-compatible AI agent authorize itself with RelAI and call paid x402 APIs autonomously.
Tools
Tool | Description |
| Request a one-time consent link from RelAI to send to the user |
| Check if the user approved — returns the service key |
| Call any paid API through the RelAI Metered proxy |
| Check the remaining USDC balance in the user's wallet |
Related MCP server: x402-mcp
Setup
npm install
npm run buildUsage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"relai": {
"command": "node",
"args": ["/path/to/relai-mcp-server/dist/index.js"],
"env": {
"RELAI_API_BASE": "https://api.relai.fi"
}
}
}
}Usage with any MCP client
RELAI_API_BASE=https://api.relai.fi node dist/index.jsAuthorization Flow
Agent calls
request_authorization→ gets a linkAgent shows the link to the user
User opens the link and clicks Allow on relai.fi
Agent calls
poll_authorization→ getsserviceKey+agentIdAgent calls
call_apifor any paid API — payments are automatic
Environment Variables
Variable | Default | Description |
|
| RelAI API base URL |
| (optional) | Solana keypair (base58 or JSON byte array) — enables SATI on-chain agent identity |
SATI Integration (optional)
If SATI_PAYER_KEYPAIR is set, the server automatically:
Registers a SATI identity NFT on Solana when the user approves authorization — giving the agent a verifiable on-chain identity with
x402Support: trueSubmits positive feedback on-chain after every successful paid API call — building the agent's reputation over time
If SATI_PAYER_KEYPAIR is not set, SATI is silently disabled and everything works normally.
{
"mcpServers": {
"relai": {
"command": "node",
"args": ["/path/to/relai-mcp-server/dist/index.js"],
"env": {
"RELAI_API_BASE": "https://api.relai.fi",
"SATI_PAYER_KEYPAIR": "<your-solana-wallet-base58>"
}
}
}
}Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Paid MCP tools behind one endpoint. Agents pay per call in USDC on Base via x402.
x402 pay-per-call APIs over MCP, settled in USDC on Base for autonomous agents and developers.
Agent x402 Paywall MCP — Coinbase HTTP 402 protocol + on-chain settlement. Agents pay per-call
Authorize and prove autonomous x402/AP2 agent payments with cryptographic receipts.
Related MCP Servers
- AlicenseAqualityFmaintenanceEnables MCP clients to access all endpoints of an x402 gateway by paying real-time microtransactions (USDC on Base) per API call, with automatic tool discovery and spend guardrails.2364 npmMIT
- AlicenseNot gradedqualityDmaintenanceMCP server for the x402 protocol that lets AI agents discover and call payment-gated HTTP APIs automatically.Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to discover, call, and pay for existing HTTP APIs over MCP with x402 paywalls, non-custodial settlement, and no code changes to the backend.688 npm74Apache 2.0
- FlicenseNot gradedqualityDmaintenanceEnables users to verify that an AI agent is who it claims to be by combining domain verification, agent-card checks, and a live MCP handshake, with paid requests handled via x402 on Base Sepolia testnet.-