server_status

[debug]

Returns server running status, loaded-workspace state, cache metadata, file-watcher stats, and cached workspace load diagnostics.

Try this tool in Playground.

Parameters

NameTypeRequiredDescription
includeProjectsbooleanNoInclude detailed project information in response. Default is false.

Examples

Check if the server is running

Request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "server_status",
    "arguments": {}
  }
}
Response
{
  "success": true,
  "data": {
    "serverRunning": true,
    "solutionLoaded": true,
    "solutionPath": "/path/to/solution.sln",
    "workspaceDiagnostics": {
      "count": 0,
      "messages": []
    },
    "cache": {
      "cacheStatus": "valid",
      "revision": 3,
      "lastRefreshUtc": "2026-01-12T21:06:33.123Z",
      "loadedKind": "solution",
      "loadedPath": "/path/to/solution.sln"
    },
    "projectCount": 2,
    "fileWatcher": {
      "enabled": true,
      "watchedDirectory": "/path/to/workspace",
      "pendingChanges": 0,
      "activeOperations": 0
    }
  },
  "error": null
}

Response Notes

Returns server/workspace status, cache metadata, watcher stats, and cached workspace load diagnostics.