spekoai-mcp
A Model Context Protocol server that provides voice-AI session management and usage tracking tools for SpekoAI. It enables creating, retrieving, and ending voice sessions while monitoring usage through MCP clients like Claude Desktop.
README
spekoai-mcp
Model Context Protocol server for SpekoAI — a thin wrapper
over the spekoai Python SDK that exposes
voice-AI session and usage tools to MCP clients (Claude Desktop, Cursor, etc.).
A hosted version is available at https://mcp.speko.ai. You can also run it
locally over stdio for development.
Tools
| Tool | Description |
|---|---|
create_session |
Create a new voice session. |
get_session |
Fetch a session by id. |
end_session |
End an active session. |
get_usage_summary |
Get usage summary for the current billing period. |
Local development (stdio)
uv run --with spekoai-mcp -- spekoai-mcp --stdio
Set SPEKOAI_API_KEY (and optionally SPEKOAI_BASE_URL) in the environment.
Wire into Claude Desktop's MCP config:
{
"mcpServers": {
"spekoai": {
"command": "uv",
"args": ["run", "--with", "spekoai-mcp", "--", "spekoai-mcp", "--stdio"],
"env": { "SPEKOAI_API_KEY": "sk_test_..." }
}
}
}
HTTP (production)
HTTP mode requires OAuth. Set:
SPEKOAI_OAUTH_ISSUERSPEKOAI_OAUTH_CLIENT_IDSPEKOAI_OAUTH_CLIENT_SECRETSPEKOAI_MCP_BASE_URL(defaults tohttps://mcp.speko.ai)
Then:
uv run spekoai-mcp # HTTP on 0.0.0.0:8080
uv run spekoai-mcp --host 127.0.0.1 --port 9000
The server fails to start in HTTP mode if OAuth env vars are missing — this prevents accidentally serving an unauthenticated public endpoint.
Deriving the OAuth env vars
The SpekoAI platform is its own OIDC issuer (Better Auth's oidcProvider
plugin, see apps/server/src/lib/auth.ts). The endpoints live under
/api/auth/oauth2/* on the dashboard origin, which rewrites through to the
server.
For a deployment where the dashboard is https://platform.speko.ai:
SPEKOAI_OAUTH_ISSUER=https://platform.speko.ai/api/auth/oauth2
SPEKOAI_MCP_BASE_URL=https://mcp.speko.ai
Note: two different "issuer" values. FastMCP's OAuthProxy appends
/authorize and /token to SPEKOAI_OAUTH_ISSUER, so this env var must
end at the /oauth2 segment — no trailing slash. That is not the OIDC
spec iss claim. The OIDC spec issuer (and the iss value inside tokens
emitted by the platform) is https://platform.speko.ai/api/auth — one
segment shorter, matching where Better Auth mounts the discovery document.
Same host, different paths.
To mint SPEKOAI_OAUTH_CLIENT_ID / SPEKOAI_OAUTH_CLIENT_SECRET, register
the MCP server as an OAuth client against the platform. From a checkout of
github.com/SpekoAI/platform, with apps/server/.env pointing at the
target database:
bun --env-file=apps/server/.env \
apps/server/scripts/register-oauth-client.ts \
--name "SpekoAI MCP (staging)" \
--redirect-uri https://mcp-staging.speko.dev/oauth/callback
The script prints:
{ "client_id": "...", "client_secret": "..." }
The secret is returned once — store it somewhere durable (Cloud Run secret, 1Password, etc.). You can also hit the public endpoint directly:
curl -X POST https://platform.speko.ai/api/auth/oauth2/register \
-H "Content-Type: application/json" \
-d '{
"client_name": "SpekoAI MCP (staging)",
"redirect_uris": ["https://mcp-staging.speko.dev/oauth/callback"],
"token_endpoint_auth_method": "client_secret_basic",
"grant_types": ["authorization_code", "refresh_token"],
"response_types": ["code"],
"scope": "openid profile email"
}'
allowDynamicClientRegistration: true in the plugin config is what makes
this endpoint publicly callable — convenient for FastMCP's first-run
self-registration, but worth gating behind an allowlist hook once we have
more than one client in production. Client secrets are stored hashed
(storeClientSecret: 'hashed'), so a DB breach doesn't leak plaintext.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.