agentic-compute-mcp
mcp-name: io.github.codelad1304/agentic-compute
LLM 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.
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` to return a base64 string instead of writing to a local file system.
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: Base64 encoded image string.
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-codelad1304
Configure 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_here
Client 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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentic_compute_mcp_codelad1304-1.1.1.tar.gz.
File metadata
- Download URL: agentic_compute_mcp_codelad1304-1.1.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1c289bbf716d1c5e65792532fd53a01efafb6a6856b9e44bc631cc73f255f48
|
|
| MD5 |
2d3dcc77e14eb16dad8eb4d8a19bb159
|
|
| BLAKE2b-256 |
23e39c68751865f9d7f674c8decf9a8902f5ca989466884d9d896fba6728434f
|
File details
Details for the file agentic_compute_mcp_codelad1304-1.1.1-py3-none-any.whl.
File metadata
- Download URL: agentic_compute_mcp_codelad1304-1.1.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70aa0da923c7a8accae62ff70cc3cbe78585b4007df74f61f720d75f42c2aa3b
|
|
| MD5 |
4a779ede653db257a82baffe266668bb
|
|
| BLAKE2b-256 |
cf786eafb31686b6dcdb2840b2939161b1de1b87622b335b49001955ab49e471
|