MCP Pyodide
An MCP protocol server implementation based on Pyodide, providing Python code execution capabilities for large language models
rating : 2.5 points
downloads : 8.1K
What is MCP-Pyodide?
MCP-Pyodide is a server implementation based on the Model Context Protocol (MCP), which allows large language models to execute Python code via Pyodide. This enables developers to easily establish interactions between models and code.How to use MCP-Pyodide?
MCP-Pyodide can be run via a command-line tool or as a server. You can directly input Python code, and the server will return the execution result.Applicable scenarios
Suitable for scenarios that require dynamic code generation, data analysis, and machine learning model invocation, etc.Main Features
Python Code Execution
Supports executing Python code on the MCP interface, leveraging Pyodide to provide powerful computing capabilities.
MCP Protocol Compatibility
Fully compliant with the MCP standard, ensuring seamless integration with other MCP clients.
Multiple Transmission Modes
Supports both stdio and SSE transmission modes to meet different needs.
Easy Deployment
Provides simple and easy-to-use command-line tools and API interfaces for quick deployment.
Advantages
Supports multiple programming languages and frameworks
High-performance Python runtime environment
Flexible transmission mode selection
Limitations
May pose security risks for unauthorized code execution
Requires certain network basic configuration
How to Use
Install MCP-Pyodide
First, ensure that your system has Node.js 18 or a higher version installed, and then run the following command to install MCP-Pyodide:
```bash
npm install mcp-pyodide
```
Start the Server
Run the following command to start the MCP-Pyodide server:
```bash
npm start
```
Send a Request
Send Python code to the server for execution, for example:
```python
print("Hello, World!")
```
Usage Examples
Example 1: Print Hello World
This is a simple example showing how to use MCP-Pyodide to print "Hello, World!".
Example 2: Perform Mathematical Operations
Perform a simple mathematical operation, such as calculating the square of 2.
Frequently Asked Questions
What is MCP-Pyodide?
How to start the MCP-Pyodide server?
Does it support the SSE mode?
Related Resources
Official Documentation
Get more information and tutorials about MCP-Pyodide
GitHub Repository
Access the source code and submit issues
MCP Official Website
Learn more about the Model Context Protocol (MCP)

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
17.5K
4.5 points

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
18.4K
4.3 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
53.5K
4.3 points

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
27.4K
5 points

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#
23.0K
5 points

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
52.0K
4.5 points

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
17.1K
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
76.1K
4.7 points
