Skip to main content

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.

  1. 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.

  1. 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.

  1. 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.

  1. 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

agentic_compute_mcp_codelad1304-1.1.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file agentic_compute_mcp_codelad1304-1.1.1.tar.gz.

File metadata

File hashes

Hashes for agentic_compute_mcp_codelad1304-1.1.1.tar.gz
Algorithm Hash digest
SHA256 b1c289bbf716d1c5e65792532fd53a01efafb6a6856b9e44bc631cc73f255f48
MD5 2d3dcc77e14eb16dad8eb4d8a19bb159
BLAKE2b-256 23e39c68751865f9d7f674c8decf9a8902f5ca989466884d9d896fba6728434f

See more details on using hashes here.

File details

Details for the file agentic_compute_mcp_codelad1304-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for agentic_compute_mcp_codelad1304-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 70aa0da923c7a8accae62ff70cc3cbe78585b4007df74f61f720d75f42c2aa3b
MD5 4a779ede653db257a82baffe266668bb
BLAKE2b-256 cf786eafb31686b6dcdb2840b2939161b1de1b87622b335b49001955ab49e471

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.4

2 files

1.1.3

2 files

1.1.2

2 files

This release

1.1.1 This release

2 files

1.1.0

2 files

1.0.9

2 files

1.0.8

2 files

1.0.7

2 files

1.0.6

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page