This repository showcases the powerful integration of OpenManus with XPack.AI, demonstrating how you can extend the capabilities of your AI agent by connecting to thousands of ready-to-use tools worldwide. Building upon the robust foundation of the OpenManus, this project provides a practical example of configuring its Model Context Protocol (MCP) service to leverage XPack's extensive service marketplace.
OpenManus is an open-source framework for building general AI agents. It provides a flexible framework for creating AI agents with different capabilities and behaviors, allows for easy connection to external tools and APIs, and is fully open-source and community-driven.
XPack.AI is a platform that enables AI agents to connect to a vast ecosystem of global services and tools through a unified Model Context Protocol (MCP). With XPack, you can effortlessly expand your AI agent's functionalities, accessing diverse APIs and services across various domains like finance, logistics, messaging, and more, all in under a minute.
This project focuses on demonstrating how to configure OpenManus to utilize XPack as an MCP server. By doing so, your OpenManus instance gains immediate access to XPack's rich collection of tools, allowing you to:
- Access a diverse range of services: From financial data to image processing, integrate capabilities that were previously out of reach.
- Accelerate development: Rapidly prototype and build AI-powered solutions by leveraging pre-built tools.
- Streamline workflows: Automate complex tasks by combining OpenManus's intelligence with XPack's external service integrations.
First, ensure OpenManus is installed. Please follow the installation steps in the Installation section below if you haven't already.
To connect your OpenManus to XPack, you need to configure an MCP server. This allows OpenManus to discover and utilize the tools available through XPack.
-
Obtain your XPack Auth Key:
- Visit XPack.AI and sign up for an account.
- Generate your Auth key from your XPack dashboard.
-
Create
mcp.json:- In the
configdirectory of your OpenManus project, create a new file namedmcp.json. You can do this by copying the example file:
cp config/mcp.example.json config/mcp.json
- In the
-
Edit
config/mcp.json:- Open the
config/mcp.jsonfile and modify it to include the XPack MCP server details. ReplaceYOUR_XPACK_AUTH_KEYwith your actual XPack Auth key:
{ "mcpServers": { "xpack-mcp-market": { "type": "sse", "url": "https://mcp.xpack.ai/v1/mcp?apikey=YOUR_XPACK_AUTH_KEY" } } } - Open the
Once the configuration is complete, run OpenManus using the main.py script, which is specifically designed to work with MCP tools.
python main.pyYou can then input your ideas and prompts in the terminal, and OpenManus will leverage the tools from XPack to accomplish the tasks.
This section provides practical examples of how you can leverage OpenManus with XPack for various tasks.
Easily analyze YouTube video comments to understand audience sentiment and get suggestions for improving your content.
python main.py
> Please use xpack-mcp-server to read the comments on this YouTube video: https://www.youtube.com/watch?v=LPZh9BOjkQs, analyze the sentiment of the feedback, and recommend improvements for the video.Quickly check the latest gold price and discover key factors that may affect future trends.
python main.py
> Please use xpack-mcp-server to look up the current real-time price of gold and provide specific factors that may impact its price in the future.Instantly remove the background from any image for clean, professional results.
python main.py
> Please use xpack-mcp-server to remove the background from this image (https://oss.picturepicker.com/home/image/user/b60347f5-c984-4a09-a0aa-1ad6d2108056/0f1caf01-e3eb-449e-9d6d-d3d2276babc8/origin/20250708-cf563478ec5a4ffe9ced619ec62d733a-attachment.png) .




