spekoai-mcp

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.

Category
Visit Server

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_ISSUER
  • SPEKOAI_OAUTH_CLIENT_ID
  • SPEKOAI_OAUTH_CLIENT_SECRET
  • SPEKOAI_MCP_BASE_URL (defaults to https://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

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

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.

Official
Featured