Skip to main content
Glama
smol-codeact-mcp

smol-codeact-mcp

by nanyun818

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
workspaceYesPath to the workspace directory for the MCP server.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
codeact_executeB

Execute multi-step Python logic inside a stateful, zero-exec() AST sandbox. Variables persist across calls per session_id. Includes workspace-jailed read-only helpers: list_files(pattern), read_lines(rel_path, start, end), grep_files(regex, glob_filter).

codeact_inspect_stateB

Inspect persisted variable names, types, lengths, and compact previews in a sandbox session.

codeact_reset_sessionC

Clear persisted variables for a sandbox session.

codeact_compile_stubsB

Compile verbose OpenAI/MCP JSON Tool Schemas into compact Python CodeAct stubs with token stats.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 4 tools

Disambiguation5/5

Each tool maps to a distinct lifecycle or workflow action: compile schemas, execute code, inspect state, and reset state. Although reset_session and inspect_state both concern session variables, their purposes are clearly differentiated as destructive clearing versus read-only inspection.

Naming Consistency5/5

All tools use the same codeact_ prefix followed by clear snake_case action names. The convention is predictable and consistent across the entire set.

Tool Count5/5

Four tools is well-scoped for a focused CodeAct sandbox server. Each tool earns its place by covering compile, execute, inspect, and reset without redundancy.

Completeness4/5

The core lifecycle is covered: compile stubs, execute stateful code, inspect persisted variables, and reset sessions. Minor gaps such as explicit session creation or deletion are reasonable to omit or work around via reset.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues