astrograph
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ASTROGRAPH_C_LSP_COMMAND | No | TCP endpoint for C LSP (e.g., tcp://host.docker.internal:2087) | |
| ASTROGRAPH_GO_LSP_COMMAND | No | TCP endpoint for Go LSP (e.g., tcp://host.docker.internal:2091) | |
| ASTROGRAPH_JS_LSP_COMMAND | No | Override for JavaScript LSP command | |
| ASTROGRAPH_PY_LSP_COMMAND | No | Override for Python LSP command | |
| ASTROGRAPH_TS_LSP_COMMAND | No | Override for TypeScript LSP command | |
| ASTROGRAPH_CPP_LSP_COMMAND | No | TCP endpoint for C++ LSP (e.g., tcp://host.docker.internal:2088) | |
| ASTROGRAPH_JAVA_LSP_COMMAND | No | TCP endpoint for Java LSP (e.g., tcp://host.docker.internal:2089) |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| completions | {} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| analyzeA | Find duplicate code (verified via graph isomorphism). Returns summary inline. Full details available via the astrograph://analysis/latest resource. File paths in responses are server-internal — use the resource URI instead. |
| suppressA | Suppress a duplicate by WL hash (from analyze output). Only suppress AFTER confirming the duplication is intentional (e.g. API symmetry, test isolation). Refactoring should be the default action for duplicates. |
| unsuppressC | Unsuppress a hash. |
| list_suppressionsA | List suppressed hashes. |
| statusA | Check server readiness. Returns instantly even during indexing. |
| lsp_setupB | Inspect and configure deterministic LSP command bindings for bundled language plugins. Returns a guided recommended_actions plan for search/install/config workflows. |
| metadata_eraseA | Erase all persisted metadata. Resets server to idle. |
| metadata_recompute_baselineB | Erase metadata and re-index the codebase from scratch. |
| generate_ignoreA | Auto-generate .astrographignore with reasonable defaults for excluding files from indexing. |
| set_workspaceA | Set or change the workspace directory. Re-indexes the codebase at the new path. |
| writeA | Write file. Blocks if duplicate exists, warns on similarity. |
| editA | Edit file. Blocks if new code duplicates existing, warns on similarity. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| review-duplicates | Review duplicate code findings and decide whether to suppress, refactor, or skip each group. |
| setup-lsp | Guided workflow to install and configure LSP servers for language support. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Server Status | Current server readiness and statistics |
| Latest Analysis | Most recent duplicate analysis report |
| Suppressions | Currently suppressed duplicate hashes |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Thaylo/astrograph'
If you have feedback or need assistance with the MCP directory API, please join our Discord server