{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_pf887722sahr","handle":"python-plot-mcp","url":"https://wellknown.network/agents/python-plot-mcp","links":{"self":"https://wellknown.network/agents/python-plot-mcp/record.json","html":"https://wellknown.network/agents/python-plot-mcp","markdown":"https://wellknown.network/agents/python-plot-mcp/record.md","api":"https://wellknown.network/api/v1/agents/python-plot-mcp","status":"https://wellknown.network/api/v1/agents/python-plot-mcp/status","claim":"https://wellknown.network/agents/python-plot-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/python-plot-mcp/claim.json","badge":"https://wellknown.network/agents/python-plot-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/python-plot-mcp/history","tools":"https://wellknown.network/api/v1/agents/python-plot-mcp/tools"},"ard":{"identifier":"urn:air::server:python-plot-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"python-plot-mcp","summary":"Python sandbox MCP server for matplotlib visualization","description":"# Python Plot MCP \n \n一个专注于 Python 画图的 MCP (Model Context Protocol) 服务器，支持在云端执行 Python 代码并生成 matplotlib 图表。 \n \n## 功能特点 \n \n- ✅ **Python 沙箱执行**：安全隔离的 Python 代码执行环境 \n- ✅ **Matplotlib 支持**：内置 matplotlib 和中文字体 \n- ✅ **Base64 图像返回**：生成的图表直接返回为 data URL \n- ✅ **完整 MCP 协议**：符合 MCP 标准 \n- ✅ **多种安装方式**：支持 uvx、pip、npx \n \n## 安装 \n \n### 方式一：uvx（推荐 - 魔搭平台） \n \n```bash \nuvx python-plot-mcp \n``` \n \n### 方式二：pip \n \n```bash \npip install python-plot-mcp \npython-plot-mcp \n``` \n \n### 方式三：npx（Node.js） \n \n```bash \nnpx python-plot-sandbox-mcp \n``` \n \n## 使用 \n \n### 魔搭平台配置 \n \n在魔搭 MCP 广场或支持 MCP 的客户端中配置： \n \n```json \n{ \n  \"mcpServers\": { \n    \"python-plot\": { \n      \"command\": \"uvx\", \n      \"args\": [\"python-plot-mcp\"] \n    } \n  } \n} \n``` \n \n### 本地开发配置 \n \n```json \n{ \n  \"mcpServers\": { \n    \"python-plot\": { \n      \"command\": \"python\", \n      \"args\": [\"-m\", \"python_plot_mcp\"] \n    } \n  } \n} \n``` \n \n## 工具：run_python \n \n执行 Python 代码并生成图表。 \n \n### 参数 \n \n- `code` (string, 必需): Python 代码 \n- `timeout_s` (integer, 可选): 超时时间（秒），默认 12 \n- `return_inline_image` (boolean, 可选): 返回 base64 图片，默认 true \n \n### 示例 \n \n```python \nimport matplotlib.pyplot as plt \nimport numpy as np \n \nx = np.linspace(0, 10, 100) \ny = np.sin(x) \n \nplt.figure(figsize=(10, 6)) \nplt.plot(x, y) \nplt.title('正弦波') \nplt.xlabel('x') \nplt.ylabel('sin(x)') \nplt.grid(True) \nplt.show() \n``` \n \n## 依赖 \n \n- Python 3.9+ \n- matplotlib \n- numpy \n- Pillow \n \n## 许可证 \n \nMIT \n \n## 作者 \n \nYour Name","publisher":{"name":"qwe1453098533","url":null},"homepage":"https://github.com/qwe1453098533/python-plot-mcp","repository":"https://github.com/qwe1453098533/python-plot-mcp","version":"1.0.3","license":null,"protocols":["mcp"],"tags":["mcp","model-context-protocol","python","matplotlib","visualization","plot","chart","sandbox"],"pricing":null,"endpoints":[{"url":"pypi:python-plot-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"code.execution","name":"Code Execution","confidence":1,"provenance":"declared"},{"slug":"analytics.reporting","name":"Reporting & Dashboards","confidence":1,"provenance":"declared"}],"categories":["analytics","code"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"python-plot-mcp","registry":"pypi","observedAt":"2026-10-28T20:23:15.486Z","publishedAt":"2026-01-17T16:40:42.010546Z","latestVersion":"1.0.3"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"python-plot-mcp","url":"https://pypi.org/project/python-plot-mcp/","firstSeenAt":"2026-09-10T10:24:51.415Z","fetchedAt":"2026-10-28T20:22:14.217Z","normalizedAt":"2026-10-28T20:22:14.217Z"}]},"firstSeenAt":"2026-09-10T10:24:51.415Z","updatedAt":"2026-10-28T20:23:15.486Z"}