# io.github.erayerturk/surgical-context-mcp (pypi · surgical-context-mcp)

Local Tree-sitter code graph: surgical edit context for AI agents instead of full-file reads.

- Trust score: 74/100 (medium)
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-05

## Components

- pypi · `surgical-context-mcp`: 74/100 (this document), [markdown](https://verifymcp.io/servers/erayerturk-surgical-context-mcp/surgical-context-mcp.md), [page](https://verifymcp.io/servers/erayerturk-surgical-context-mcp/surgical-context-mcp)

## Channel facts

- Registry: `pypi`
- Package: `surgical-context-mcp`
- Version: `0.1.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-05.

- **Supply Chain Security**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - Runs setuptools.build_meta at install time, a recognised build step with no custom scripting around it.
  - 1 of 37 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 97/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to erayerturk/surgical-context-mcp).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 3 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 57/100
  - AI-judged instruction clarity (fair).
  - Tool/resource definitions use about 487 tokens (~69/item across 7 items; 7 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 71/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 0% of tool parameters carry a description.
  - Structured output schemas are declared (100% of tools); any adoption earns full credit.
- **Tool Safety**: 75/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - 0 of 1 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation; "check_rename_or_delete" implies "delete" and declares no destructiveHint at all, which the MCP spec reads as destructive by default.
  - An AI judge read all 8 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a current MCP spec version (2026-07-28).

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### How do I install the io.github.erayerturk/surgical-context-mcp server?

io.github.erayerturk/surgical-context-mcp runs locally as a PyPI package, launched with uvx surgical-context-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add erayerturk-surgical-context-mcp -- uvx surgical-context-mcp
```

### Cursor

```json
{
  "mcpServers": {
    "erayerturk-surgical-context-mcp": {
      "command": "uvx",
      "args": [
        "surgical-context-mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "erayerturk-surgical-context-mcp": {
      "command": "uvx",
      "args": [
        "surgical-context-mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add erayerturk-surgical-context-mcp -- uvx surgical-context-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "erayerturk-surgical-context-mcp": {
      "type": "local",
      "command": [
        "uvx",
        "surgical-context-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add erayerturk-surgical-context-mcp --command uvx --arg surgical-context-mcp
```

### Hermes

```yaml
mcp_servers:
  erayerturk-surgical-context-mcp:
    command: "uvx"
    args: ["surgical-context-mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "erayerturk-surgical-context-mcp": {
      "Transport": "stdio",
      "Command": "uvx",
      "Arguments": [
        "surgical-context-mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add erayerturk-surgical-context-mcp -t stdio -c uvx -a surgical-context-mcp
```

### Other

```json
{
  "mcpServers": {
    "erayerturk-surgical-context-mcp": {
      "command": "uvx",
      "args": [
        "surgical-context-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-05 (score 74, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-11-04 (score 59, −15)

- [security regression] Malware scan: pass → unverified

### 2026-11-03 (score 74, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-11-01 (score 59)

First indexed and scored.

## MCP tools (7)

### `get_architecture_map` (~56 tokens)

Call at session start to orient without Glob/Grep. Returns God Nodes (central hubs), subsystem clusters, Godot autoloads, and top event channels.

Input parameters:

- `project_path`
- `top_n` (integer)

Output parameters:

- `result` (string)

### `get_edit_context` (~67 tokens)

Call before modifying a symbol. Returns file skeleton, full target body, used members/callees, caller ±5L windows, other signatures, and coverage warnings within `budget_tokens`.

Input parameters:

- `budget_tokens` (integer)
- `project_path`
- `symbol` (string, required)

Output parameters:

- `result` (string)

### `check_rename_or_delete` (~61 tokens)

Call before deleting, renaming, or changing a signature. Returns all call sites, overrides, `.tscn` connections, signal emit/connect sites, and string/dynamic text references.

Input parameters:

- `project_path`
- `symbol` (string, required)

Output parameters:

- `result` (string)

### `get_symbol_impact` (~89 tokens)

Get callers, callees, events, coverage warnings, and exact file:line ranges for `symbol` (`name`, `Class.method`, or `file::symbol`).

Input parameters:

- `depth` (integer)
- `max_lines` (integer)
- `max_tokens` (integer)
- `output_format` (string)
- `project_path`
- `symbol` (string, required)

Output parameters:

- `result` (string)

### `find_flow` (~65 tokens)

Find shortest high-confidence call/signal/event path between `from_symbol` and `to_symbol`.

Input parameters:

- `from_symbol` (string, required)
- `max_depth` (integer)
- `output_format` (string)
- `project_path`
- `to_symbol` (string, required)

Output parameters:

- `result` (string)

### `search_symbols` (~56 tokens)

Search indexed symbols by substring and optional `kind` (`class`, `function`, `method`, `event`).

Input parameters:

- `kind`
- `limit` (integer)
- `project_path`
- `query` (string)

Output parameters:

- `result` (string)

### `reindex_project` (~35 tokens)

Incrementally update `.code_graph.sqlite` and return index diagnostics.

Input parameters:

- `force` (boolean)
- `project_path`

Output parameters:

- `result` (string)

## Diagnostics

Captured diagnostic sections: Provenance, Install scripts, Dependencies. The full working is on the page: https://verifymcp.io/servers/erayerturk-surgical-context-mcp/surgical-context-mcp#diagnostics

## Score history

- 2026-11-05: 74
- 2026-11-04: 59
- 2026-11-03: 74
- 2026-11-02: 59
- 2026-11-01: 59

## Common questions

### What is the io.github.erayerturk/surgical-context-mcp server?

io.github.erayerturk/surgical-context-mcp is listed in the public MCP registry as io.github.erayerturk/surgical-context-mcp. Local Tree-sitter code graph: surgical edit context for AI agents instead of full-file reads. This page covers its PyPI package (surgical-context-mcp).

### Is the io.github.erayerturk/surgical-context-mcp server safe to use?

io.github.erayerturk/surgical-context-mcp scores 74 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 5 November 2026. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the io.github.erayerturk/surgical-context-mcp server expose?

io.github.erayerturk/surgical-context-mcp exposes 7 tools: get_architecture_map, get_edit_context, check_rename_or_delete, get_symbol_impact, find_flow, and 2 more. Their descriptions and schemas cost roughly 429 tokens of context every time the server is loaded.

### Is the io.github.erayerturk/surgical-context-mcp server still maintained?

io.github.erayerturk/surgical-context-mcp is still listed as active in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the io.github.erayerturk/surgical-context-mcp server under?

io.github.erayerturk/surgical-context-mcp declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

### What did VerifyMCP test on the io.github.erayerturk/surgical-context-mcp server?

VerifyMCP ran 15 checks on io.github.erayerturk/surgical-context-mcp, covering Malware scan, Known CVEs, Install scripts, Dependency health and 11 more. One item could not be completed, a gap on our side rather than a finding about io.github.erayerturk/surgical-context-mcp: Stability. One category scores 0 for that reason, because we only credit what we can confirm. Endpoint Security and Transport & Reachability do not apply to a PyPI package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.

## Links

- PyPI project: https://pypi.org/project/surgical-context-mcp/
- Socket report: https://socket.dev/pypi/package/surgical-context-mcp
- Repository: https://github.com/erayerturk/surgical-context-mcp
- Changelog RSS feed: https://verifymcp.io/servers/erayerturk-surgical-context-mcp/surgical-context-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/erayerturk-surgical-context-mcp/surgical-context-mcp/changelog.json
- Trust report (JSON): https://verifymcp.io/servers/erayerturk-surgical-context-mcp/surgical-context-mcp.json
- HTML version of this page: https://verifymcp.io/servers/erayerturk-surgical-context-mcp/surgical-context-mcp
