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.4.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.4.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_hive-0.4.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.4.0.tar.gz
Algorithm Hash digest
SHA256 51529775ecc71af0f3ba24ad04a63af9eed0713b187bfe94d4d792b613402daa
MD5 3e60bb8b37828092627fe8d0762165fa
BLAKE2b-256 8eb688be7c8782c46a5bd64609f6e1b02d6e63f48801e8b11dae01d0917b5345

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mcp_hive-0.4.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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dca035311e27a2a8379005364a15579a6990bf9e4bd3757db586fc5deb708e95
MD5 4a581e726b71fede93de227baf8a9600
BLAKE2b-256 e30943c875fd2ec81a26db12802355abd52085d6b003401a48f8e9582836f61c

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