@pharaoh-so/mcp 0.3.6 → 0.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/inspect-tools.json +38 -0
- package/package.json +1 -1
package/inspect-tools.json
CHANGED
|
@@ -329,6 +329,44 @@
|
|
|
329
329
|
"taskSupport": "forbidden"
|
|
330
330
|
}
|
|
331
331
|
},
|
|
332
|
+
{
|
|
333
|
+
"name": "trace_flow",
|
|
334
|
+
"description": "Understand how a feature works by tracing its execution flow — what it calls, what those call, across modules.\n\nCALL THIS WHEN:\n• Someone asks \"how does X work?\" or \"what happens when X?\"\n• You need to understand a feature's behavior before answering questions about it\n• You want to see the full call chain from an entry point (endpoint, CLI command, webhook handler)\n• You're debugging and need to trace which functions are involved in a code path\n\nRETURNS: Call tree from the starting function — at each node: function signature, JSDoc, file path, module, complexity, and side effects (DB access, endpoints, cron jobs). Depth-limited and token-efficient.\n\nEXAMPLES:\n• \"How does the device auth flow work?\" → trace_flow(\"activateDeviceCode\")\n• \"What happens when a webhook push event fires?\" → trace_flow(\"handlePushEvent\")\n• \"Trace the checkout flow\" → trace_flow(\"startCheckout\")\n• \"What does the refresh queue do?\" → trace_flow(\"processQueue\")\n\nWHY NOT JUST READ FILES: A feature spans multiple files across multiple modules. Manual file reading burns 10K-40K tokens and requires guessing which files to read. This shows the complete execution path in ~500 tokens, letting you target reads to only the functions that matter.",
|
|
335
|
+
"inputSchema": {
|
|
336
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
337
|
+
"type": "object",
|
|
338
|
+
"properties": {
|
|
339
|
+
"repo": {
|
|
340
|
+
"type": "string",
|
|
341
|
+
"description": "Repository name. Works with your connected repos or any public open source repo by GitHub slug (e.g., 'vercel/next.js')."
|
|
342
|
+
},
|
|
343
|
+
"function": {
|
|
344
|
+
"type": "string",
|
|
345
|
+
"description": "Function name (exact match, case-insensitive)"
|
|
346
|
+
},
|
|
347
|
+
"file": {
|
|
348
|
+
"description": "File path substring to disambiguate when multiple functions share a name",
|
|
349
|
+
"type": "string"
|
|
350
|
+
},
|
|
351
|
+
"depth": {
|
|
352
|
+
"description": "How many hops to trace forward (default: 3, max: 5)",
|
|
353
|
+
"type": "number"
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
"required": [
|
|
357
|
+
"repo",
|
|
358
|
+
"function"
|
|
359
|
+
]
|
|
360
|
+
},
|
|
361
|
+
"annotations": {
|
|
362
|
+
"title": "Trace Execution Flow",
|
|
363
|
+
"readOnlyHint": true,
|
|
364
|
+
"destructiveHint": false
|
|
365
|
+
},
|
|
366
|
+
"execution": {
|
|
367
|
+
"taskSupport": "forbidden"
|
|
368
|
+
}
|
|
369
|
+
},
|
|
332
370
|
{
|
|
333
371
|
"name": "check_reachability",
|
|
334
372
|
"description": "Check if functions are reachable from production entry points (API endpoints, CLI commands, cron jobs, event handlers, MCP tools).\n\nCALL THIS WHEN:\n• After implementing a feature — verify new code is wired into the app\n• Reviewing a PR — are all new functions actually reachable?\n• Cleaning up dead code — find functions only called by tests\n• Before opening a PR — run this as a pre-flight check\n\nRETURNS: For each exported function, whether it's reachable from a production entry point,\nthe path from entry point to function, and classification (entry_point / reachable / unreachable).\n\nTIER: Pharaoh Pro — free tier receives a preview. Summarize what the preview reveals, explain what full data would show for this task, then include the upgrade link.",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pharaoh-so/mcp",
|
|
3
3
|
"mcpName": "so.pharaoh/pharaoh",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.7",
|
|
5
5
|
"description": "MCP proxy for Pharaoh — maps codebases into queryable knowledge graphs for AI agents. Enables Claude Code in headless environments (VPS, SSH, CI) via device flow auth.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|