MA

mcpagents-ai/mcpagentai

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

21 stars 3 forks 质量 57 趋势 0NOASSERTION

Python SDK 旨在简化与 MCP(模型上下文协议)服务器的交互。它提供了一个易于使用的界面,用于连接 MCP 服务器、读取资源和调用工具

概览

是用于统一实现和管理多种工具的标准化工具。它旨在帮助开发者快速集成并启动基于工具的用例。 - 🔧 : 提供使用 MCP 协议构建工具的抽象层。- 🚀 : 轻松添加或移除符合具体需求的工具。- ✨ : 包含适用于常见场景的预构建工具:- 🐦 : 自动推文、回复和管理推特互动。- 💸 加密货币:获取最新的加密货币价格。- 🤖 ElizaOS 集成:无缝连接和交互 ElizaOS,实现更自动化。- 🕑 时间工具 - ☁️ 天气信息(API) - 📚 字典查询 - 🧮 数学表达式计算器 - 💵 货币兑换(API) - 📈 股票数据:访问实时和历史股市信息。- [进行中] 📰 新闻:获取最新新闻头条。

概述(AI 翻译)

MCPAgentAI 是一个标准化的工具包装框架,用于统一实现和管理各种工具。它旨在帮助开发者快速集成和启动基于工具的用例。

主要特色

  • 🔧 标准化封装:为使用 MCP 协议构建工具提供抽象层。
  • 🚀 灵活的使用场景:轻松添加或移除工具以满足您的具体需求。
  • ✨ 开箱即用工具:包含适用于常见场景的预构建工具:
  • 🐦 Twitter 管理:自动化推文、回复和管理 Twitter 互动。
  • 💸 加密货币:获取最新的加密货币价格。
  • 🤖 ElizaOS 集成:无缝连接和交互 ElizaOS,实现自动化提升。
  • 🕑 时间效用
  • ☁️ 天气信息(API)
  • 📚 词典查询
  • 🧮 数学表达式计算器
  • 💵 货币交换(API)
  • 📈 股票数据:访问实时及历史股市信息。
  • [进行中] 📰 新闻:获取最新新闻头条。

技术栈 🛠️

  • Python:核心编程语言
  • MCP 框架:通信协议
  • Docker:容器化

🤔 什么是MCP?

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

MCPAgentAI 🚀

MCPAgentAI is a standardized tool wrapping framework for implementing and managing diverse tools in a unified way. It is designed to help developers quickly integrate and launch tool-based use cases.

Key Features

  • 🔧 Standardized Wrapping: Provides an abstraction layer for building tools using the MCP protocol.
  • 🚀 Flexible Use Cases: Easily add or remove tools to fit your specific requirements.
  • ✨ Out-of-the-Box Tools: Includes pre-built tools for common scenarios:
    • 🐦 Twitter Management: Automate tweeting, replying, and managing Twitter interactions.
    • 💸 Crypto: Get the latest cryptocurrency prices.
    • 🤖 ElizaOS Integration: Seamlessly connect and interact with ElizaOS for enhanced automation.
    • 🕑 Time utilities
    • ☁️ Weather information (API)
    • 📚 Dictionary lookups
    • 🧮 Calculator for mathematical expressions
    • 💵 Currency exchange (API)
    • 📈 Stocks Data: Access real-time and historical stock market information.
    • [WIP] 📰 News: Retrieve the latest news headlines.

Tech Stack 🛠️

  • Python: Core programming language
  • MCP Framework: Communication protocol
  • Docker: Containerization

🤔 What is MCP?

The Model Context Protocol (MCP) is a cutting-edge standard for context sharing and management across AI models and systems. Think of it as the language AI agents use to interact seamlessly. 🧠✨

Here’s why MCP matters:

  • 🧩 Standardization: MCP defines how context can be shared across models, enabling interoperability.
  • ⚡ Scalability: It’s built to handle large-scale AI systems with high throughput.
  • 🔒 Security: Robust authentication and fine-grained access control.
  • 🌐 Flexibility: Works across diverse systems and AI architectures.

source

Installation 📦

Install via PyPI

pip install mcpagentai

Usage 💻

Run Locally

mcpagentai --local-timezone "America/New_York"

Run in Docker

  1. Build the Docker image: docker build -t mcpagentai .

  2. Run the container: docker run -i --rm mcpagentai


Twitter Integration 🐦

在 GitHub 查看完整 README

安装

docker run -i -v /path/to/local/eliza:/app/eliza --rm mcpagentai
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "mcpagentai": { "command": "docker", "args": ["run", "-i", "-v", "/path/to/local/eliza:/app/eliza", "--rm", "mcpagentai"] } } }