Integrations
Python での Unichat MCP サーバー
TypeScriptでも利用可能
ツールまたは事前定義されたプロンプトを介して、MCPプロトコルを使用してOpenAI、MistralAI、Anthropic、xAI、Google AI、DeepSeek、Alibaba、Inceptionにリクエストを送信します。ベンダーAPIキーが必要です。
ツール
サーバーは 1 つのツールを実装します。
unichat
: unichatにリクエストを送信する- 必須の文字列引数として「messages」を受け取ります
- 応答を返す
プロンプト
code_review
- ベストプラクティス、潜在的な問題、改善点についてコードをレビューする
- 引数:
code
(文字列、必須): レビューするコード
document_code
- docstring やコメントを含むコードのドキュメントを生成する
- 引数:
code
(文字列、必須): コメントするコード
explain_code
- コードがどのように動作するかを詳しく説明する
- 引数:
code
(文字列、必須): 説明するコード
code_rework
- 提供されたコードに要求された変更を適用する
- 引数:
changes
(文字列、オプション): 適用する変更code
(文字列、必須): 再作業するコード
クイックスタート
インストール
クロードデスクトップ
MacOS の場合: ~/Library/Application\ Support/Claude/claude_desktop_config.json
Windows の場合: %APPDATA%/Claude/claude_desktop_config.json
対応モデル:
現在サポートされているモデルのリストは、
"SELECTED_UNICHAT_MODEL"
としてこちらでご確認いただけます。関連するベンダーAPIキーを"YOUR_UNICHAT_API_KEY"
として追加してください。
例:
開発/非公開サーバーの構成
公開サーバーの構成
Smithery経由でインストール
Smithery経由で Claude Desktop 用の Unichat を自動的にインストールするには:
発達
建築と出版
配布用のパッケージを準備するには:
- 古いビルドを削除します。
- 依存関係を同期し、ロックファイルを更新します。
- パッケージディストリビューションをビルドします。
これにより、 dist/
ディレクトリにソースとホイールのディストリビューションが作成されます。
- PyPI に公開:
デバッグ
MCPサーバーはstdio経由で実行されるため、デバッグが困難になる場合があります。最適なデバッグ環境を実現するには、 MCP Inspectorの使用を強くお勧めします。
次のコマンドを使用して、 npm
経由で MCP Inspector を起動できます。
起動すると、ブラウザでアクセスしてデバッグを開始できる URL がインスペクタに表示されます。
You must be authenticated.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
ツールまたは事前定義されたプロンプトを介して、MCPプロトコルを使用してOpenAI、MistralAI、Anthropic、xAI、またはGoogle AIにリクエストを送信します。ベンダーAPIキーが必要です。
Related MCP Servers
- -securityAlicense-qualityA simple MCP server for interacting with OpenAI assistants. This server allows other tools (like Claude Desktop) to create and interact with OpenAI assistants through the Model Context Protocol.Last updated -18PythonMIT License
- -securityAlicense-qualitySend requests to OpenAI, MistralAI, Anthropic, xAI, or Google AI using MCP protocol via tool or predefined prompts. Vendor API key required. Both STDIO and SSE transport mechanisms are supported via arguments.Last updated -169TypeScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server implementation that enables connection between OpenAI APIs and MCP clients for coding assistance with features like CLI interaction, web API integration, and tool-based architecture.Last updated -9Python
- -securityAlicense-qualityA proxy server that bridges AI agents and external APIs by dynamically translating OpenAPI specifications into standardized MCP tools, enabling seamless interaction without custom integration code.Last updated -23PythonMIT License
Appeared in Searches
- A platform for hosting and joining online video meetings
- Analysis of Key Points in China's 2025 No. 1 Central Document and Its Relation to New Energy and Rural Revitalization
- Services for Ordering Groceries via Amazon Prime or Instacart
- Creating a server to order medicine from Apollo Clinic using prescription uploads
- An MCP that can programmatically interact with any online API