Skip to main content

Python SDK for MCP Hive - The hub for all your LLM tools

Project description

MCP Hive Python SDK 🐝

MCP Hive is your hub for all LLM tools, providing a unified interface to connect with and utilize various AI tools and services. This Python SDK makes it easy to create intelligent agents that can interact with multiple tools through natural language.

🌟 Features

  • Multi-Hive Support: Connect to multiple MCP hives simultaneously
  • Automatic Tool Discovery: Dynamically discover and configure available tools
  • Rich Console Interface: Beautiful CLI interface with real-time updates
  • Secure Credentials: Safe handling of API keys and authentication
  • Claude Integration: Built-in support for Anthropic's Claude LLM
  • Extensible: Easy to add new tools and capabilities

🚀 Installation

pip install mcp-hive

🔧 Quick Start

from mcp_hive import Agent, Client

client = Client(hives=["http://mcp-hive-alb-tmp1-abc-294122034.us-east-1.elb.amazonaws.com/sse"])
agent = Agent(client=client, mode="cli", model="claude-3-5-sonnet-20240620")
agent.configure_behavior("You are a helpful assistant that can answer questions and help with tasks")
asyncio.run(agent.run())

📚 Documentation

For more detailed information, including advanced features and best practices, please refer to the MCP Hive Documentation.

🤝 Contributing

We welcome contributions! Please see the CONTRIBUTING.md file for more details.

📄 License

This project is open-sourced under the MIT License - see the LICENSE file for 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

mcp_hive-0.3.0.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

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

mcp_hive-0.3.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file mcp_hive-0.3.0.tar.gz.

File metadata

  • Download URL: mcp_hive-0.3.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for mcp_hive-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3ec4b1b4a38c582ad22a6987a3a16bc59ae225bf1ec29a0cae38f25a92a451b4
MD5 489207a685758cf17efcac6183292c44
BLAKE2b-256 a84e02cfc75c06290945a753c3a9d3c2fdf29aac0e6b6492d40c6dbd81a9c3a2

See more details on using hashes here.

File details

Details for the file mcp_hive-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: mcp_hive-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for mcp_hive-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 52c22f962abcf69f5b719a341d6a613210b575e7509e32e258b6c77593a9a35b
MD5 c66bec3b45abcecb77204acc3fe3dfc4
BLAKE2b-256 6f38064a6a36ff60db697dbb44b827865135afd40cf4e9fc43fb263ceed79018

See more details on using hashes here.

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