agentic-compute-mcp
This server provides secure, remote backend computation for AI agents, with x402 USDC microtransactions per API call. Capabilities include:
execute_code_securely: Execute arbitrary Python code in an isolated Azure sandbox. Returns stdout/stderr (up to 8KB). Cost: 0.10 USDC.
sanitize_csv_securely: Clean and normalize raw CSV strings, handling nulls (NaN → null), normalizing headers, and dropping empty rows. Returns a JSON array. Cost: 0.25 USDC.
optimize_ga_securely: Run a Genetic Algorithm to optimize model parameters (polynomial, exponential, logistic) against numerical data, minimizing MAPE. Supports configurable generations. Returns optimized parameters and MAPE. Cost: 0.50 USDC.
generate_plot_securely: Generate line or scatter charts from coordinate arrays, with customizable titles and labels. Returns a base64-encoded image string. Cost: 0.30 USDC.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agentic-compute-mcpOptimize my sales forecast using genetic algorithm"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
agentic-compute-mcp
mcp-name: io.github.codelad1304/agentic-computeLLM Context Summary: agentic-compute-mcp is a secure Model Context Protocol (MCP) server providing premium backend computation for autonomous AI agents. It offers remote Python code execution, CSV data sanitization, Genetic Algorithm optimization, and base64 Matplotlib visualization. It utilizes the x402 protocol on the Base network for automated USDC microtransactions per API call.
🖼️ Zero-Context Image Rendering Handling base64 image strings in LLM context windows is notoriously unreliable and eats up thousands of tokens. agentic-compute-mcp solves this locally. When you call generate_plot, the Azure sandbox generates the chart and streams the payload back to the MCP client. The client automatically intercepts the payload, decodes it, and saves it directly to your local machine as optimized_load_trend.png—completely bypassing the LLM context window to prevent token exhaustion and transcription errors.
System Prompt Instructions (For Developers)
Copy and paste this snippet into your agent's system prompt or .cursorrules file to enable autonomous tool usage:
You are equipped with the `agentic-compute-mcp` backend. Use these tools for heavy computation or secure data execution.
- You must pay for invocations automatically using the configured x402 EVM private key.
- Do NOT attempt to run Python locally if data requires complex optimization; route it to `execute_code`.
- For any unformatted CSV data, run `sanitize_csv` before performing mathematical analysis.
- When generating charts, use `generate_plot`. The backend will automatically save the chart directly to the local file system as a PNG. Do not attempt to read base64 strings.Related MCP server: code-sandbox-mcp
Available MCP Tools
This server exposes the following endpoints. Agents must evaluate the required capability and cost before invoking.
execute_code
Cost: 0.10 USDC / call
Input: Valid Python script string.
Output: Text (stdout/stderr). Max return limit is 8KB.
When to use: Use to execute arbitrary Python logic, heavy calculations, or data sorting in an isolated Azure sandbox. Do NOT use for local file system operations.
sanitize_csv
Cost: 0.25 USDC / call
Input: Raw, unformatted CSV string.
Output: JSON array.
When to use: Use immediately on raw data sets to handle null values (converts NaN to null), normalize headers, and drop empty rows prior to modeling.
optimize_ga
Cost: 0.50 USDC / call
Input: JSON array of numerical data.
Output: Optimized model parameters and MAPE score.
When to use: Use for load forecasting, predictive modeling, or curve fitting (Polynomial, Logistic, Exponential). Employs proportional mutation for <1% MAPE accuracy.
generate_plot
Cost: 0.30 USDC / call
Input: JSON array of coordinates/data points and chart configuration.
Output: Success string (File saved locally).
When to use: Use to visualize data without hitting token generation limits or requiring local GUI dependencies.
Installation & Setup
Install via PyPI:
pip install agentic-compute-mcp-codelad1304Configure Environment Variables:
You must provide a funded EVM wallet key to allow your agent to process x402 microtransactions.
export EVM_PRIVATE_KEY=your_private_key_hereClient Configuration (Claude Desktop)
To install this server for Claude Desktop, add the following to your claude_desktop_config.json:
{
"mcpServers": {
"agentic-compute": {
"command": "agentic-compute-mcp",
"args": [],
"env": {
"EVM_PRIVATE_KEY": "your_private_key_here"
}
}
}
}License
MIT License - see LICENSE file for details.
Maintenance
Related MCP Servers
AlicenseNot gradedqualityCmaintenanceAn MCP server that enables AI agents to search, pay for, and call paid APIs using the x402 protocol, with automatic USDC settlement.2MIT- AlicenseAqualityCmaintenanceMCP server for E2B code sandbox, enabling creation, management, and execution of code in secure sandboxes using Python and shell commands.41MIT
- AlicenseAqualityDmaintenanceMCP server enabling AI agents to purchase VPS and blockchain node products using USDC on Base via Easy Node's x402 API.7157Business Source 1.1
- AlicenseAqualityDmaintenanceSandboxed Python execution with automatic dependency management. Executes Python scripts in isolated environments (bubblewrap or Docker) with PEP 723 inline dependencies, preventing host pollution.31MIT
Related MCP Connectors
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
HiveCapital MCP Server — autonomous investment layer for AI agents
Monetize any MCP server: x402 paywall, pay-per-call billing in USDC on Base, agent marketplace.
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/codelad1304/agentic-compute-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server