constellation-troubleshooting
This skill should be used when the user asks about "Constellation errors", "fix Constellation", "debug Constellation", "Constellation not working", "API connection issues", "indexing problems", "MCP s
SKILL.mdskills/constellation-troubleshooting/SKILL.md
GitHubConstellation Troubleshooting
Quick diagnostic procedures for Constellation plugin issues.
Quick Diagnosis Flowchart
Issue Reported
|
v
Can the code_intel tool be called?
| |
YES NO
| |
v v
API Error MCP Server Issue
(has code) (see MCP Diagnosis)
|
v
Check error.code:
- AUTH_ERROR --> Authentication section
- PROJECT_NOT_INDEXED --> Indexing section
- SYMBOL_NOT_FOUND --> Query Issues section
- API_UNREACHABLE --> Connectivity section
When you report an error to the user, start with ✦ >_CONSTELLATION://CODE_INTEL · <topic> and put the error on one line as ✗ CODE · headline · next step, for example ✗ PROJECT_NOT_INDEXED · This project hasn't been indexed yet · const index. Write every CLI command with its const shorthand (const auth, const index), even where the error guidance spells out constellation.
In the terminal and the desktop app, the Constellation onboarding band above the prompt offers Sign in and Index this project buttons (on Windows it names the command to run in a terminal instead). The manual steps below still apply.
MCP Server Issues
Symptom: "Failed to reconnect to plugin:constellation:constellation" or tool calls fail entirely.
Cause: The MCP server isn't starting or is crashing.
Quick Fixes:
Restart Claude Code: MCP connections initialize at startup
Verify MCP configuration:
Note, the tool is built into the Constellation plugin, but should accurately reflect the following:
{ "mcpServers": { "constellation": { "type": "stdio", "command": "npx", "args": ["-y", "@constellationdev/mcp@1.2.11"], "env": { "CONSTELLATION_ACCESS_KEY": "${CONSTELLATION_ACCESS_KEY}" } } } }
Authentication Issues (AUTH_ERROR)
Symptom: "Authentication failed" or "Invalid API key"
Quick Fixes:
Configure credentials:
const authCheck if access key is properly set:
In the event of
AUTH_ERRORfailures the MCP server provides details in theerror.guidance[0]value of the response object, indicating the current state of theCONSTELLATION_ACCESS_KEYenvironment variable.If key is expired: Regenerate in Constellation web UI under Settings > API Keys
Indexing Issues (PROJECT_NOT_INDEXED)
Symptom: "Project not indexed" or empty results
Quick Fixes:
Index the project:
cd /path/to/your/project const indexForce reindex if stale:
const index --full --force
Connectivity Issues (API_UNREACHABLE)
Symptom: Timeout or connection refused
Quick Fixes:
Check network connectivity
Check Constellation status at https://status.constellationdev.io/
Query Issues (SYMBOL_NOT_FOUND, FILE_NOT_FOUND)
These are typically not errors: the item simply wasn't found in the index.
Troubleshooting:
- Try partial/broader search terms
- Check spelling and case sensitivity
- Verify the file extension is in configured languages
- Re-index if the file was recently added
Diagnostic Command
Run /constellation:diagnose for a quick health check that tests:
- MCP server connectivity
- API authentication
- Project indexing status
See references/error-codes.md for complete error code documentation.