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.2.tar.gz (5.5 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.2.tar.gz.

File metadata

File hashes

Hashes for agentic_compute_mcp_codelad1304-1.1.2.tar.gz
Algorithm Hash digest
SHA256 c16a3c5067d98a1cd68c64c830ff113d53692dec83d112e3c93b8d56dfd7c340
MD5 05c1e06d2e8ce8bce94baf80dd02d88f
BLAKE2b-256 b5992b721be598817b63526800471f026fb77259befda3b098b6bade67a09418

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agentic_compute_mcp_codelad1304-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 39d4efab4d8100028891baea0e0f277b15c71ae81e4e92b0af46a41783fa7e1f
MD5 39779dab97bdf2045d7e1a8fef1fa679
BLAKE2b-256 706b49a9456fb4b9059d13a70f666d0e512af8650fc6c59c0ecbfe29d6951e45

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.4

2 files

1.1.3

2 files

This release

1.1.2 This release

2 files

1.1.1

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