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.1.0.tar.gz (8.5 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.1.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_hive-0.1.0.tar.gz
  • Upload date:
  • Size: 8.5 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.1.0.tar.gz
Algorithm Hash digest
SHA256 87c8b3f93555c56ba51e7981e3cc901a43928a187a1cccdbe1844add8e928b49
MD5 304d388d6d7d5b749b460e55c9a57668
BLAKE2b-256 cdea087bf521c109cbf4258b35ee4f2004be979f71cb3b1b75df2a0b1ab3d1b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mcp_hive-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf5bda4a5ea099d22e5ecd900159963898e260521331556ff13b76f27a817cc4
MD5 e54166ee17ae5137d6f652f21a4741ba
BLAKE2b-256 50e8dbfa49d6da6a60115cd8c4e114a950643152a0ec166aa451ad8299312488

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