smol-codeact-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | Path 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
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
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.
All tools use the same codeact_ prefix followed by clear snake_case action names. The convention is predictable and consistent across the entire set.
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.
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.