MCP Chat
MCP Chat
MCP Chat は、Anthropic API を通じて AI モデルとの対話型チャット機能を実現するコマンドラインインターフェースアプリケーションです。このアプリケーションは、ドキュメント取得、コマンドベースのプロンプト、および MCP (Model Control Protocol) アーキテクチャによる拡張可能なツール統合をサポートしています。
前提条件
Python 3.9+
Anthropic API Key
Related MCP server: TelemetryFlow Python MCP Server
セットアップ
ステップ 1: 環境変数の設定
プロジェクトルートにある
.envファイルを作成または編集し、以下の変数が正しく設定されていることを確認します:
ANTHROPIC_API_KEY="" # Enter your Anthropic API secret keyステップ 2: 依存関係のインストール
オプション 1: uv を使用したセットアップ (推奨)
uv は高速な Python パッケージインストーラー兼リゾルバーです。
uv がまだインストールされていない場合は、インストールします:
pip install uv仮想環境を作成して有効化します:
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate依存関係をインストールします:
uv pip install -e .プロジェクトを実行します
uv run main.pyオプション 2: uv を使用しないセットアップ
仮想環境を作成して有効化します:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate依存関係をインストールします:
pip install anthropic python-dotenv prompt-toolkit "mcp[cli]==1.8.0"プロジェクトを実行します
python main.py使用方法
基本的な対話
メッセージを入力して Enter キーを押すだけで、モデルとチャットできます。
ドキュメント取得
@ 記号の後にドキュメント ID を続けて使用すると、クエリにドキュメントの内容を含めることができます:
> Tell me about @deposition.mdコマンド
/ プレフィックスを使用して、MCP サーバーで定義されたコマンドを実行します:
> /summarize deposition.mdTab キーを押すとコマンドが自動補完されます。
開発
新しいドキュメントの追加
mcp_server.py ファイルを編集して、docs ディクショナリに新しいドキュメントを追加します。
MCP 機能の実装
MCP 機能を完全に実装するには:
mcp_server.pyの TODO を完了しますmcp_client.pyの不足している機能を実装します
リンターと型チェック
リンターや型チェックは実装されていません。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables interactive chat with AI models and document retrieval via the Anthropic API, supporting command-based prompts and MCP tool integrations.2
- AlicenseNot gradedqualityAmaintenanceEnterprise-grade MCP server integrating Claude AI capabilities, enabling AI-powered conversations, file operations, and system tools via the Model Context Protocol.1Apache 2.0
- FlicenseCqualityCmaintenanceEnables interactive chat with AI models via Anthropic API, supporting document retrieval and command-based prompts through the MCP architecture.3
- FlicenseNot gradedqualityCmaintenanceThis MCP server powers a chat CLI for Claude or Gemini, letting users reference local documents by ID and execute MCP prompts through natural language.
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
MCP server for AI dialogue using various LLM models via AceDataCloud
An MCP server that integrates with Discord to provide AI-powered features.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TejaswiniChalla-07/MCP-CHAT'
If you have feedback or need assistance with the MCP directory API, please join our Discord server