MCP.so
ログイン

Anthropic MCP Server with Ollama Integration

@jorgesandoval

基本情報

カテゴリ

AI とエージェント

ライセンス

MIT license

トランスポート

stdio

作者

jorgesandoval

Anthropic MCP Server with Ollama Integration について

Model Context Protocol (MCP) server integrated with an external inference service (e.g., Ollama/Gemma3) via middleware.

#mcp#ollama#ai-inference

Anthropic MCP Server with Ollama Integration の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "simple-mcp-server-jorgesandoval": {
      "command": "python",
      "args": [
        "test_system.py"
      ]
    }
  }
}

Anthropic MCP Server with Ollama Integration のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Anthropic Model Context Protocol (MCP) Server with Ollama Integration?

A hybrid architecture that combines an Anthropic-compatible Model Context Protocol (MCP) server with Ollama (Gemma3:4b) for local inference. It provides a middleware layer to store conversation context in a SQLite database and exposes standard MCP endpoints for tools, resources, and prompts. Designed for developers who want to run open-source models with any MCP client (e.g., Claude Desktop, VS Code extensions).

How to use Anthropic Model Context Protocol (MCP) Server with Ollama Integration?

Install via the provided setup.sh script or manually with Docker and Ollama. After starting the containers, interact via curl POST requests to the middleware at http://localhost:8080/infer with a JSON body containing session_id and content. Alternatively, connect any MCP client directly to the MCP server on port 3000.

Key features of Anthropic Model Context Protocol (MCP) Server with Ollama Integration

  • Fully implements the official MCP protocol (JSON‑RPC 2.0, initialization, version negotiation)
  • Supports tools, resources, and prompt templates as per the MCP specification
  • Uses SQLite for persistent conversation context storage
  • Middleware bridges MCP server and Ollama/Gemma3:4b for inference
  • Containerized with Docker for easy deployment
  • Health check endpoint (GET /health) for monitoring

Use cases of Anthropic Model Context Protocol (MCP) Server with Ollama Integration

  • Building context-aware conversational agents using open-source models locally
  • Integrating a local LLM backend into MCP-compatible tools (Claude Desktop, Cursor, etc.)
  • Experimenting with the MCP protocol without relying on Anthropic’s cloud services
  • Developing and testing MCP-based applications with full control over data storage

よくある質問

1

What are the runtime requirements?

Python 3.10+, Docker and Docker Compose, and Ollama with the `gemma3:4b` model installed.

2

How is conversation context stored?

Context is stored in a SQLite database managed by the MCP server component.

3

What transport and protocol does the server use?

The MCP server communicates over HTTP using the JSON‑RPC 2.0 protocol on port 3000; the middleware listens on port 8080.

4

Can I use this with any MCP client?

Yes, the implementation is fully compatible with any client that adheres to the official MCP specification, including Claude Desktop, VS Code GitHub Copilot, and Cursor.

5

What authentication or authorization is supported?

The README does not describe any authentication or authorization mechanisms.

コメント

「AI とエージェント」の他のコンテンツ