Skip to main content
Glama
realugbun

AgentExecMPC

by realugbun

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_TRANSPORTNoTransport protocol for MCP server (stdio or sse)stdio

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
shellA
Execute shell commands in a secure sandboxed environment.

This tool allows executing arbitrary shell commands with built-in safety controls
including timeout limits, working directory restrictions, and process cleanup.
Perfect for file operations, system commands, and shell scripting tasks.

Features:
- Configurable timeout (default: 60s, max: 300s)
- Custom working directory support
- Automatic process cleanup
- Sandboxed execution in workspace
- Comprehensive error handling

Args:
    request: Shell execution parameters including command, timeout, and working directory

Returns:
    ExecutionResponse: Complete execution results with stdout, stderr, exit code,
                      duration, and success status

Examples:
- List files: {"command": "ls -la"}
- Create directory: {"command": "mkdir -p /workspace/new_folder"}
- Run with timeout: {"command": "long_running_task", "timeout": 120}
- Custom directory: {"command": "pwd", "cwd": "/workspace/subfolder"}
execute_codeA
Execute code snippets in Python, Node.js, or Go with automatic environment setup.

This tool creates temporary files and executes code in isolated environments
with proper cleanup and timeout handling. Supports multiple programming
languages with their respective runtimes.

Supported Languages:
- Python: Full Python 3.x environment with standard library
- Node.js/JavaScript: Node.js runtime with npm packages
- Go: Go compiler and runtime environment with CGO_ENABLED=0

Features:
- Automatic temporary file management
- Language-specific execution environments
- Configurable timeout controls
- Detailed execution feedback
- Secure code isolation
- Temporary files are deleted after execution; code is non-persistent. Use the shell tool to create reusable scripts.

Args:
    request: Code execution parameters including code, language, and timeout

Returns:
    ExecutionResponse: Complete execution results with output, errors,
                      performance metrics, and success status

Examples:
- Python: {"code": "print('Hello World')", "language": "python"}
- Node.js: {"code": "console.log('Hello World')", "language": "node"}
- Go: {"code": "package main\nfunc main() { println("Hello") }", "language": "go"}
install_packageA
Install packages using pip, npm, or Go modules with version control.

This tool provides a unified interface for package installation across
different programming environments. Supports version pinning and provides
detailed installation feedback with proper error handling.

Supported Package Managers:
- pip: Python package installer (PyPI packages)
- npm: Node.js package manager (npm registry)
- go: Go module system (Go packages)

Features:
- Version pinning support
- Installation progress tracking
- Dependency resolution
- Extended timeout for large packages
- Comprehensive error reporting

Args:
    request: Package installation parameters including name, manager, and version

Returns:
    ExecutionResponse: Installation results with output, any errors,
                      and installation success status

Examples:
- Install Python package: {"package": "requests", "package_manager": "pip"}
- Install with version: {"package": "lodash", "package_manager": "npm", "version": "4.17.21"}
- Install Go module: {"package": "github.com/gin-gonic/gin", "package_manager": "go"}

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/realugbun/AgentExecMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server