MCP-Server-and-client-Implementation-on-Linux
このプロジェクトは、Linux上でのMCPサーバーとクライアントの実装を提供します。Pythonを使用し、仮想環境を作成して依存関係をインストールする手順が含まれています。サーバーとクライアントのディレクトリを分けて管理し、簡単に実行できるように設計されています。
GitHubスター
4
ユーザー評価
未評価
お気に入り
0
閲覧数
18
フォーク
4
イシュー
3
README
MCP-Server-and-client-Implementation-on-Linux
MCP Server and client Implementation on Linux (Rather than using Claude Desktop)
MCP Server ::
Create a new directory for our server
uv init mcp_server_explore
cd mcp_server_explore
Create virtual environment and activate it
uv venv
source .venv/bin/activate
Install dependencies
uv add "mcp[cli]"
Create our server file
touch mcp_server_explore.py
MCP Client ::
Create a new directory for our client
uv init mcp_client_explore
cd mcp_client_explore
Create virtual environment and activate it
uv venv
source .venv/bin/activate
Install dependencies
uv add mcp python-dotenv anthropic
Create our server file
touch mcp_client_explore.py
RUN ::
uv run mcp_client_explore.py /workspaces/vsc_dev_mcp_explore/mcp_server_explore/mcp_server_explore.py