MCP Client logo

MCP Client

by lingster

A CLI tool for interacting with Anthropic's Claude model using MCP (Model Context Protocol) servers. It allows users to connect to multiple servers and chat with Claude using available MCP tools.

View on GitHub

Last updated: N/A

What is MCP Client?

A command-line interface that facilitates interaction with Anthropic's Claude model through Model Context Protocol (MCP) servers. It offers features for interactive chat, single-query processing, and server configuration management.

How to use MCP Client?

Install the tool by cloning the repository and installing dependencies using uv sync. Configure MCP servers in a JSON file and place it in a specified location or use the --config option. Use uv run mcpllm chat to start an interactive chat or uv run mcpllm chat --query for a single query. Use mcpllm servers to show all configured servers.

Key features of MCP Client

  • Connect to multiple MCP servers

  • Interactive chat with Claude

  • Real-time response streaming

  • Interactive and single-query modes

  • Customizable Claude model parameters

Use cases of MCP Client

  • Interactive conversation with Claude

  • Quickly querying Claude for information

  • Integrating Claude with various MCP servers for specific tasks

  • Customizing Claude's behavior through parameters

  • Automating Claude interactions through command-line scripts

FAQ from MCP Client

How do I configure the MCP servers?

Create a JSON configuration file that defines your MCP servers ans save it to one of specified locations.

How can I start an interactive chat session?

Use the command uv run mcpllm chat to start an interactive chat with all configured servers.

How do I send a single query to Claude?

Use the uv run mcpllm chat --query "your query" command.

Can I customize the Claude model and its parameters?

Yes, use the --model, --temperature, and --max-tokens options to customize the Claude model and parameters.

Where can i find my Anthropic API key?

You can find it in the ANTHROPIC_API_KEY environment variables. You can also create a .env file in your current directory.