Skip to main content
Glama

MCP Chat

MCP Chatは、Anthropic APIを通じてAIモデルとチャットで対話できるコマンドラインインターフェースアプリケーションです。このアプリケーションは、ドキュメントの取得、コマンドベースのプロンプト、MCP(Model Control Protocol)アーキテクチャによる拡張可能なツール統合をサポートしています。

前提条件

  • Bun.js

  • Anthropic APIキー

Related MCP server: MCP Chat

セットアップ

  1. プロジェクトのルートにある.envファイルを作成または編集し、以下の変数が正しく設定されていることを確認します。

ANTHROPIC_API_KEY=""  # Introduce tu clave secreta de la API de Anthropic.
  1. 依存関係をインストールします

bun install
  1. プロジェクトを実行します

bun run src/main.ts

使用方法

基本的な対話

メッセージを入力してEnterキーを押すだけで、モデルとチャットできます。

ドキュメントの取得

@記号の後にドキュメントのIDを入力すると、その内容をクエリに含めることができます。

> Cuentame sobre @deposition.md

コマンド

/プレフィックスを使用して、MCPサーバーで定義されたコマンドを実行します。

> /format deposition.md

コマンドはTabキーを押すと自動補完されます。

開発

新しいドキュメントの追加

src/mcp-server/core/docs.tsのDOCS配列を編集して、新しいドキュメントを追加します。

このプロジェクトは、Bun v1.3.11でbun initを使用して作成されました。Bunは、高速でオールインワンのJavaScriptランタイムです。

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    A command-line interface application that enables interactive chat with AI models through the Anthropic API, supporting document retrieval, command-based prompts, and extensible tool integrations.
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    A command-line interface application that enables interactive chat with AI models through the Anthropic API, supporting document retrieval, command-based prompts, and extensible tool integrations.
    -