M

MCP Server Bot

MCP Server Management Robot Project
2 points
9
Installation
Copy the following command to your Client for configuration
Note: Your key is sensitive information, do not share it with anyone.

🚀 MCP-Server-Bot

MCP-Server-Bot is a highly customizable and feature-rich multi-platform chatbot framework that allows users to quickly build personalized chatbots according to their needs.

🚀 Quick Start

Prerequisites

  • Ensure that Python 3.8 or a higher version is installed.
  • Use pip to install the necessary third - party libraries (e.g., discord.py, telepot).

Configuration

Create and edit the configuration file config.json to fill in the API keys and relevant settings required by the bot.

{
    "platforms": {
        "Discord": {
            "bot_token": "your_discord_bot_token",
            "channel_id": "your_channel_id"
        },
        "Telegram": {
            "bot_token": "your_telegram_bot_token",
            "chat_id": "your_chat_id"
        }
    },
    "plugins": [
        "plugin1.py",
        "plugin2.py"
    ],
    "logging": {
        "level": "DEBUG",
        "log_file": "bot.log"
    }
}

Start the Bot

Run the script start_bot.py in the terminal or command line.

python start_bot.py

✨ Features

  1. Multi - platform Compatibility: The bot can run on multiple chat platforms (e.g., Discord, Telegram).
  2. Plugin System: Supports function expansion through plugins. Users can add or remove plugins as needed.
  3. Command Execution: Provides a rich command set. Users can interact with the bot through specific instructions.
  4. Data Storage: Can store and manage user preferences and chat history.
  5. Custom Configuration: Allows users to make personalized configurations according to their usage habits.

🔧 Technical Details

Core Modules

  • Message Processing Engine: Responsible for receiving, parsing, and distributing user messages.
  • Command Processor: Identifies user instructions and executes corresponding operations.
  • Plugin Manager: Loads and manages various functional plugins.

Data Storage

  • Local Database: Used to store temporary data required during the bot's runtime (e.g., chat records, user settings).
  • Persistent Storage: Uses files or cloud storage services to save key configuration information, ensuring that the bot can maintain its original functions after restarting.

Communication Modules

  • WebSocket: Establishes real - time connections to various chat platforms to receive and send messages.
  • API Calls: Implements message sending/receiving and command execution by calling the APIs provided by each platform.

User Interface (Optional)

  • Control Panel: Provides a user - friendly management interface for users to easily monitor the bot's running status and adjust configuration parameters.
  • Logging System: Records the bot's running logs for debugging and maintenance.

📦 Installation

Install Dependencies

  • Make sure Python 3.8 or higher is installed.
  • Install necessary third - party libraries using pip (e.g., discord.py, telepot).

Configure the Bot

Create and edit the config.json file with the required API keys and settings.

Start the Bot

Run python start_bot.py in the terminal.

💻 Usage Examples

Basic Usage

# echo_plugin.py
def on_message(message):
    return message.content

# plugin_info.json
{
    "name": "Echo Plugin",
    "version": "1.0.0",
    "description": "Repeats the user's message back to them.",
    "commands": ["echo"]
}

Users can trigger the function by specifying a prefix (e.g., ! or .) followed by the plugin command, for example: !echo Hello World.

Advanced Usage

The bot supports multi - threading/async processing using the asyncio library to improve response speed and performance. It also uses a modular design to split functions into independent modules or services for easy expansion and maintenance. Additionally, it can integrate with other third - party services (e.g., databases, cloud storage) to enhance its functionality.

📚 Documentation

Plugin Development

  • Plugin Structure: Each plugin should include a main file (e.g., plugin_name.py) and a description file (e.g., plugin_info.json).
  • Plugin Registration: Place the plugin files in the plugins/ directory and enable the plugin in the configuration file.

Logging and Debugging

  • Logging Output: The bot records running information in the bot.log file for tracking issues and understanding the running status.
  • Error Handling: Plugin developers should ensure good error - catching mechanisms in their code to avoid crashing the entire bot. The core module catches exceptions and records relevant information to help developers quickly locate problems.

Security Considerations

  • Key Management: Ensure that all API keys and sensitive information are not stored in plain text in the code or configuration files. It is recommended to use environment variables or encrypted storage.
  • Permission Control: Set appropriate permissions for the bot as needed to avoid unnecessary risks. For example, ensure that the bot has sufficient permissions to perform required operations on Discord.
  • Update and Maintenance: Regularly check and update the APIs of each platform to adapt to policy or interface changes. Keep the bot's code secure and fix known vulnerabilities in a timely manner.

📄 License

No license information provided in the original document.

S
Search1api
The Search1API MCP Server is a server based on the Model Context Protocol (MCP), providing search and crawling functions, and supporting multiple search services and tools.
TypeScript
341
4 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
827
4.3 points
A
Apple Notes MCP
A server that provides local Apple Notes database access for the Claude desktop client, supporting reading and searching of note content.
Python
207
4.3 points
M
MCP Alchemy
Certified
MCP Alchemy is a tool that connects Claude Desktop to multiple databases, supporting SQL queries, database structure analysis, and data report generation.
Python
321
4.2 points
P
Postgresql MCP
A PostgreSQL database MCP service based on the FastMCP library, providing CRUD operations, schema inspection, and custom SQL query functions for specified tables.
Python
109
4 points
M
MCP Scan
MCP-Scan is a security scanning tool for MCP servers, used to detect common security vulnerabilities such as prompt injection, tool poisoning, and cross-domain escalation.
Python
615
5 points
A
Agentic Radar
Agentic Radar is a security scanning tool for analyzing and assessing agentic systems, helping developers, researchers, and security experts understand the workflows of agentic systems and identify potential vulnerabilities.
Python
555
5 points
C
Cloudflare
Changesets is a build tool for managing versions and releases in multi - package or single - package repositories.
TypeScript
1.5K
5 points
Featured MCP Services
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
827
4.3 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
85
4.3 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
139
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
562
5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
281
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
751
4.8 points
AIbase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIbase