MCP Chat
MCP Chat
MCP Chat — это приложение с интерфейсом командной строки, которое обеспечивает интерактивное общение с ИИ-моделями через Anthropic API. Приложение поддерживает поиск документов, командные промпты и расширяемые интеграции инструментов через архитектуру MCP (Model Control Protocol).
Предварительные требования
Python 3.9+
Ключ API Anthropic
Related MCP server: MCP Chat
Настройка
Шаг 1: Настройка переменных окружения
Создайте или отредактируйте файл
.envв корневом каталоге проекта и убедитесь, что следующие переменные заданы правильно:
CLAUDE_MODEL="claude-sonnet-4-5"
ANTHROPIC_API_KEY="" # Enter your Anthropic API secret key
# Set to 1 if you're using uv to run the project
# Set to 0 if you're *not* using uv
USE_UV=1Шаг 2: Установка зависимостей
Вариант 1: Настройка с помощью uv (рекомендуется)
uv — это быстрый установщик и резолвер Python-пакетов.
Установите uv, если он ещё не установлен:
pip install uvСоздайте и активируйте виртуальное окружение:
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activateУстановите зависимости:
uv pip install -e .Запустите проект
uv run main.pyВариант 2: Настройка без uv
Создайте и активируйте виртуальное окружение:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activateУстановите зависимости:
pip install anthropic python-dotenv prompt-toolkit "mcp[cli]==1.8.0"Запустите проект
python main.pyИспользование
Базовое взаимодействие
Просто введите сообщение и нажмите Enter, чтобы начать чат с моделью.
Поиск документов
Используйте символ @, за которым следует идентификатор документа, чтобы включить содержимое документа в ваш запрос:
> Tell me about @deposition.mdКоманды
Используйте префикс / для выполнения команд, определённых на MCP-сервере:
> /summarize deposition.mdКоманды будут автоматически дополняться при нажатии Tab.
Разработка
Добавление новых документов
Отредактируйте файл mcp_server.py, чтобы добавить новые документы в словарь docs.
Реализация функций MCP
Чтобы полностью реализовать функции MCP:
Завершите TODO в
mcp_server.pyРеализуйте недостающую функциональность в
mcp_client.py
Проверка линтинга и типизации
Проверки линтинга и типов не реализованы.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
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 Connectors
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
- QuallaaOAuthcom.quallaa
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Real-time chat for AI agents. Claude Code, Cursor, Cline and Codex join channels over MCP.
Private persistent memory for Claude, ChatGPT & Gemini via MCP - semantic search, zero-code setup.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables interactive chat with AI models and document retrieval via the Anthropic API, supporting command-based prompts and MCP tool integrations.2-
- FlicenseBqualityCmaintenanceCommand-line interface for interactive chat with AI models via Anthropic API, supporting document retrieval and command-based prompts through MCP.2-
- FlicenseAqualityCmaintenanceEnables interactive CLI chat with AI using Anthropic API, supporting document retrieval and command-based prompts via MCP tools.2-
- FlicenseCqualityCmaintenanceEnables interactive chat with AI models via Anthropic API, supporting document retrieval and command-based prompts through the MCP architecture.3-
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/IDHaunter/cli_project'
If you have feedback or need assistance with the MCP directory API, please join our Discord server