mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-06 03:42:11 +02:00
Advance TS port Effect workbench
This commit is contained in:
parent
92dae8c374
commit
3515106670
116 changed files with 12286 additions and 9584 deletions
|
|
@ -1 +1,2 @@
|
|||
export { createMcpServer, run } from "./server.js";
|
||||
export * from "./server-effect.js";
|
||||
|
|
|
|||
1726
ts/packages/mcp/src/server-effect.ts
Normal file
1726
ts/packages/mcp/src/server-effect.ts
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -418,7 +418,7 @@ export function createMcpServer(config: {
|
|||
|
||||
export async function run(): Promise<void> {
|
||||
const { server, socket } = createMcpServer({
|
||||
gatewayUrl: process.env.GATEWAY_URL ?? "ws://localhost:8088/api/v1/socket",
|
||||
gatewayUrl: process.env.GATEWAY_URL ?? "ws://localhost:8088/api/v1/rpc",
|
||||
user: process.env.USER_ID ?? "mcp",
|
||||
flowId: process.env.FLOW_ID ?? "default",
|
||||
...(process.env.GATEWAY_SECRET !== undefined
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue