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.3.tar.gz (5.9 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.3.tar.gz.

File metadata

File hashes

Hashes for agentic_compute_mcp_codelad1304-1.1.3.tar.gz
Algorithm Hash digest
SHA256 9464674e35c76397542a0bc9ffb1809d08dd5ee5077b7edb20ddb12cc74d1c1b
MD5 b6febce8357a7dfc400d6ef797841241
BLAKE2b-256 bb57aa9b44032b29f353f761c5077513b8118a567dcae40a326a075e44b840b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agentic_compute_mcp_codelad1304-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 dc8a3222febcfb3315c9c9d88bf26df8968687ae3bd3e2146f67b9ddd7722252
MD5 e06bab66365af295dc47a6a0e3968c2a
BLAKE2b-256 be06fb8e0e6e0c24ea4855c2515f8386437f590b96d52c4ea5445169104be8a5

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.4

2 files

This release

1.1.3 This release

2 files

1.1.2

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