Add standalone recovery MCP runtime
This commit is contained in:
parent
a5cee67754
commit
b3191f4f2c
6 changed files with 42 additions and 10 deletions
15
apps/worker/src/mcp-http-main.ts
Normal file
15
apps/worker/src/mcp-http-main.ts
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import "dotenv/config";
|
||||
|
||||
import { createVoidbotMcpContext } from "./mcp-server-context";
|
||||
import { startVoidbotMcpHttpServer } from "./mcp-http-server";
|
||||
|
||||
async function main(): Promise<void> {
|
||||
await startVoidbotMcpHttpServer({
|
||||
...createVoidbotMcpContext(),
|
||||
});
|
||||
}
|
||||
|
||||
void main().catch((error) => {
|
||||
console.error("Resident MCP HTTP server failed:", error);
|
||||
process.exit(1);
|
||||
});
|
||||
Loading…
Reference in a new issue