Skip to main content

MCP Client for Humans

Project description

mcpie - MCP Client for Humans

Interactive command-line tool for MCP (Model Context Protocol) servers with short commands and rich output.

Like httpie for HTTP, but for MCP servers! 🥧

Features

  • Interactive REPL with tab completion and command history
  • Short aliases: ls, r list, t call add 5 3, p get name
  • Rich tables and syntax-highlighted JSON output
  • Both STDIO and SSE transport support
  • Smart argument parsing (JSON, key=value, or interactive prompting)

Installation

Install uv then:

uv sync
uv tool install .

From pypi:

uv tool install mcpie-cli
uvx mcpie-cli

Quick Start

# Start interactive client
mcpie "python server.py"           # STDIO transport
mcpie "http://localhost:8000"      # SSE transport

# Inside the REPL
mcp> discover                     # See everything available
mcp> ls                          # List resources
mcp> t call add 5 3              # Call tool with smart parsing
mcp> r read config://app         # Read resource
mcp> help                        # Show all commands

Commands

Discovery:

  • discover - Show all capabilities
  • ls - List resources (alias for r list)

Resources: r list, r read <uri>, r templates Tools: t list, t call <name> [args], t inspect <name> Prompts: p list, p get <name> [args], p inspect <name> Server: s info, s ping, s capabilities

Examples

# Different argument formats
t call add 5 3                        # Auto-mapped to parameters
t call add '{"a": 5, "b": 3}'         # JSON format
t call add                             # Interactive prompting

# With headers/env vars
mcpie -H "Authorization:token" http://localhost:8000
mcpie -e "API_KEY:secret" "python server.py"

That's it! Type help in the REPL for more details.

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

mcpie_cli-0.1.0.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcpie_cli-0.1.0-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file mcpie_cli-0.1.0.tar.gz.

File metadata

  • Download URL: mcpie_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mcpie_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9a5adad7e756c70fef515eff6b965101df3ea5dcbc310b68b6a2b3028014410d
MD5 4e0d7061341c5191de838b67d84a34e8
BLAKE2b-256 c260e8a6c289eca80003471f852e6e5b9f726ee196b507dab6f4ed2ae0ba9dbc

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpie_cli-0.1.0.tar.gz:

Publisher: publish.yaml on h0rv/mcpie

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcpie_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mcpie_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mcpie_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c893e778af5818638cc37e5613a16d467d03b203c083a8e79728a654ecf972b
MD5 7085b07e7f76954353d394e26b448092
BLAKE2b-256 007fe915787ce07b5deaf5fc9aaed513f4fbe2879952bd2f56743908cabeea93

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpie_cli-0.1.0-py3-none-any.whl:

Publisher: publish.yaml on h0rv/mcpie

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page