trustgraph/ts/scripts/run-mcp-tool.ts

19 lines
399 B
TypeScript
Raw Normal View History

/**
* Start the MCP tool service.
*
* Usage: pnpm tsx scripts/run-mcp-tool.ts
*
* Env:
* NATS_URL (default: nats://localhost:4222)
*/
2026-06-01 16:22:25 -05:00
import { run as runMcpToolService } from "../packages/flow/src/agent/mcp-tool/index.js";
async function run(): Promise<void> {
2026-06-01 16:22:25 -05:00
await runMcpToolService();
}
run().catch((err) => {
console.error("MCP tool service failed:", err);
process.exit(1);
});