{"record":{"id":"f8252a3b680496c0","repo":"paperclipai/paperclip","slug":"local-stdio-command-unavailable","errorCode":"local_stdio_command_unavailable","errorMessage":"Local stdio template does not define an executable command","messagePattern":"Local stdio template does not define an executable command","errorType":"http","errorClass":"ToolGatewayHttpError","httpStatus":501,"severity":"error","filePath":"server/src/services/tool-gateway.ts","lineNumber":3438,"sourceCode":"        summary.collisionRules.push({\n          header: name,\n          source: \"credential\",\n          action: \"overrode_previous_header\",\n        });\n      }\n      headers[name] = value;\n    }\n\n    summary.staticHeaderNames.sort();\n    summary.passthroughHeaderNames.sort();\n    summary.droppedPassthroughHeaderNames = [\n      ...new Set(summary.droppedPassthroughHeaderNames),\n    ].sort();\n    summary.metadataHeaderNames.sort();\n    return { headers, summary };\n  }\n\n  async function markRemoteConnectionHealth(\n    connection: typeof toolConnections.$inferSelect,\n    status: \"ok\" | \"error\" | \"missing_secret\" | \"degraded\",\n    message: string | null,\n  ) {\n    const now = new Date();\n    await db\n      .update(toolConnections)\n      .set({\n        healthStatus: status,\n        healthMessage: message,\n        healthCheckedAt: now,\n        lastHealthAt: now,\n        lastError: status === \"ok\" ? null : message,\n        updatedAt: now,\n      })\n      .where(eq(toolConnections.id, connection.id));\n  }\n","sourceCodeStart":3420,"sourceCodeEnd":3456,"githubUrl":"https://github.com/paperclipai/paperclip/blob/3f1d897a7c018d76563a21c6e39c3c9b03933622/server/src/services/tool-gateway.ts#L3420-L3456","documentation":"Pre-launch sanity check in callLocalStdioMcp: the resolved runtime template has no command executable defined, so there is nothing to spawn. Returned as 501 (not implemented) because the template configuration itself is incomplete — fix the template definition rather than retrying the call.","triggerScenarios":"Thrown at server/src/services/tool-gateway.ts:2640 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Define an executable command in the local stdio template configuration."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"3f1d897a7c018d76563a21c6e39c3c9b03933622","analyzedAt":"2026-08-18T22:49:45.177Z","contentChangedAt":"2026-08-18T22:49:45.177Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}