Modal MCP Toolbox

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

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
run_python_code_in_sandbox
Runs python code in a safe environment and returns the output. Usage: run_python_code_in_sandbox("print('Hello, world!')") run_python_code_in_sandbox("import requests

print(requests.get('https://icanhazip.com').text)", requirements=["requests"])

generate_flux_image

Let's you generate an image using the Flux model.