Skip to main content
Glama
Thaylo
by Thaylo

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ASTROGRAPH_C_LSP_COMMANDNoTCP endpoint for C LSP (e.g., tcp://host.docker.internal:2087)
ASTROGRAPH_GO_LSP_COMMANDNoTCP endpoint for Go LSP (e.g., tcp://host.docker.internal:2091)
ASTROGRAPH_JS_LSP_COMMANDNoOverride for JavaScript LSP command
ASTROGRAPH_PY_LSP_COMMANDNoOverride for Python LSP command
ASTROGRAPH_TS_LSP_COMMANDNoOverride for TypeScript LSP command
ASTROGRAPH_CPP_LSP_COMMANDNoTCP endpoint for C++ LSP (e.g., tcp://host.docker.internal:2088)
ASTROGRAPH_JAVA_LSP_COMMANDNoTCP endpoint for Java LSP (e.g., tcp://host.docker.internal:2089)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
completions
{}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription
review-duplicatesReview duplicate code findings and decide whether to suppress, refactor, or skip each group.
setup-lspGuided workflow to install and configure LSP servers for language support.

Resources

Contextual data attached and managed by the client

NameDescription
Server StatusCurrent server readiness and statistics
Latest AnalysisMost recent duplicate analysis report
SuppressionsCurrently suppressed duplicate hashes

Latest Blog Posts

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