farebox-mcp
Farebox Platform
Crypto-native LLM gateway. OpenAI-compatible API with per-token USDC payments on Solana. No subscriptions, no invoices — machine-native billing via the x402 protocol.
Architecture
This monorepo contains all platform services:
Package | Description |
| Web frontend — farebox.fun |
| REST API + x402 payment gateway |
| OpenAPI specification |
| Zod validation schemas |
| React query hooks |
| Drizzle ORM schema + migrations |
| MCP server — also on npm |
Quickstart
Prerequisites: Node.js ≥ 18, pnpm ≥ 9
git clone https://github.com/fareboxfun/platform.git
cd platform
pnpm installStart the API server:
cp artifacts/api-server/.env.example artifacts/api-server/.env
# fill in required variables
pnpm --filter @workspace/api-server run devStart the web frontend:
cp artifacts/farebox/.env.example artifacts/farebox/.env
pnpm --filter @workspace/farebox run devMCP Server
Connect Claude Desktop or Cursor to all 36+ Farebox models in two lines of config:
npx farebox-mcpFull setup guide → farebox.fun/mcp
npm package → npmjs.com/package/farebox-mcp
x402 — Keyless Machine Payments
Farebox implements x402, an open standard for HTTP micropayments. AI agents can call the API without an account — the server returns a 402 Payment Required with a USDC quote, the agent signs the payment on Solana, and retries. No invoices, no OAuth, no human in the loop.
Try it:
curl https://api.farebox.fun/.well-known/x402Links
Website: farebox.fun
API docs: farebox.fun/docs
Status: farebox.fun/status
X: @Farebox_
Contributing
See CONTRIBUTING.md. Issues and PRs welcome.
License
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/fareboxfun/platform'
If you have feedback or need assistance with the MCP directory API, please join our Discord server