SuperiorAPIs MCP Server Tool
📖 Description
This project is a Python-based MCP Server that dynamically fetches plugin definitions from SuperiorAPIs and auto-generates MCP tool functions based on OpenAPI schemas.
The server will:
- Fetch plugin metadata
- Parse the schema
- Generate tool functions dynamically
- Run the MCP server
🚀 Features
- Dynamic plugin loading from SuperiorAPIs
- Auto-generation of
pydantic
models and async functions - Asynchronous API execution using
aiohttp
- Runtime MCP tool registration
- Supports environment-based configuration
- Ready for UVX platform deployment
📂 Project Structure
⚙️ Installation
Clone the project and install the dependencies:
🌍 Environment Variables
Before running, set the following environment variables:
Linux/macOS
Windows CMD
🖥️ Usage
Run the MCP server:
The server will:
- Fetch plugin data from SuperiorAPIs
- Dynamically generate MCP tool functions
- Register the tools
- Start the MCP server
Authorization is required via the token
header.
🧠 Example Generated Tool Function
📜 Requirements
❗ Error Handling
If the API call fails or returns status: 0
, the program will exit with:
📦 Packaging (Optional)
Build the package:
Install the package:
Run using Docker (if needed):
📄 License
MIT License (or your custom license)
👨💻 Author
Marcus / CTeam Contact: info@cteam.com.tw
This server cannot be installed
A Python-based MCP server that dynamically fetches plugin definitions from SuperiorAPIs and auto-generates tool functions based on OpenAPI schemas, enabling integration with various APIs through natural language.