Mixpeek
Give your agent eyes. Search video, images, and audio via the Mixpeek multimodal retrieval API.
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
@mixpeek/mcpclaude mcp add mixpeek -e 'MIXPEEK_API_KEY=<your mixpeek_api_key>' -e 'MIXPEEK_NAMESPACE=<MIXPEEK_NAMESPACE>' -e 'MIXPEEK_API_BASE=https://api.mixpeek.com' -- npx -y @mixpeek/mcp@0.1.1
{
"mcpServers": {
"mixpeek": {
"command": "npx",
"args": [
"-y",
"@mixpeek/mcp@0.1.1"
],
"env": {
"MIXPEEK_API_KEY": "<your mixpeek_api_key>",
"MIXPEEK_NAMESPACE": "<MIXPEEK_NAMESPACE>",
"MIXPEEK_API_BASE": "https://api.mixpeek.com"
}
}
}
}
متغيرات البيئة
MIXPEEK_API_KEYإلزامي سري Your Mixpeek API key (https://mixpeek.com)MIXPEEK_NAMESPACEDefault namespace; sent as the X-Namespace headerMIXPEEK_API_BASEOverride the API base URL (default: https://api.mixpeek.com)
mixpeek-mcpclaude mcp add mixpeek -e 'MIXPEEK_API_KEY=<your mixpeek_api_key>' -e 'MIXPEEK_NAMESPACE=<MIXPEEK_NAMESPACE>' -e 'MIXPEEK_API_BASE=https://api.mixpeek.com' -- uvx mixpeek-mcp==0.1.1
{
"mcpServers": {
"mixpeek": {
"command": "uvx",
"args": [
"mixpeek-mcp==0.1.1"
],
"env": {
"MIXPEEK_API_KEY": "<your mixpeek_api_key>",
"MIXPEEK_NAMESPACE": "<MIXPEEK_NAMESPACE>",
"MIXPEEK_API_BASE": "https://api.mixpeek.com"
}
}
}
}
متغيرات البيئة
MIXPEEK_API_KEYإلزامي سري Your Mixpeek API key (https://mixpeek.com)MIXPEEK_NAMESPACEDefault namespace; sent as the X-Namespace headerMIXPEEK_API_BASEOverride the API base URL (default: https://api.mixpeek.com)
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
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
AuthorizationandX-Namespaceheaders - Includes rate limits, timeouts, and redacted logs
- Ships with Docker and simple configuration
Quickstart
- 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
- 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: Defaulthttps://api.mixpeek.comMIXPEEK_OPENAPI_URL: Defaults to<API_BASE>/openapi.json(or/docs/openapi.json)MIXPEEK_NAMESPACE: Optional namespace value to send viaX-NamespaceMCP_RATE_MAX_CALLS: Default20perMCP_RATE_PER_SECONDSMCP_RATE_PER_SECONDS: Default10MCP_CONNECT_TIMEOUT: Default5MCP_READ_TIMEOUT: Default30
- 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/mcp→https://www.npmjs.com/package/@mixpeek/mcp - PyPI:
mixpeek-mcp→https://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:
- Fork the registry and create a new entry under the appropriate directory per their CONTRIBUTING guide.
- Include our
registry.json(update Docker image reference if you publish under a different org/tag). - 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: setsX-Namespacefor isolationMIXPEEK_API_BASE: defaults tohttps://api.mixpeek.com; testing:https://server-xb24.onrender.comMIXPEEK_OPENAPI_URL: defaults to<API_BASE>/openapi.json(or/docs/openapi.json)MCP_RATE_MAX_CALLS/MCP_RATE_PER_SECONDS: simple token bucketMCP_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/bodyenvelope - 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.
الأسئلة الشائعة
ما هو Mixpeek؟
Give your agent eyes. Search video, images, and audio via the Mixpeek multimodal retrieval API.
كيف أثبّت Mixpeek؟
يعمل على جهازك. في Claude Code: claude mcp add mixpeek -e 'MIXPEEK_API_KEY=<your mixpeek_api_key>' -e 'MIXPEEK_NAMESPACE=<MIXPEEK_NAMESPACE>' -e 'MIXPEEK_API_BASE=https://api.mixpeek.com' -- npx -y @mixpeek/mcp@0.1.1. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج Mixpeek إلى مفتاح API؟
نعم. يتطلب MIXPEEK_API_KEY، وتضبطها في إعداداته.
هل Mixpeek مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون Mixpeek؟
ينشره mixpeek. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.