{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_khgquwhucwfv","handle":"vtkapi-mcp","url":"https://wellknown.network/agents/vtkapi-mcp","links":{"self":"https://wellknown.network/agents/vtkapi-mcp/record.json","html":"https://wellknown.network/agents/vtkapi-mcp","markdown":"https://wellknown.network/agents/vtkapi-mcp/record.md","api":"https://wellknown.network/api/v1/agents/vtkapi-mcp","status":"https://wellknown.network/api/v1/agents/vtkapi-mcp/status","claim":"https://wellknown.network/agents/vtkapi-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/vtkapi-mcp/claim.json","badge":"https://wellknown.network/agents/vtkapi-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:vtkapi-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"vtkapi-mcp","summary":"VTK API validation utilities and MCP server tooling","description":"# VTK API Validation via MCP\n\nPost-generation validation of VTK Python code using Model Context Protocol (MCP).\n\n## Overview\n\nThis module provides automatic validation of generated VTK code to catch API hallucinations:\n\n- ✅ **Direct API lookups** - No vector search overhead, exact class/method verification\n- ✅ **Method existence validation** - Detects when LLM invents non-existent methods\n- ✅ **Import validation** - Verifies VTK classes are imported from correct modules\n- ✅ **Fast in-memory index** - Loads ~2,900 VTK classes at startup\n- ✅ **Structured error reporting** - Clear error messages with suggestions\n\n---\n\n## Quick Start\n\n### 1. Install the Package\n\nFrom PyPI (recommended once published):\n\n```bash\npip install vtkapi-mcp\n```\n\nFor local development we standardize on **uv** to manage the virtualenv and extras:\n\n```bash\nuv venv .venv\nsource .venv/bin/activate\nuv sync --extra dev      # runtime + pytest + ruff\n```\n\n> **Note:** The 64 MB `data/vtk-python-docs.jsonl` file is required at runtime but is not bundled in the wheel. Place it under `data/` (or pass `--api-docs /path/to/file`) before launching the MCP server.\n\nPrefer automation? `./setup.sh` now wraps the same uv workflow and accepts `--dev` to include the testing toolchain.\n\n### 2. Test MCP Integration (Optional)\n\n```bash\nuv run python demo_mcp_integration.py\n```\n\nThis runs a complete demo showing how to use vtkapi-mcp as an MCP server (not as standalone Python library). It demonstrates all 18 MCP tools and error detection.\n\n### 3. Developer Workflow (uv-native)\n\n| Task | Command |\n|------|---------|\n| Run unit + integration tests | `uv run pytest` |\n| Run tests with coverage report | `uv run pytest --cov=vtkapi_mcp --cov-report=term-missing` |\n| Run Ruff lint & format checks | `uv run ruff check` / `uv run ruff format --check` |\n\n> These commands automatically reuse the `.venv` created via `uv venv` / `uv sync`. No manual activation is required.\n\n### 3. Configure MCP Client\n\nAdd to your MCP settings (e…","publisher":{"name":"Patrick O'Leary","url":null},"homepage":"https://github.com/patrickoleary/vtkapi-mcp","repository":"https://github.com/patrickoleary/vtkapi-mcp/issues","version":"1.4.0","license":"MIT License  Copyright (c) 2025 Patrick O'Leary  Permission is …","protocols":["mcp"],"tags":["vtk","validation","mcp","api","llm"],"pricing":null,"endpoints":[{"url":"pypi:vtkapi-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","license":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi","publisherName":"pypi"}},"derived":{"capabilities":[{"slug":"dev.package-management","name":"Packages & Dependencies","confidence":0.768,"provenance":"derived"}],"categories":["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":"vtkapi-mcp","registry":"pypi","observedAt":"2026-09-10T15:25:18.936Z","publishedAt":"2025-12-22T02:10:07.437569Z","latestVersion":"1.4.0"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"vtkapi-mcp","url":"https://pypi.org/project/vtkapi-mcp/","firstSeenAt":"2026-09-10T15:23:58.687Z","fetchedAt":"2026-09-10T15:23:58.687Z","normalizedAt":"2026-09-10T15:23:58.687Z"}]},"firstSeenAt":"2026-09-10T15:23:58.687Z","updatedAt":"2026-09-10T15:25:18.936Z"}