Mixpeek MCP Server

Mixpeek MCP Server

Automatically loads Mixpeek's OpenAPI spec and exposes its endpoints as MCP tools, enabling natural language interaction with Mixpeek's API via standard MCP clients.

Category
访问服务器

README

<p align="center"> <img src="assets/header.png" alt="Mixpeek MCP Server" width="800" /> </p>

<!-- mcp-name: io.github.mixpeek/mcp-server -->

Mixpeek MCP Server

A lightweight, production-friendly Model Context Protocol (MCP) server for Mixpeek that:

  • Auto-loads Mixpeek's OpenAPI spec and exposes endpoints as MCP tools
  • Supports local and hosted use (bring-your-own API key)
  • Injects Authorization and X-Namespace headers
  • Includes rate limits, timeouts, and redacted logs
  • Ships with Docker and simple configuration

Quickstart

  1. Install

Python (PyPI):

# global (recommended)
pipx install mixpeek-mcp

# or in a venv
python -m venv .venv && source .venv/bin/activate
pip install mixpeek-mcp

npm (Node):

# run once
npx @mixpeek/mcp

# or install globally
npm i -g @mixpeek/mcp

Homebrew (macOS):

# tap and install (once the tap is live)
brew tap mixpeek/tap https://github.com/mixpeek/homebrew-tap
brew install mixpeek-mcp

# temporary local formula (dev/testing):
brew install --build-from-source Formula/mixpeek-mcp.rb
  1. Configure (env or your MCP client secret store)
cp env.sample .env
# edit as needed

Env vars:

  • MIXPEEK_API_KEY: Your Mixpeek API key (optional if endpoints don't require auth)
  • MIXPEEK_API_BASE: Default https://api.mixpeek.com
  • MIXPEEK_OPENAPI_URL: Defaults to <API_BASE>/openapi.json (or /docs/openapi.json)
  • MIXPEEK_NAMESPACE: Optional namespace value to send via X-Namespace
  • MCP_RATE_MAX_CALLS: Default 20 per MCP_RATE_PER_SECONDS
  • MCP_RATE_PER_SECONDS: Default 10
  • MCP_CONNECT_TIMEOUT: Default 5
  • MCP_READ_TIMEOUT: Default 30
  1. Run locally (stdio)
# PyPI
mixpeek-mcp

# from source
python server.py

# npm
mixpeek-mcp

Your MCP client (e.g., Claude Desktop) can attach to this server via stdio.

Docker

docker build -t mixpeek-mcp:latest .
docker run --rm -it \
  -e MIXPEEK_API_KEY=sk_... \
  -e MIXPEEK_NAMESPACE=your_namespace \
  mixpeek-mcp:latest

Or pull and run (once published):

docker run --rm -it \
  -e MIXPEEK_API_KEY=sk_... \
  -e MIXPEEK_NAMESPACE=your_namespace \
  ghcr.io/mixpeek/mcp:latest

Distribution

  • npm: @mixpeek/mcphttps://www.npmjs.com/package/@mixpeek/mcp
  • PyPI: mixpeek-mcphttps://pypi.org/project/mixpeek-mcp/ (publish pending)
  • Docker Hub: mixpeek/mcp (pending push), GHCR: ghcr.io/mixpeek/mcp (pending push)
  • Homebrew: mixpeek/tap/mixpeek-mcp (tap repo to be created)

Submit to Docker MCP Registry

We prepared registry.json compatible with the Official Docker MCP Registry. To submit:

  1. Fork the registry and create a new entry under the appropriate directory per their CONTRIBUTING guide.
  2. Include our registry.json (update Docker image reference if you publish under a different org/tag).
  3. Open a PR. Upon approval, it will appear in the MCP catalog and Docker Desktop's MCP Toolkit.

Configuration

Required for write-protected endpoints:

  • MIXPEEK_API_KEY: Authorization: Bearer <key>

Optional:

  • MIXPEEK_NAMESPACE: sets X-Namespace for isolation
  • MIXPEEK_API_BASE: defaults to https://api.mixpeek.com; testing: https://server-xb24.onrender.com
  • MIXPEEK_OPENAPI_URL: defaults to <API_BASE>/openapi.json (or /docs/openapi.json)
  • MCP_RATE_MAX_CALLS / MCP_RATE_PER_SECONDS: simple token bucket
  • MCP_CONNECT_TIMEOUT / MCP_READ_TIMEOUT: request timeouts

How it works

  • Loads OpenAPI spec and maps GET/POST JSON endpoints to tools using operationId
  • Tool arguments accept top-level query parameters or a query/body envelope
  • Forwards requests to Mixpeek with configured headers
  • Provides small allowlist (configurable) and redacts secrets in logs

Testing

Unit tests:

pip install -r requirements.txt
pytest -q

Live test (optional):

export LIVE_MIXPEEK_API_KEY=sk_...
export LIVE_MIXPEEK_OPENAPI_URL=https://server-xb24.onrender.com/docs/openapi.json
export LIVE_MIXPEEK_API_BASE=https://server-xb24.onrender.com
pytest -q tests/test_live_integration.py

Using with MCP clients

  • This server uses MCP stdio transport and the official server interface, compatible with common MCP clients.
  • Start the server, then point your MCP client to the stdio command (mixpeek-mcp).

References

  • Mixpeek docs: https://docs.mixpeek.com/overview/introduction
  • Mixpeek OpenAPI: https://api.mixpeek.com/docs/openapi.json
  • MCP overview: https://modelcontextprotocol.io/docs/getting-started/intro

Notes

  • For production hosting, front with HTTPS, add SSO/session issuance, per-tenant rate limits, and audit logs without bodies/headers. Keep local stdio as the default; hosted HTTP/SSE can be added later.

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选