{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_f7c5g4h3wqav","handle":"mcp-tuning","url":"https://wellknown.network/agents/mcp-tuning","links":{"self":"https://wellknown.network/agents/mcp-tuning/record.json","html":"https://wellknown.network/agents/mcp-tuning","markdown":"https://wellknown.network/agents/mcp-tuning/record.md","api":"https://wellknown.network/api/v1/agents/mcp-tuning","status":"https://wellknown.network/api/v1/agents/mcp-tuning/status","claim":"https://wellknown.network/agents/mcp-tuning/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/mcp-tuning/claim.json","badge":"https://wellknown.network/agents/mcp-tuning/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/mcp-tuning/history","tools":"https://wellknown.network/api/v1/agents/mcp-tuning/tools"},"ard":{"identifier":"urn:air::server:mcp-tuning","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"mcp-tuning","summary":null,"description":"# mcp-tuning\n\nA **script-first** MCP debugging/testing library for Jupyter notebooks and plain Python scripts.\n\nIt is designed to help you iterate on MCP servers (implemented in any language) by providing a small, synchronous client API:\n\n- Connect via `stdio` (subprocess), `http`, or `sse`\n- Explore: tools / resources / prompts\n- Call tools with JSON arguments\n- Save/replay input-only cases (tool + args)\n- Export logs / history / last result as JSON for repeatable debugging\n\nStart with `examples/notebooks/01_mcp_inspector_demo.ipynb`.\n\n## Requirements\n\n- Python 3.12+\n- `uv`\n\n## Install (uv)\n\n```powershell\nuv sync\nuv sync --extra notebook --extra test\n```\n\n## Run (Jupyter)\n\n```powershell\nuv run jupyter lab\n```\n\n## Quickstart (stdio)\n\nPrefer argv lists for `stdio` servers (avoids shell quoting issues) and make sure the server runs in an environment that has its dependencies installed.\n\n```python\nfrom mcp_tuning import connect_stdio\n\n# Example 1: connect to the built-in mock server (minimal dependencies)\nimport sys\nc = connect_stdio([sys.executable, \"src/mcp_tuning/_mock_server.py\"])\n\nprint(c.server_info())\nprint([t.name for t in c.tools()])\nprint(c.call(\"add\", {\"a\": 1, \"b\": 2}).result)\nc.close()\n```\n\nConnect to the FastMCP example server (requires `mcp` installed in the interpreter that runs the server):\n\n```python\nfrom mcp_tuning import connect_stdio\n\nc = connect_stdio([\".venv/Scripts/python.exe\", \"examples/servers/simple_stdio_server.py\"])\nprint([t.name for t in c.tools()])\nprint(c.call(\"add\", {\"a\": 1, \"b\": 2}).result)\nc.close()\n```\n\n## Public API Reference\n\nThe public API is intentionally small and exported at the top-level `mcp_tuning` package.\n\n### Connect functions\n\n- `connect_stdio(command, *, cwd=None, env=None) -> Client`\n  - `command`: `list[str]` (recommended) or `str`\n  - defaults to running the subprocess with the repo root as `cwd` (more reliable in notebooks)\n- `connect_http(rpc_url, *, headers=None) -> Client`\n- `connect_sse(*, sse_url, rpc_url, head…","publisher":null,"homepage":null,"repository":"https://github.com/slime21023/mcp-tuning","version":"0.1.0","license":"MIT License  Copyright (c) 2026 mcp-tuning contributors  Permis…","protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:mcp-tuning","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","version":"pypi","description":"pypi"}},"derived":{"capabilities":[{"slug":"dev.package-management","name":"Packages & Dependencies","confidence":0.859,"provenance":"derived"},{"slug":"code.execution","name":"Code Execution","confidence":0.848,"provenance":"derived"}],"categories":["code","dev"],"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":"mcp-tuning","registry":"pypi","observedAt":"2026-10-28T14:24:50.334Z","publishedAt":"2026-01-01T04:03:31.097809Z","latestVersion":"0.1.0"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"mcp-tuning","url":"https://pypi.org/project/mcp-tuning/","firstSeenAt":"2026-09-10T05:21:33.616Z","fetchedAt":"2026-10-28T14:24:14.217Z","normalizedAt":"2026-10-28T14:24:14.217Z"}]},"firstSeenAt":"2026-09-10T05:21:33.616Z","updatedAt":"2026-10-28T14:24:50.334Z"}