AU

amidabuddha/unichat-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

40 stars 10 forks 品質 64 トレンド 14MIT

amidabuddha/unichat-mcp-serverは[https://github.com/amidabuddha/unichat-mcp-server.からインポートされたMCPサーバー候補です

概要

amidabuddha/unichat-mcp-serverは[https://github.com/amidabuddha/unichat-mcp-server.からインポートされたMCPサーバー候補です

概要(AI 翻訳)

また、TypeScript で使用可能 お問い合わせ

MCP プロトコルを使用して OpenAI、Anthropic、OpenAI 互換プロバイダへのリクエストをツールまたは事前定義されたプロンプトで送信します。 MistralAI、xAI、Google AI、DeepSeek、Alibaba、またはInceptionなどのOpenAI互換プロバイダは、プロバイダの互換性のあるAPIエンドポイントにUNICHAT_BASE_URLを設定します。 Vendor API のキー必須

ツール

サーバは一つのツールを実行します。

  • 必要な文字列引数として「メッセージ」を取る
  • 応答を返す

プロンプト

  • [code_review
  • ベストプラクティス、潜在的な問題、改善のためのコードのレビュー
  • 引数:
  • code: レビューするコード
  • [document_code
  • docstringやコメントを含むコードのドキュメントを生成する
  • 引数:
  • code: コメントするコード
  • [explain_code
  • コードの部分が詳細にどのように機能するかを説明する
  • 引数:
  • code: 説明するコード
  • [code_rework
  • 提供されたコードに要求された変更を加えて下さい
  • 引数:
  • [changes] (文字列、オプション): 適用される変更」
  • [code(文字列、必要): 再作業するコード

クイックスタート

インストール

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Unichat MCP Server in Python

Also available in TypeScript

Send requests to OpenAI, Anthropic, and OpenAI-compatible providers using MCP protocol via tool or predefined prompts. For OpenAI-compatible providers such as MistralAI, xAI, Google AI, DeepSeek, Alibaba, or Inception, set UNICHAT_BASE_URL to the provider’s compatible API endpoint. Vendor API key required

Tools

The server implements one tool:

  • unichat: Send a request to unichat
    • Takes “messages” as required string arguments
    • Returns a response

Prompts

  • code_review
    • Review code for best practices, potential issues, and improvements
    • Arguments:
      • code (string, required): The code to review"
  • document_code
    • Generate documentation for code including docstrings and comments
    • Arguments:
      • code (string, required): The code to comment"
  • explain_code
    • Explain how a piece of code works in detail
    • Arguments:
      • code (string, required): The code to explain"
  • code_rework
    • Apply requested changes to the provided code
    • Arguments:
      • changes (string, optional): The changes to apply"
      • code (string, required): The code to rework"

Quickstart

Install

Claude Desktop

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

Supported Models:

A list of currently supported models to be used as "SELECTED_UNICHAT_MODEL" may be found here. Please make sure to add the relevant vendor API key as "YOUR_UNICHAT_API_KEY"

Example:

"env": {
  "UNICHAT_MODEL": "gpt-5.4-mini",
  "UNICHAT_API_KEY": "YOUR_OPENAI_API_KEY"
}

For OpenAI-compatible providers with custom endpoints:

"env": {
  "UNICHAT_MODEL": "PROVIDER_MODEL",
GitHub で README 全文を見る

インストール

uvx unichat-mcp-server
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

"mcpServers": { "unichat-mcp-server": { "command": "uv", "args": [ "--directory", "{{your source code local directory}}/unichat-mcp-server", "run", "--locked", "unichat-mcp-server" ], "env": { "UNICHAT_MODEL": "SELECTED_UNICHAT_MODEL", "UNICHAT_API_KEY": "YOUR_UNICHAT_API_KEY" } } }