Dynamic Code Executor MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| execute_codeA | Execute code in a secure isolated sandbox. Supports Python, JavaScript, and TypeScript. The code will be executed in a temporary environment that is cleaned up after execution. You can optionally install packages before execution. Use this when you need to:
Returns execution results including output, errors, and execution time. |
| validate_codeA | Validate code syntax without executing it. Performs static analysis to check for syntax errors. Use this to check code validity before execution or to help debug syntax issues. |
| list_supported_languagesA | List all supported programming languages with their capabilities and package managers |
| get_execution_limitsB | Get information about execution limits and constraints |
| list_allowed_packagesA | List all packages allowed to be installed for each language. Only whitelisted packages can be installed for security reasons. Use this tool to check which packages are available before writing code that requires external dependencies. Returns a list of allowed packages for Python, JavaScript, and TypeScript. |
| search_cached_scriptsA | Search for similar cached scripts using semantic search. Finds previously executed scripts that solve similar problems, even if the exact code differs. Use this when you need to solve a task - there might already be a working solution cached. Example queries:
Returns ranked results by similarity with scores. |
| list_cached_scriptsA | List recently cached scripts (chronological order). Shows the most recent successful executions. Use search_cached_scripts for finding scripts by task description. |
| get_cached_scriptA | Get a specific cached script by its hash. Returns the full script details including code, result, packages used, and execution stats. |
| get_cache_statsA | Get statistics about the persistent script cache |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rafalswiderski/mcp-code-executor'
If you have feedback or need assistance with the MCP directory API, please join our Discord server