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: MCP Inspector as MCP Server
発達
依存関係をインストールします:
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
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
- AlicenseCqualityBmaintenanceSend requests to OpenAI, MistralAI, Anthropic, xAI, or Google AI using MCP protocol via tool or predefined prompts. Vendor API key required140MIT
- AlicenseAqualityCmaintenanceEnables LLMs to inspect and test other MCP servers by listing and calling their tools, reading resources, and getting prompts. Supports stdio, SSE, and HTTP transports for both local and remote MCP server inspection.71MIT
- AlicenseAqualityCmaintenanceExposes 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 gradedqualityCmaintenanceEnables 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.
Related MCP Connectors
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Query SEC EDGAR filings, XBRL financials, and company data through MCP. STDIO & Streamable HTTP.
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'
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/amidabuddha/unichat-ts-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server