MCP Chat
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., "@MCP ChatSummarize the key points from @meeting_notes.md"
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.
MCP Chat
MCP Chat is a command-line interface application that enables interactive chat capabilities 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. https://anthropic.skilljar.com/claude-with-the-anthropic-api/
Tools: Model-controlled: Claude decides when to call these. Results are used by Claude. Used for:
giving additional funcationality to Claude
Resources: App-controlled: Our app decides when to call thse. Results are primarily used by our app. Used for
Getting data into our app
Adding context to messages
Prompts: User-controlled: The user decides when to use these. Used for:
Predefined workflows to run based on user input, like slash command, button click, or menu option.
Prerequisites
Python 3.9+
Anthropic API Key
Related MCP server: MCP Chat Server
Setup
Step 1: Configure the environment variables
Create or edit the
.envfile in the project root and verify that the following variables are set correctly:
ANTHROPIC_API_KEY="" # Enter your Anthropic API secret keyStep 2: Install dependencies
Option 1: Setup with uv (Recommended)
uv is a fast Python package installer and resolver.
Install uv, if not already installed:
pip install uvCreate and activate a virtual environment:
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activateInstall dependencies:
uv pip install -e .Run the project
uv run main.pyOption 2: Setup without uv
Create and activate a virtual environment:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activateInstall dependencies:
pip install anthropic python-dotenv prompt-toolkit "mcp[cli]==1.8.0"Run the project
uv run main.pyOR
python main.pyPrompt: What is the contents of the report.pdf document? Here's what happens behind the scenes:
Your application uses the client to get available tools
These tools are sent to Claude along with your question
Claude decides to use the read_doc_contents tool
Your application uses the client to execute that tool
The result is returned to Claude, who then responds to you
The client acts as the bridge between your application logic and the MCP server's functionality, making it easy to integrate powerful tools into your AI workflows.
To see the MCP Web inspector to debug your mcp_server.py changes run:
uv run mcp dev mcp_server.pyUsage
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 document content in your query:
> Tell me about @deposition.mdCommands
Use the / prefix to execute commands defined in the MCP server:
> /summarize deposition.mdCommands will auto-complete when you press Tab.
Development
Adding New Documents
Edit the mcp_server.py file to add new documents to the docs dictionary.
Implementing MCP Features
To fully implement the MCP features:
Complete the TODOs in
mcp_server.pyImplement the missing functionality in
mcp_client.py. You can run the client:
uv run mcp_client.pyThis will connect to your MCP server and print out the available tools. You should see output showing your tool definitions, including descriptions and input schemas.
Linting and Typing Check
There are no lint or type checks implemented.
This server cannot be deployed
Maintenance
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.
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
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-
- FlicenseBqualityDmaintenanceEnables interactive chat with AI models via Anthropic API, supporting document retrieval and extensible command-based tool integrations.2-
- FlicenseCqualityCmaintenanceEnables interactive chat with AI models via Anthropic API, supporting document retrieval and command-based prompts through the MCP architecture.3-
- FlicenseNot gradedqualityCmaintenanceEnables interactive chat with AI models through the Anthropic API, supporting document retrieval, command-based prompts, and extensible tool integrations via the MCP architecture.-