FoxTrove Voice MCP Server

FoxTrove Voice MCP Server

Public read-only MCP server for FoxTrove Voice, enabling LLMs to query call logs, customer records, assistant stats, and analytics via secure OAuth.

Category
访问服务器

README

FoxTrove Voice MCP Server

Public, read-only Model Context Protocol server for FoxTrove Voice. Hosted at https://mcp.voice.foxtrove.ai/mcp.

Connect any MCP-capable LLM client — Claude Desktop, Cursor, ChatGPT, Zed, custom agents — to a FoxTrove Voice tenant and ask real questions: "what calls came in today?", "any calls about warranty issues this week?", "who asked about pricing?", "how is the booking assistant performing vs last week?". The LLM picks the right tool, the server enforces per-tenant OAuth, and the answers come back as structured JSON.

This repository is the public proxy layer only. It verifies OAuth bearer JWTs against the main FoxTrove app's JWKS, then forwards tool calls to the main app's internal HTTP API. It has no database credentials, no schema knowledge, and no tenant logic of its own — the main app (private repo) is the source of truth. That split keeps this codebase safe to open-source and submit to MCP marketplaces.


Tools

All tools are read-only and scoped to the authenticated tenant.

Calls

  • list_calls — browse recent calls with filters (since/until, assistant, outcome).
  • get_call — one call in full; opt in to transcript and recording URL.
  • search_calls — semantic search across call transcripts and summaries.

Customers

  • get_customer_context — unified cross-CRM snapshot for one customer by phone / email / id.
  • search_customers — find customers by name / phone / email fragment.

Assistants

  • list_assistants — voice assistants configured on the tenant.
  • get_assistant_stats — aggregate performance metrics for one assistant.

Follow-ups & appointments

  • list_followups — open action items flagged during calls.
  • list_appointments — bookings made during voice calls.

Analytics

  • get_call_metrics — counts and durations, groupable by day / week / month / assistant / outcome.
  • get_outcome_breakdown — distribution of outcomes ("qualified rate this month").
  • get_topic_trends — top topics / objections across calls.
  • compare_periods — period-over-period deltas (calls, qualified, avg duration, booked).

Install

Claude Desktop

Open Settings → Developer → Edit Config and add:

{
  "mcpServers": {
    "foxtrove-voice": {
      "url": "https://mcp.voice.foxtrove.ai/mcp"
    }
  }
}

Restart Claude Desktop. The first tool call will open a browser window to sign in with FoxTrove; approve access and you're done.

Cursor

Open Settings → MCP → Add new MCP Server, paste https://mcp.voice.foxtrove.ai/mcp, and save. Or edit ~/.cursor/mcp.json:

{
  "mcpServers": {
    "foxtrove-voice": {
      "url": "https://mcp.voice.foxtrove.ai/mcp"
    }
  }
}

ChatGPT (web)

Settings → Connectors → Add MCP serverhttps://mcp.voice.foxtrove.ai/mcp.

Zed

Add to your Zed settings:

{
  "context_servers": {
    "foxtrove-voice": {
      "source": "custom",
      "url": "https://mcp.voice.foxtrove.ai/mcp"
    }
  }
}

Custom client (Streamable HTTP)

Any client that speaks MCP Streamable HTTP with OAuth 2.1 works. Server endpoint:

https://mcp.voice.foxtrove.ai/mcp

Authorization server discovery:

https://voice.foxtrove.ai/.well-known/oauth-authorization-server

PKCE is required. Dynamic Client Registration (RFC 7591) is supported at POST https://voice.foxtrove.ai/oauth/register.


Scopes

Scope Grants access to
read:calls list_calls, get_call, search_calls
read:customers get_customer_context, search_customers
read:assistants list_assistants, get_assistant_stats
read:followups list_followups
read:appointments list_appointments
read:analytics get_call_metrics, get_outcome_breakdown, get_topic_trends, compare_periods
read:all Convenience scope covering all of the above (default for v1 installs)

Write scopes are reserved but not issued in v1 — this server is read-only by design.


OAuth flow

LLM client ──(1) discover───▶  voice.foxtrove.ai/.well-known/oauth-authorization-server
           ──(2) register──▶  voice.foxtrove.ai/oauth/register    (dynamic client registration)
           ──(3) authorize─▶  voice.foxtrove.ai/oauth/authorize   (user consents in browser)
           ──(4) token─────▶  voice.foxtrove.ai/oauth/token       (PKCE code → access + refresh)
           ──(5) call tool─▶  mcp.voice.foxtrove.ai/mcp           (Bearer JWT; 1h lifetime)
                                      │
                                      ├─ verify JWT vs voice.foxtrove.ai/.well-known/jwks.json
                                      │
                                      └─ proxy to voice.foxtrove.ai/api/internal/mcp/<tool>

Access tokens are RS256-signed JWTs with a 1-hour lifetime. Refresh tokens rotate on every use and can be revoked per-client from the FoxTrove settings UI (Connected apps).


Development

git clone https://github.com/foxtrove-ai/foxtrove-voice-mcp
cd foxtrove-voice-mcp
npm install
cp .env.example .env.local
npm run dev

The server runs on http://localhost:3000; the MCP endpoint is http://localhost:3000/mcp. Point any MCP client at that URL while developing.

Default env values (see .env.example) point at production voice.foxtrove.ai. Override MCP_INTERNAL_API_BASE, MCP_ISSUER, and MCP_JWKS_URI to test against a staging instance.


Project layout

app/
  mcp/route.ts         MCP Streamable HTTP endpoint
  page.tsx             Install landing page at mcp.voice.foxtrove.ai/
lib/
  mcp-server.ts        Creates the McpServer and registers all tools
  auth.ts              JWKS-based bearer JWT verification
  proxy.ts             HTTP proxy to the main app's internal MCP API
  config.ts            Env-driven config
  tools/               Per-domain tool definitions (calls, customers, ...)

Contributing

This repo is the public user-facing MCP layer. All business logic, database access, and tenant logic live in the private voice-ai-wrapper repo. PRs welcome for:

  • Client install snippets for new MCP-capable apps
  • Tool description wording improvements (these are the product)
  • Packaging / deployment / transport improvements

Please keep this repo free of anything tenant-specific or credentialed.


License

MIT © 2026 FoxTrove. See LICENSE.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选