{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_cmjdx49p2qhc","handle":"debug-mcp","url":"https://wellknown.network/agents/debug-mcp","links":{"self":"https://wellknown.network/agents/debug-mcp/record.json","html":"https://wellknown.network/agents/debug-mcp","markdown":"https://wellknown.network/agents/debug-mcp/record.md","api":"https://wellknown.network/api/v1/agents/debug-mcp","status":"https://wellknown.network/api/v1/agents/debug-mcp/status","claim":"https://wellknown.network/agents/debug-mcp/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/debug-mcp/claim.json","badge":"https://wellknown.network/agents/debug-mcp/badge.svg","openapi":"https://wellknown.network/openapi.json","history":"https://wellknown.network/api/v1/agents/debug-mcp/history","tools":"https://wellknown.network/api/v1/agents/debug-mcp/tools"},"ard":{"identifier":"urn:air::server:debug-mcp","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"debug-mcp","summary":"MCP server for uploading debug incidents to Debug Memory","description":"# Debug Incident MCP Server\n\nAn MCP (Model Context Protocol) server for uploading debug incidents to Debug Memory via Cursor.\n\n## Installation\n\n### 1. Install the MCP Server\n\nClone or download this repository:\n\n```bash\ngit clone https://github.com/yourusername/debug-mcp.git\ncd debug-mcp\n```\n\n### 2. Install Dependencies\n\nUsing [uv](https://github.com/astral-sh/uv) (recommended):\n\n```bash\nuv sync\n```\n\nThis creates a virtual environment at `.venv` and installs all dependencies.\n\nOr install from PyPI using uv:\n\n```bash\nuv pip install debug-mcp\n```\n\n### 3. Get Your API Key\n\n1. Go to your **Debug Memory** dashboard\n2. Navigate to **Settings** → **API Keys**\n3. Create a new API key\n4. Copy the key (starts with `dm_`)\n\n### 4. Configure Cursor\n\nSee **[Cursor Setup Guide](cursor-setup.md)** for detailed instructions.\n\nQuick config - create or edit `.cursor/mcp.json` in your project:\n\n```json\n{\n  \"mcpServers\": {\n    \"debug-incident\": {\n      \"command\": \"uvx\",\n      \"args\": [\"debug-mcp\"],\n      \"env\": {\n        \"WORKSPACE_API_KEY\": \"dm_your_api_key_here\"\n      }\n    }\n  }\n}\n```\n\n**⚠️ Replace:**\n- `dm_your_api_key_here` with your API key from Debug Memory\n\n### 5. Restart Cursor\n\nClose and reopen Cursor for the MCP server to load.\n\n## Usage\n\nOnce configured, the MCP server exposes these tools (see `docs/tools.md` for the full workflow and next_action behavior):\n\n### 1) `ranked_solutions`\n- Search similar incidents and return **env-aware ranked solutions**\n- **Inputs**: `query_text` (required), `env` (required), `limit` (optional, default 5)\n- **Output**: lookup_id, ranked solutions, recommended solution, next_action\n\n### 2) `add_incident`\n- Create a **new incident + solution + outcome** (blocks duplicates if a similar incident already exists)\n- **Inputs**: `title`, `summary`, `error_signature`, `tags`, `steps`, `env`, `worked`, `notes` (optional)\n\n### 3) `add_solution`\n- Add a new fix (or env-specific variant) for an existing incident\n- **Inputs**: `incident_id` (required), `ste…","publisher":null,"homepage":null,"repository":null,"version":"0.1.7","license":null,"protocols":["mcp"],"tags":["mcp"],"pricing":null,"endpoints":[{"url":"pypi:debug-mcp","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","summary":"pypi","version":"pypi","description":"pypi"}},"derived":{"capabilities":[{"slug":"code.debugging","name":"Debugging","confidence":1,"provenance":"derived"},{"slug":"dev.version-control","name":"Version Control","confidence":1,"provenance":"derived"},{"slug":"dev.package-management","name":"Packages & Dependencies","confidence":0.825,"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":"debug-mcp","registry":"pypi","observedAt":"2026-11-03T01:26:09.184Z","publishedAt":"2026-01-16T05:11:39.142474Z","latestVersion":"0.1.7"},"toolSurface":null,"endpointFacts":[]},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"debug-mcp","url":"https://pypi.org/project/debug-mcp/","firstSeenAt":"2026-09-09T14:31:05.357Z","fetchedAt":"2026-11-03T01:25:02.534Z","normalizedAt":"2026-11-03T01:25:02.534Z"}]},"firstSeenAt":"2026-09-09T14:31:05.357Z","updatedAt":"2026-11-03T01:26:09.184Z"}