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
Metadata
Release files for mcp-repl 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mcp_repl-0.1.3.tar.gz | 80.4 kB | Without provenance | Details for mcp_repl-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mcp_repl-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for mcp_repl-0.1.3-py3-none-any.whl |
Total release size: 95.1 kB
Release files / mcp_repl-0.1.3.tar.gz
| Download URL | mcp_repl-0.1.3.tar.gz |
|---|---|
| Size | 80.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c983025bfb1b608218a98b284c971eaba7232bbbc36516c9f4a0b69df941846
|
|
BLAKE2b-256 checksum How to use checksums |
def7f266c2e9d1c334795beb106e4b2f032db6a350424e726db7468e6a6108d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.6
|
Release files / mcp_repl-0.1.3-py3-none-any.whl
| Download URL | mcp_repl-0.1.3-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9eb6771eb3a32990fd8671a1c30ca6906cec95cb7684de5c0a8266903a1189a8
|
|
BLAKE2b-256 checksum How to use checksums |
8b733ade998838a0dc1cd5b150c25b0c8339cf238099dac9486e72f3febfe58d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.6
|
Security for mcp-repl 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.