modal-mcp-toolbox
A collection of tools for your LLMs that run on Modal
Documentation
Modal MCP Toolbox 🛠️
A collection of Model Context Protocol (MCP) tools that run on Modal.
This let's you extend the capabilities of your LLM in tools such as Goose or the Claude Desktop App.
Tools
- `run_python_code_in_sandbox`: Let's you run python code in a sandboxed environment.
- `generate_flux_image`: Generate an image using the FLUX model.
Demo
Flux Image Generation

Python Code Execution

Prerequisites
- A modal account and a configured modal CLI.
- UV
- A client that supports MCP. Such as the Claude Desktop App or Goose
This runs against your modal account, so you will need to have a modal account and be logged in.
Installation
Installation depends on the client that uses the MCP. Here is instructions for Claude and Goose.
Claude
Got to `Settings > Developer` in the Claude Desktop App. And click on Edit Config.

Add the config for the mcp server. My config looks like this:
{
"mcpServers": {
"modal-toolbox": {
"command": "uvx",
"args": ["modal-mcp-toolbox"]
}
}
}Goose
Go to `Settings` and Click on Add.

Then add an extension like in the screenshot below.
The important part is to set command to:
uvx modal-mcp-toolboxThe rest you can fill in as you like.

Installing via Smithery (not working currently)
To install Modal MCP Toolbox for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @philipp-eisen/modal-mcp-toolbox --client claudeFrequently asked questions
What is modal-mcp-toolbox?
modal-mcp-toolbox is A collection of tools for your LLMs that run on Modal
How do I install modal-mcp-toolbox?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is modal-mcp-toolbox open source?
Yes — it is hosted on GitHub at https://github.com/philipp-eisen/modal-mcp-toolbox and has 25 stars.
Related MCP tools
Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory across sessions with a self-hosted knowledge graph engine.
Automate browser based workflows with AI
Hindsight: Agent Memory That Learns
A privacy-first app that strips AI watermarks from content you own.
Agent framework and applications built upon Qwen>=3.0, featuring Function Calling, MCP, Code Interpreter, RAG, Chrome extension, etc.
The power of Claude Code / GeminiCLI / CodexCLI + [Gemini / OpenAI / OpenRouter / Azure / Grok / Ollama / Custom Model / All Of The Above] working as one.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP