Skip to main content
Glama

모달 MCP 툴박스 🛠️

대장간 배지

Modal에서 실행되는 모델 컨텍스트 프로토콜(MCP) 도구 모음입니다. 이를 통해 GooseClaude Desktop App 과 같은 도구를 통해 LLM의 기능을 확장할 수 있습니다.

도구

  • run_python_code_in_sandbox : 샌드박스 환경에서 Python 코드를 실행할 수 있습니다.

  • generate_flux_image : FLUX 모델을 사용하여 이미지를 생성합니다.

Related MCP server: MCP Code Mode

데모

플럭스 이미지 생성

🎬플럭스 이미지 생성

파이썬 코드 실행

🎬Python 코드 실행

필수 조건

이 작업은 모달 계정을 통해 실행되므로 모달 계정이 있어야 하며 로그인이 필요합니다.

설치

설치는 MCP를 사용하는 클라이언트에 따라 달라집니다. Claude와 Goose를 위한 지침은 다음과 같습니다.

클로드

Claude 데스크톱 앱에서 Settings > Developer 로 이동하세요. 그리고 구성 편집을 클릭하세요.🖼️클로드 설정

mcp 서버 구성을 추가합니다. 제 구성은 다음과 같습니다.

지엑스피1

거위

Settings 으로 가서 추가를 클릭하세요.

🖼️구스 설정

그런 다음 아래 스크린샷과 같이 확장 프로그램을 추가하세요. 중요한 부분은 명령을 다음과 같이 설정하는 것입니다.

uvx modal-mcp-toolbox

나머지는 원하는 대로 기입하시면 됩니다.

🖼️구스 MCP 설정

Smithery를 통해 설치(현재 작동하지 않음)

Smithery를 통해 Claude Desktop용 Modal MCP Toolbox를 자동으로 설치하려면:

npx -y @smithery/cli install @philipp-eisen/modal-mcp-toolbox --client claude

Available Tools

2 tools
generate_flux_imageC

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

ParametersJSON Schema
NameRequiredDescriptionDefault
promptYesThe prompt to generate an image for

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the tool generates an image but doesn't disclose any behavioral traits such as rate limits, authentication needs, output format, or potential side effects. This leaves significant gaps for an AI agent to understand how to invoke it correctly.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It is appropriately sized and front-loaded, though it could be slightly more structured by including key details like output type or usage context.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's complexity (image generation with no annotations and no output schema), the description is incomplete. It lacks information on behavioral aspects, output format, and usage guidelines. Without annotations or an output schema, the description should provide more context to be fully helpful for an AI agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, with the single parameter 'prompt' well-documented. The description doesn't add any meaning beyond what the schema provides, as it doesn't elaborate on prompt formatting or constraints. With high schema coverage, the baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'generate an image using the Flux model.' It specifies the action (generate) and resource (image) with the specific model (Flux). However, it doesn't explicitly differentiate from the sibling tool 'run_python_code_in_sandbox,' which appears unrelated but could potentially be used for similar image generation tasks, so it lacks sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention any context, prerequisites, or exclusions, nor does it reference the sibling tool. Usage is implied only by the purpose statement, with no explicit when/when-not instructions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

run_python_code_in_sandboxB
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"])

ParametersJSON Schema
NameRequiredDescriptionDefault
codeYesThe python code to run.
mount_directoryNoAllows you to make a local directory available at `/mounted-dir` for the code in `code`. Needs to be an absolute path. Writes to this directory will NOT be reflected in the local directory.
pull_filesNoList of tuples (absolut_path_sandbox_file, absolute_path_local_file). When provided downloads the file(s) from the sandbox to the local file(s).
python_versionNoThe python version to use. If not provided defaults to 3.133.13
requirementsNoThe requirements to install.

TDQS

B3.1/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions 'safe environment' and shows examples, but lacks details on constraints like time limits, memory limits, allowed libraries, network access, or error handling. For a tool that executes arbitrary code, this is a significant gap in transparency about its operational boundaries and safety mechanisms.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is appropriately sized and front-loaded: it starts with a clear purpose statement, followed by usage examples. The examples are relevant and illustrate key parameters. However, the second example is split across lines, which slightly affects readability but doesn't significantly impact conciseness. Overall, it's efficient with minimal waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the complexity of executing arbitrary code in a sandbox, the lack of annotations, and no output schema, the description is incomplete. It doesn't explain what 'safe environment' entails, potential risks, return formats, or error conditions. For a tool with 5 parameters and significant behavioral implications, more context is needed to guide an AI agent effectively.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 100% description coverage, so the baseline is 3. The description doesn't add any parameter semantics beyond what the schema provides; it only shows usage examples with 'code' and 'requirements' parameters. No additional context or clarification is given for parameters like 'mount_directory' or 'pull_files', which have detailed schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Runs python code in a safe environment and returns the output.' It specifies the verb ('runs'), resource ('python code'), and key constraint ('safe environment'). However, it doesn't differentiate from the only sibling tool 'generate_flux_image', which is unrelated to code execution, so it doesn't need sibling differentiation but also doesn't explicitly contrast with potential alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides usage examples that imply when to use this tool (for executing Python code in a sandboxed environment), but it doesn't explicitly state when to use it versus alternatives or when not to use it. The examples show basic and network-related code, suggesting general-purpose use, but no explicit guidance on context or exclusions is given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updatesv1.0.0
    • First observedgenerate_flux_image
    • First observedrun_python_code_in_sandbox

TDQS

B3.1/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have completely distinct purposes: one generates images using a specific AI model, while the other executes Python code in a sandboxed environment. There is no overlap in functionality, and an agent would never confuse these tools.

Naming Consistency5/5

Both tools follow a consistent verb_noun pattern with snake_case naming: generate_flux_image and run_python_code_in_sandbox. The naming is clear, descriptive, and follows the same convention throughout.

Tool Count2/5

With only 2 tools, this server feels extremely thin for a 'Toolbox' name that suggests broader utility. The tools are unrelated (image generation vs. code execution), making the server feel like two separate utilities bundled together rather than a coherent toolbox.

Completeness2/5

As a 'Toolbox,' there are significant gaps in coverage. The server lacks tools for common utility tasks like file operations, data processing, or other AI models. Even within the narrow domains represented, there are no complementary operations (e.g., no image manipulation tools to accompany generation, no code analysis tools to accompany execution).

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers