Repository avatar
AI Tools
v1.0.0
active

mcp

site.tokenbuddy/mcp

AI gateway FinOps, live model pricing, balance alerts, usage exports, and reseller ops via MCP.

Documentation

TokenBuddy Ecosystem — SDKs, MCP Registry, n8n Templates & Integrations

TokenBuddy MCP connector

Official public ecosystem integrations for TokenBuddy — a unified AI API gateway for LLMs, image generation, and video generation with 0% top-up surcharge, sticky prompt caching, hard spend caps, automatic failed-job refunds, and white-label reseller sub-accounts.

Links

What's Inside

DirectoryDescription
.mcp/server.json & mcp-registry/Official MCP Registry manifest (site.tokenbuddy/mcp), Glama (glama.json), and Smithery (smithery.yaml) metadata for TokenBuddy's OAuth 2.0 Streamable HTTP MCP endpoint (https://tokenbuddy.site/api/agent/v1/mcp).
vercel-ai-sdk/@tokenbuddy/ai-sdk — lightweight TypeScript provider wrapper for the Vercel AI SDK (@ai-sdk/openai-compatible) and multimodal REST headers.
n8n-templates/3 copy-paste n8n workflow templates: LLM Chat & Fallback, Async Video Generation (/v1/videos) with Auto-Refunds, and Batch Image Generation (/v1/images/generations).
litellm/Drop-in LiteLLM Proxy config.yaml routing Claude, GPT, Gemini, and DeepSeek through TokenBuddy with sticky prompt caching.
dify-and-clients/Quick configuration snippets for Dify, Claude Code, Cline, Cursor, Roo Code, Open WebUI, Cherry Studio, and LobeChat.
skills/tokenbuddy-agent/Public Agent Skill (SKILL.md) for connecting Claude Code, Cursor, Codex, and MCP-compatible agents to TokenBuddy FinOps tools.

Quickstart (OpenAI-Compatible API)

curl https://tokenbuddy.site/v1/chat/completions \
  -H "Authorization: Bearer $TOKENBUDDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-sonnet-4-5",
    "messages": [{"role": "user", "content": "Hello from TokenBuddy"}]
  }'

Remote MCP Endpoint (OAuth 2.0 Streamable HTTP)

  • Endpoint: https://tokenbuddy.site/api/agent/v1/mcp
  • Protected Resource Metadata: https://tokenbuddy.site/.well-known/oauth-protected-resource
  • Capabilities: Scoped live model pricing, usage & cost CSV exports, balance alert configuration, and white-label reseller read/plan operations.

License

MIT — see LICENSE.

No installation packages available.