Modal logo

Modal

CommunityPopular
modal-labs

Modal MCP server for serverless cloud compute. Run Python functions, train models, and deploy GPU workloads from AI assistants via Modal's sandboxed infrastructure.

Publishermodal-labs
Repositorymodal-mcp
LanguageTypeScript
Forks
0
Stars
2.6K
Available tools
18
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Modal exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 18 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    2.6K stars and 0 forks from the linked repository.

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "modal": {
      "command": "npx",
      "args": [
        "-y",
        "@modal/mcp"
      ],
      "env": {
        "MODAL_TOKEN_ID": "<YOUR_TOKEN_ID>",
        "MODAL_TOKEN_SECRET": "<YOUR_TOKEN_SECRET>"
      }
    }
  }
}

Available Tools

  • list_functions

    List all deployed functions in the Modal workspace

  • create_function

    Create and deploy a new serverless Python function to Modal

  • update_function

    Update an existing function's code or configuration

  • delete_function

    Remove a function from Modal deployment

  • invoke_function

    Execute a deployed function with specified parameters

  • get_function_logs

    Retrieve execution logs for a specific function

  • list_apps

    List all Modal apps in the workspace

  • create_app

    Create a new Modal app container

  • deploy_app

    Deploy an app with multiple functions to Modal

  • get_app_status

    Check the deployment status and health of an app

  • create_gpu_job

    Submit a GPU-accelerated job for model training or inference

  • list_gpu_jobs

    List all running and completed GPU jobs

  • cancel_job

    Cancel a running job or function execution

  • get_job_metrics

    Retrieve performance metrics and resource usage for jobs

  • create_volume

    Create a persistent storage volume for data sharing

  • list_volumes

    List all created storage volumes

  • upload_files

    Upload files to Modal storage or volumes

  • get_billing_usage

    Retrieve current billing and resource usage statistics

Use Modal MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Modal is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Modal as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Modal MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "modal": {
      "command": "npx",
      "args": [
        "-y",
        "@modal/mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Modal MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Modal MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Modal to help me with this task?
Modal
Sure. I read it.
Here is what I found using Modal.

Frequently asked questions

What is the Modal MCP server used for?

Modal is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Modal MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Modal with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Modal MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Modal connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Modal MCP to TypingMind?

Modal runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Modal MCP provide in TypingMind?

Modal exposes 18 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Modal MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Modal requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇