mcp-pyodide

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort for SSE server3020
PYODIDE_DATA_DIRNoDirectory for mounted data./data
PYODIDE_CACHE_DIRNoDirectory for Pyodide cache./cache

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
execute-python

Execute Python code using Pyodide with output capture. When generating images, they will be automatically saved to the output directory instead of being displayed. Images can be accessed from the saved file paths that will be included in the output.

install-python-packages

Install Python packages using Pyodide

get-mount-points

List mounted directories

list-mounted-directory

List contents of a mounted directory

read-image

Read an image from a mounted directory