ChatWithMCP
Provides tools for interacting with GitHub, enabling management of repositories, issues, pull requests, and Actions.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ChatWithMCPshow me the available tools and their status"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ChatWithMCP
A command-line chat client for Claude (Anthropic) with integration for custom and external MCP servers. The chat runs directly in the terminal, calls tools automatically (or after confirmation), and includes a built-in system for generating and evaluating prompt variants.
Features
Interactive chat in the terminal (OpenAI-compatible API,
openaiSDK against Anthropic endpoint)Integration of a local MCP server (
mcp-server/) with custom toolsOptional integration of the official GitHub MCP Server via Docker
Three execution modes for tool calls:
auto,approve(confirmation prompt), andplan(plan only, no execution)Streaming responses and extended thinking (optionally enabled)
Tools can be enabled/disabled individually or all at once
Load files into the chat context via
/attachPrompt generation and evaluation via custom MCP tools (see PROMPT_EVALUATION.md)
Related MCP server: MCP Chat
Prerequisites
Node.js (ESM/
type: module, seepackage.json)An Anthropic API key
Optional: Docker (only for the GitHub MCP server) and a GitHub Personal Access Token
Optional: a Tavily API key (for the
web_searchtool)
Installation
npm installConfiguration
Create a .env file in the project root directory (excluded by .gitignore):
ANTHROPIC_API_KEY=dein-anthropic-api-key
BASE_URL=https://api.anthropic.com/v1
TAVILY_API_KEY=dein-tavily-api-key
GITHUB_PERSONAL_ACCESS_TOKEN=dein-github-tokenANTHROPIC_API_KEY/BASE_URL— required for the chat client and thegenerate_promptstoolTAVILY_API_KEY— only needed for theweb_searchtoolGITHUB_PERSONAL_ACCESS_TOKEN— only needed if the GitHub MCP server (via Docker) is to be used
General settings (model, token limits, base directory for /attach, GitHub toolsets) are in config.mjs.
Usage
Start the chat:
npm startThe local MCP server (mcp-server/server.mjs) is automatically started as a subprocess. The GitHub MCP server is optionally connected via Docker — if that fails, the chat continues without GitHub tools.
The MCP server can also be started independently (e.g., for testing with an MCP inspector):
npm run mcp-serverCommands in the chat
General
/system TEXT— set the system prompt/nosystem— remove the system prompt/clear— clear the chat historyexit— exit the chat
Tool management
/tools— display available tools with status/disable-tool <name>//enable-tool <name>— enable/disable a single tool/disable-all-tools//enable-all-tools— enable/disable all tools
Chat options
/options— display current settings/enable-streaming//disable-streaming— toggle streaming (disables all tools during streaming)/enable-thinking//disable-thinking— toggle extended thinking
Execution mode
/plan-mode— the model only provides a plan, does not execute tools/auto-mode— tools are executed without confirmation (default)/auto-approve— confirmation required before each tool call/mode— display the current mode
Files
/attach <path>— read a file and add it to the chat history (relative paths are resolved againstconfig.attachBaseDir)
Prompt evaluation
/generate-prompts <count> <prompt> [--style=formal|casual|technical|creative|concise]/evaluate-prompts/prompts/clear-prompts
Details in PROMPT_EVALUATION.md.
Available MCP tools
The local MCP server (mcp-server/tools/) provides, among others, the following tools:
Tool | Description |
| Returns the current date or current time |
| Weather query |
| Web search (requires |
| Loads a web page and converts it to text |
| Read or write files |
| List directory contents |
| Execute commands on a remote host via SSH |
| Display the machine's network interfaces, subnets, and DNS servers |
| Find active hosts on the local IP network via TCP connect scan |
| Generate and evaluate prompt variants |
The optional GitHub MCP server additionally provides tools for repos, issues, pull requests, and actions (see config.mjs → github.toolsets).
Project structure
chat.mjs CLI-Chat-Client
config.mjs Konfiguration (Modell, Token-Limits, GitHub-Optionen)
mcp-server/
server.mjs MCP-Server (stdio)
tools/ Einzelne Tool-Implementierungen
output/ Ablage für generierte Dateien (z. B. über save_to_file)
PROMPT_EVALUATION.md Dokumentation des Prompt-Evaluation-SystemsThis server cannot be deployed
Maintenance
Related MCP Connectors
Real-time chat for AI agents. Claude Code, Cursor, Cline and Codex join channels over MCP.
- QuallaaOAuthcom.quallaa
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
- mcpOAuthai.butlerbrain
Persistent memory for AI assistants. Save once; recall from Claude, ChatGPT, or any MCP client.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA command-line interface application for interactive chat with AI models via the Anthropic API. It supports document retrieval, command-based prompts, and extensible tool integrations through the MCP architecture.-
- FlicenseNot gradedqualityDmaintenanceA command-line interface application enabling interactive chat with AI models via the Anthropic API. It supports document retrieval, command-based prompts, and extensible tool integrations through the MCP architecture.-
- FlicenseNot gradedqualityCmaintenanceA CLI chat application enabling interactive conversations with AI models via the Anthropic API, with document retrieval and command-based prompt support through the MCP architecture.-
- FlicenseNot gradedqualityCmaintenanceMCP server enabling Claude chat, image analysis, live web search, and model listing through Anthropic's Messages API. Allows any MCP client to consult Claude as a tool via stdio JSON-RPC.-