Skip to the content.

πŸ›  NakshAstraMCP Troubleshooting Guide

Recovery Center: Resolve connectivity, indexing, and platform-specific issues.


This guide helps resolve common issues encountered while setting up or using NakshAstraMCP.


πŸ” Diagnostic Tool: doctor

The first step for any issue is to run the built-in diagnostic tool. This verifies your environment, permissions, and dependencies.

nakshastramcp doctor

Review the output for any checks marked as FAILED or WARNING. The doctor performs 12 comprehensive checks covering your runtime, permissions, disk space, and port availability.


πŸ›  Common Issues

1. Protocol Error: invalid character '_' looking for beginning of value

If your IDE (VS Code, Cursor, etc.) shows this error, it’s typically because the IDE is trying to read the protocol via stdio, but the server is printing an informative banner or log message to the same stream.

Fix: Ensure your IDE configuration includes the --transport stdio flag. This correctly isolates the protocol stream from informative messages.

"args": ["start", "--transport", "stdio"]

2. Dual Transport Bridge Port Conflicts

The background HTTP bridge defaults to port 2102. If this port is in use, the bridge will fail to start, though the host stdio session (IDE) will remain functional.

Fix: You can specify a custom port for the bridge:

nakshastramcp start --port 3000

Then, update your follower applications to connect to http://127.0.0.1:3000/mcp.

3. Server Not Responding / Indexing Issues

If the server appears slow or search results are outdated:

4. High Memory Usage

NakshAstraMCP includes a Memory Guard that monitors system memory usage. If memory consumption is elevated:

5. Files Not Being Indexed

If certain files are not appearing in search results:

6. Dashboard Not Loading

If nakshastramcp ui does not launch the dashboard:


πŸ“ Investigation

If you need to investigate further, use the built-in diagnostic commands:

  1. nakshastramcp status: View overall server health and indexing progress.
  2. nakshastramcp logs [--follow]: Stream the server logs directly to your console. This is the fastest way to identify runtime issues.
  3. nakshastramcp doctor: Perform a comprehensive environment audit.

If the built-in commands are insufficient, log files are maintained in your platform’s standard user data directory:

When reporting a bug, please include relevant snippets from these logs. Note: Source code snippets are never logged; only indexing counts and performance metrics are tracked.


🏠 Home | πŸš€ Setup Guide | πŸ“– User Guide