Skip to main content
Glama

MCP Chat

MCP Chat 是一个命令行界面应用程序,允许通过 Anthropic API 与 AI 模型进行聊天交互。该应用程序支持文档检索、基于命令的提示以及通过 MCP(模型控制协议)架构的可扩展工具集成。

先决条件

  • 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 运行时。

Maintenance

ActivityMaintained
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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

Latest Blog Posts

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/gabinoalx/mcp-chat'

If you have feedback or need assistance with the MCP directory API, please join our Discord server