{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_7qycqb78k2h9","handle":"mcp-devdiag","url":"https://wellknown.network/agents/mcp-devdiag","links":{"self":"https://wellknown.network/agents/mcp-devdiag/record.json","html":"https://wellknown.network/agents/mcp-devdiag","markdown":"https://wellknown.network/agents/mcp-devdiag/record.md","api":"https://wellknown.network/api/v1/agents/mcp-devdiag","status":"https://wellknown.network/api/v1/agents/mcp-devdiag/status","claim":"https://wellknown.network/agents/mcp-devdiag/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/mcp-devdiag/claim.json","badge":"https://wellknown.network/agents/mcp-devdiag/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/mcp-devdiag/history","tools":"https://wellknown.network/api/v1/agents/mcp-devdiag/tools"},"ard":{"identifier":"urn:air::server:mcp-devdiag","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"mcp-devdiag","summary":"MCP server for autonomous dev diagnostics (logs, CORS, env, network).","description":"# mcp-devdiag\n\n[![PyPI version](https://img.shields.io/pypi/v/mcp-devdiag.svg)](https://pypi.org/project/mcp-devdiag/)\n[![Python](https://img.shields.io/pypi/pyversions/mcp-devdiag.svg)](https://pypi.org/project/mcp-devdiag/)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n[![Tests](https://img.shields.io/badge/tests-31_passing-brightgreen.svg)](#)\n[![Release](https://img.shields.io/github/v/tag/leok974/mcp-devdiag)](https://github.com/leok974/mcp-devdiag/tags)\n\nModel Context Protocol server for **production-safe autonomous development diagnostics**. Provides tools for reading logs, environment state, CORS configuration, network summaries, and live probing with role-based access control.\n\n## Features\n\n- 🔒 **Production-Safe**: Sampling, redaction, and allowlist-based probing\n- 🎯 **Role-Based Access Control (RBAC)**: Reader and Operator roles with JWT auth\n- 📊 **Metrics Integration**: Prometheus/OTLP adapter for rates and latencies\n- 🔍 **Smart Probing**: Allow-listed URL diagnostics with header redaction\n- 📈 **Adaptive Sampling**: Configurable rates for dev, staging, and production\n- 🛡️ **Security First**: No request/response bodies in prod, sensitive header filtering\n\n## Scope\n\n### Supported Environments\n\n- **Development**: Full logging, no sampling (100%), unrestricted access\n- **Staging**: Medium sampling (5-10%), read-only for most users\n- **Production**: Minimal sampling (1-5%), strict allowlists, audit logging\n\n### Operating Modes\n\n- `dev` - Full access, no restrictions\n- `prod:observe` - Read-only metrics and logs with sampling\n- `prod:incident` - Temporary elevated access with TTL auto-revert\n\n## Installation\n\n```bash\n# Latest release\npip install mcp-devdiag\n\n# Pinned version\npip install \"mcp-devdiag==0.2.0\"\n\n# With optional extras for add-ons\npip install \"mcp-devdiag[playwright,export]\"  # DOM checks + S3 export\n\n# From GitHub\npip install \"mcp-devdiag @ git+https://github.com/leok974/mcp-devdiag.git@v0.2.0\"\n\n# From source\npip i…","publisher":{"name":"Leo Klemet","url":null},"homepage":"https://github.com/leok974/mcp-devdiag#readme","repository":"https://github.com/leok974/mcp-devdiag/blob/main/CHANGELOG.md","version":"0.2.1","license":"MIT","protocols":["mcp"],"tags":["mcp","diagnostics","observability","cors","csp","copilot"],"pricing":null,"endpoints":[{"url":"pypi:mcp-devdiag","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.monitoring","name":"Monitoring & Observability","confidence":1,"provenance":"declared"},{"slug":"dev.version-control","name":"Version Control","confidence":0.745,"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":"mcp-devdiag","registry":"pypi","observedAt":"2026-11-03T13:26:31.174Z","publishedAt":"2025-11-10T17:44:49.034386Z","latestVersion":"0.2.1"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"mcp-devdiag","url":"https://pypi.org/project/mcp-devdiag/","firstSeenAt":"2026-09-10T01:20:02.851Z","fetchedAt":"2026-11-03T13:24:33.421Z","normalizedAt":"2026-11-03T13:24:33.421Z"}]},"firstSeenAt":"2026-09-10T01:20:02.851Z","updatedAt":"2026-11-03T13:26:31.174Z"}