Skip to main content
Glama

MCP Chat

MCP Chat is a command-line interface application that enables chat interaction with AI models through the Anthropic API. The application supports document retrieval, command-based prompts, and extensible tool integrations via the MCP (Model Control Protocol) architecture.

Prerequisites

  • Bun.js

  • Anthropic API Key

Related MCP server: MCP Chat

Setup

  1. Create or edit the .env file in the project root and verify that the following variables are set correctly:

ANTHROPIC_API_KEY=""  # Introduce tu clave secreta de la API de Anthropic.
  1. Install dependencies

bun install
  1. Run the project

bun run src/main.ts

Usage

Basic interaction

Simply type your message and press Enter to chat with the model.

Document retrieval

Use the @ symbol followed by a document ID to include its content in your query:

> Cuentame sobre @deposition.md

Commands

Use the / prefix to execute commands defined in the MCP server:

> /format deposition.md

Commands autocomplete when you press Tab.

Development

Adding new documents

Edit the DOCS array in src/mcp-server/core/docs.ts to add new documents.

This project was created with bun init in Bun v1.3.11. Bun is a fast all-in-one JavaScript runtime.

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.
    -