mcp-bridge
mcp-bridge
Dies ist eine Konfiguration, um einen MCP-Server in Docker zu starten, der intern die OpenAI-kompatible API von llama.cpp aufruft.
Starten
docker compose up -d --buildRelated MCP server: SwiftOpenAI MCP Server
Stoppen
docker compose downVerbindungsziel
MCP-Endpunkt:
http://localhost:8000/mcpTransport:
streamable-http
Verbindungsprüfung
Selbst wenn 406 zurückgegeben wird, ist dies als Erreichbarkeitsprüfung normal. Der MCP-Endpunkt setzt den Accept-Header voraus.
curl -i http://localhost:8000/mcpClaude Code Konfiguration
MCP für Claude Code wird in ~/.claude.json verwaltet.
Wenn Sie die Konfiguration manuell für einen lokalen Bereich (nur für ein bestimmtes Projekt) vornehmen möchten,
übernehmen Sie das Format aus client-config.example.json in Ihre ~/.claude.json.
Empfohlen: Hinzufügen über CLI
claude mcp add --transport http local-agent-helper http://localhost:8000/mcpKonfiguration prüfen
claude mcp list
claude mcp get local-agent-helperErgänzung
Mit
--scope userist es für alle Projekte verfügbar.Mit
--scope projectwird es in der.mcp.jsondirekt im Projektverzeichnis gespeichert.
Umgebungsvariablen
Sie können .env.example nach .env kopieren und verwenden.
MCP_TRANSPORT(Standard:streamable-http)FASTMCP_HOST(Standard:0.0.0.0)FASTMCP_PORT(Standard:8000)LLAMA_CPP_SERVER_URLLLAMA_CPP_SERVER_MODELLLAMA_CPP_SERVER_TIMEOUT
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
- QuallaaOAuthcom.quallaa
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
MCP server for AI dialogue using various LLM models via AceDataCloud
Related MCP Servers
- AlicenseBqualityFmaintenanceA lightweight bridge that wraps OpenAI's built-in tools (like web search and code interpreter) as Model Context Protocol servers, enabling their use with Claude and other MCP-compatible models.412MIT
- AlicenseNot gradedqualityCmaintenanceA universal server that enables MCP-compatible clients (like Claude Desktop, Cursor, VS Code) to access OpenAI's APIs for chat completions, image generation, embeddings, and model listing through a standardized interface.17 npm7MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that bridges MCP clients with local LLM services, enabling seamless integration with MCP-compatible applications through standard tools like chat completion, model listing, and health checks.-
- FlicenseNot gradedqualityDmaintenanceBridges MCP tool calls with OpenAI-compatible HTTP endpoints, allowing MCP clients to forward chat completion requests through a unified FastAPI server that returns responses with MCP-specific headers.1-