MCP.so
登录

MCP Chat

@flux159

基本信息

分类

AI 与智能体

许可证

MIT

传输方式

stdio

作者

flux159

关于 MCP Chat

Open Source Generic MCP Client for testing & evaluating mcp servers and agents

MCP Chat 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-chat": {
      "command": "npx",
      "args": [
        "mcp-chat",
        "--server",
        "npx -y @modelcontextprotocol/server-filesystem /Users/$USER/Desktop"
      ]
    }
  }
}

MCP Chat 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is mcp-chat?

mcp-chat is an open source generic MCP client for testing and evaluating MCP servers and agents. It provides a CLI and web interface for interacting with MCP servers through an LLM.

How to use mcp-chat?

Run via npx mcp-chat with flags like --server, --config, --web, -m (model), -p (prompt), or --system (system prompt). Requires the ANTHROPIC_API_KEY environment variable set. For web mode, use --web and configure servers through the UI.

Key features of mcp-chat

  • Run CLI in interactive mode or with -p flag
  • Web mode for chatting via a web interface
  • Connect to any MCP server (JS, Python, Docker)
  • Choose between Anthropic models with -m
  • Customize system prompt with --system
  • Saves chat history to ~/.mcpchat/chats

Use cases of mcp-chat

  • Test MCP servers during development (local builds)
  • Run one‑off prompts with MCP servers (e.g., Kubernetes)
  • Interactive chat with an LLM and connected tools
  • Debug tool call output and arguments

常见问题

1

What LLM models are supported?

Currently only Anthropic models (e.g., `claude-3.5`) are supported.

2

How do I connect to a local MCP server?

Use `--server` with a command (e.g., `npx mcp-server-kubernetes`) or pass a local script (e.g., `node /path/to/index.js` or `uv run weather.py`).

3

Where is chat history saved?

Chats are saved in `~/.mcpchat/chats` (both CLI and web mode).

4

Can I run mcp-chat without a CLI server argument?

Yes, in web mode (`--web`) you can dynamically configure MCP servers via the UI.

5

Do I need an API key?

Yes, set the `ANTHROPIC_API_KEY` environment variable or place it in a `.env` file.

评论

AI 与智能体 分类下的更多 MCP 服务器