Add your description here
Project description
MCP-REPL
A lightweight REPL (Read-Eval-Print Loop) for interacting with various services through MCP (Model Context Protocol).
Overview
mcp-repl is designed for efficient development, debugging, and testing of MCP servers. It provides an intuitive command-line interface that's simpler than using the Cloud Desktop app, allowing developers to quickly:
- Send queries to MCP servers
- View detailed tool execution
- Automatically save chat history
- Test multiple MCP services simultaneously
Installation
Install via pip or uv:
uv add mcp-repl
Usage
Start the REPL:
uv run mcp-repl --config path/to/config.json
Examples
🔥 Check out our real-world examples to see mcp-repl in action! 🔥
- Databases - Database administrators: See how to query, monitor, and manage your databases with natural language
- Infrastructure - DevOps engineers: Explore examples for managing cloud resources, monitoring systems, and automating infrastructure tasks
Each example includes sample configurations and common usage patterns to help you get started quickly.
Optional Flags
--auto-approve-tools: Automatically approve all tool executions--always-show-full-output: Always display complete tool outputs--chat-history-dir PATH: Directory to save chat history (default:./chat_history)
Development Installation
Clone and install in editable mode:
git clone https://github.com/yourusername/mcp-repl.git
cd mcp-repl
uv venv
Testing
Comprehensive integration tests are included to verify functionality:
Run all tests:
uv run pytest
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_repl-0.1.3.tar.gz.
File metadata
- Download URL: mcp_repl-0.1.3.tar.gz
- Upload date:
- Size: 80.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c983025bfb1b608218a98b284c971eaba7232bbbc36516c9f4a0b69df941846
|
|
| MD5 |
39fb330519c500fdfad3661b6550d824
|
|
| BLAKE2b-256 |
def7f266c2e9d1c334795beb106e4b2f032db6a350424e726db7468e6a6108d1
|
File details
Details for the file mcp_repl-0.1.3-py3-none-any.whl.
File metadata
- Download URL: mcp_repl-0.1.3-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9eb6771eb3a32990fd8671a1c30ca6906cec95cb7684de5c0a8266903a1189a8
|
|
| MD5 |
ef427398c76c9b1da19569956735fdcd
|
|
| BLAKE2b-256 |
8b733ade998838a0dc1cd5b150c25b0c8339cf238099dac9486e72f3febfe58d
|