What does this project demonstrate?
It demonstrates how an LLM can automatically decide which Python function to call based on a user’s intent, using MCP to describe available tools and Ollama to run the model locally.
@rajeevchandra
基本情報
概要はまだありません
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-client-server-example": {
"command": "python",
"args": [
"math_server.py"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
It is a demonstration project that shows how a local AI agent can understand user queries and automatically call Python functions using the Model Context Protocol (MCP), a local LLM via Ollama, and a Python MCP client and server.
Install dependencies with pip install "mcp[cli] @ git+https://github.com/awslabs/mcp.git" openai==0.28 httpx, ensure Ollama is installed and running, pull a tool-calling‑capable model (e.g., ollama run llama3), run the MCP server (python math_server.py), then start the client with python ollama_client.py math_server.py. Finally, type queries like “What is 5 + 8?” and the system will respond with the computed result.
add, multiply) become callable toolsIt demonstrates how an LLM can automatically decide which Python function to call based on a user’s intent, using MCP to describe available tools and Ollama to run the model locally.
You need Python, the `mcp[cli]`, `openai==0.28`, and `httpx` packages, plus Ollama installed and running with a model that supports tool calling (e.g., Llama3).
No – everything runs locally. The LLM is served by Ollama on your machine, and the MCP components communicate over local transports.
The example server (`math_server.py`) exposes two tools: `add(a: int, b: int) -> int` and `multiply(a: int, b: int) -> int`.
Yes, as long as the model supports tool‑calling. The README suggests Llama3 via the `ollama run llama3` command; you can replace it with any compatible Ollama model.

scvd.store is an evidence observatory for agentic commerce. Independent signed observation of what other people's endpoints, artifacts and payments actually did among other things. USDC on Base, Arbitrum One, World Chain

1,000+ fully localized prompt templates across 40+ categories. Compare Mode — send the same prompt to up to 9 AI providers (ChatGPT, Claude, Gemini, Grok, Groq, Copilot, Mistral, Perplexity, DuckDuckGo AI) and compare an
Detect and redact PII, PHI, PCI and secrets — SSNs, credit cards, passports, API keys and cloud credentials — in text and in local files, using the Strac DLP API. Five tools: redact_text, detect_sensitive_data, detect_fi

The Unstructured Transform MCP Server connects your ADK agent to Unstructured, a document processing platform that turns raw files into structured, AI-ready data. This integration gives your agent the ability to parse PD

Discover flat-rate DeepSeek plans, model limits, API-key instructions, and coding-client setup
コメント