Hive MCP
A command-line interface for interacting with MCP (Model Context Protocol) servers.
Features
- Ask questions to any MCP server directly from the command line
- Manage server configurations with easy add, remove, and list operations
- Set default servers for quick access
- Import and export server configurations
Installation
# From the source directory
pip install -e .
# Or once published
pip install hive-mcp
Usage
Asking Questions
# Ask a question to the default server
hive-mcp ask "What is the best AI tool for coding?"
# Ask a question to a specific server by name
hive-mcp ask --server team-mcp "What tools are being used in this team room?"
# Ask a question to a specific server by URL
hive-mcp ask --url https://mcp-server.example.com/sse "What is the weather today?"
Managing Servers
# List all configured servers
hive-mcp servers list
# Add a new server
hive-mcp servers add my-server https://mcp-server.example.com/sse
# Remove a server
hive-mcp servers remove my-server
# Set the default server
hive-mcp servers set-default tweet-finder-mcp
# Export server configuration
hive-mcp servers export --file servers.json
# Import server configuration
hive-mcp servers import servers.json
Configuration
The CLI stores its configuration in ~/.config/hive_mcp/config.json. This file is created automatically when you first run the CLI, and it contains:
- A list of configured servers with their URLs
- The default server to use when none is specified
Requirements
- Python 3.9 or higher
hive-mcppackage (installed automatically as a dependency)
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hive_mcp-0.2.0.tar.gz
(5.9 kB
view details)
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 hive_mcp-0.2.0.tar.gz.
File metadata
- Download URL: hive_mcp-0.2.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54dae9cc34151a769080113ad953a45834df5537827f6f1448426250ea7fea1c
|
|
| MD5 |
b165949c8f48fc5fff1d478f43712ec1
|
|
| BLAKE2b-256 |
5c04fec271d4b7f8cf2f78da3f7d89a99ed9be029db7d7fc5edc92fa6c3988a5
|
File details
Details for the file hive_mcp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: hive_mcp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
588f57050867915ea9d1b6fecaa881e71a7e7e4b019f134dcaf76f6673ce279a
|
|
| MD5 |
f41a715b5bbeafec378937f2cee2bbfe
|
|
| BLAKE2b-256 |
dd9d2f328fdff1cfb94174d3803ef26ea4f42f3554013f54a877099a56f5bb09
|