What runtime dependencies does MCPClient Python Application require?
Python 3.7 or higher, and packages: asyncio (included), requests, mcp, and dotenv.
@spirita1204
基本情報
implementation for interacting between an MCP server and an Ollama model
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-client-spirita1204": {
"command": "python",
"args": [
"client.py",
"<server_script_path>"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
It is a Python client application designed to interact with an MCP (Model Context Protocol) server. It provides asynchronous communication, dynamic tool management, and a command-line chat interface for developers building MCP-based tools.
Clone or download the script, install dependencies (pip install -r requirements.txt), create a .env file with environment variables (e.g., BASE_URL and MODEL), then run python client.py <server_script_path> where the server script can be a .py or .js file.
.env filePython 3.7 or higher, and packages: asyncio (included), requests, mcp, and dotenv.
It connects via standard input/output channels using a provided server script (Python or JavaScript).
It loads environment variables from a `.env` file in the root directory, with examples like `BASE_URL` and `MODEL`.
Yes, the client supports both Python (`.py`) and JavaScript (`.js`) server scripts.
The client communicates with the server through standard input/output (stdio) channels.
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Hindsight: Agent Memory That Learns
Open-source MCP to use Blender with any LLM
Painless E2E Automation for Mobile and Web
🚀 The fast, Pythonic way to build MCP servers and clients.
コメント