unichat-ts-mcp-server
TypeScript での Unichat MCP サーバー
Pythonでも利用可能
ツールまたは事前定義されたプロンプトを介して、MCPプロトコルを使用してOpenAI、MistralAI、Anthropic、xAI、Google AI、またはDeepSeekにリクエストを送信します。ベンダーAPIキーが必要です。
STDIO と SSE の両方のトランスポート メカニズムが引数を介してサポートされます。
ツール
サーバーは 1 つのツールを実装します。
unichat: unichatにリクエストを送信する必須の文字列引数として「messages」を受け取ります
応答を返す
プロンプト
code_reviewベストプラクティス、潜在的な問題、改善点についてコードをレビューする
引数:
code(文字列、必須): レビューするコード
document_codedocstring やコメントを含むコードのドキュメントを生成する
引数:
code(文字列、必須): コメントするコード
explain_codeコードがどのように動作するかを詳しく説明する
引数:
code(文字列、必須): 説明するコード
code_rework提供されたコードに要求された変更を適用する
引数:
changes(文字列、オプション): 適用する変更code(文字列、必須): 再作業するコード
Related MCP server: minimax-llm-mcp
発達
依存関係をインストールします:
npm installサーバーを構築します。
npm run build自動リビルドを使用した開発の場合:
npm run watch評価の実行
evalsパッケージはmcpクライアントをロードし、index.tsファイルを実行するため、テスト間でリビルドする必要はありません。npxコマンドの先頭に環境変数をロードすることもできます。完全なドキュメントはこちらでご覧いただけます。
OPENAI_API_KEY=your-key npx mcp-eval src/evals/evals.ts src/server.tsインストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の Unichat MCP Server を自動的にインストールするには:
npx -y @smithery/cli install unichat-ts-mcp-server --client claude手動でインストールする
Claude Desktop で使用するには、サーバー設定を追加します。
MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json Windows の場合: %APPDATA%/Claude/claude_desktop_config.json
ローカルで実行:
{
"mcpServers": {
"unichat-ts-mcp-server": {
"command": "node",
"args": [
"{{/path/to}}/unichat-ts-mcp-server/build/index.js"
],
"env": {
"UNICHAT_MODEL": "YOUR_PREFERRED_MODEL_NAME",
"UNICHAT_API_KEY": "YOUR_VENDOR_API_KEY"
}
}
}公開された実行:
{
"mcpServers": {
"unichat-ts-mcp-server": {
"command": "npx",
"args": [
"-y",
"unichat-ts-mcp-server"
],
"env": {
"UNICHAT_MODEL": "YOUR_PREFERRED_MODEL_NAME",
"UNICHAT_API_KEY": "YOUR_VENDOR_API_KEY"
}
}
}デフォルトではSTDIOで実行されますが、引数
--stdio指定するとSSEで実行されます。SSEで実行するには引数--sseを追加します。
npx -y unichat-ts-mcp-server --sse対応モデル:
"YOUR_PREFERRED_MODEL_NAME"として使用できる現在サポートされているモデルのリストは、こちらでご覧いただけます。関連するベンダーAPIキーを"YOUR_VENDOR_API_KEY"として追加してください。
例:
"env": {
"UNICHAT_MODEL": "gpt-4o-mini",
"UNICHAT_API_KEY": "YOUR_OPENAI_API_KEY"
}デバッグ
MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。
npm run inspectorインスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。
SSE モードでテスト中にタイムアウトが発生した場合は、インスペクター インターフェースのリクエスト URL を次のように変更します: http://localhost:3001/sse?timeout=600000
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Related MCP Connectors
Chat, image, video, and audio models from many vendors behind one remote MCP server and one key.
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Illumora Craft — evidence-augmented prompt compile for agents via remote MCP (OAuth) or local stdio.
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
Related MCP Servers
- AlicenseCqualityFmaintenanceSend requests to OpenAI, MistralAI, Anthropic, xAI, or Google AI using MCP protocol via tool or predefined prompts. Vendor API key required140MIT
- AlicenseAqualityDmaintenanceExposes the MiniMax M3 LLM API to MCP-compatible clients, enabling chat completions, text completions, tool calls, and token counting via stdio or SSE transport.4MIT
- FlicenseNot gradedqualityDmaintenanceEnables interaction with Claude and Gemini command-line tools through the MCP protocol, allowing users to send prompts to either or both LLMs and receive responses.-
- AlicenseNot gradedqualityCmaintenanceOpen WebUI MCP server that exposes ask and list_models tools, letting any MCP client query Open WebUI models through the full tool-calling loop (including server-side tools) via stdio, SSE, or streamable HTTP transports.7MIT
Appeared in Searches
- Using a second LLM to collaborate with a primary LLM for problem-solving and quality improvement
- A list of all remote servers
- A system for task management and integration with AI editors using multiple LLMs
- Tools and Templates for Prompt Management and Workflow Automation
- Information or resources related to 'Prompt'