tambahan
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Elysia } from "elysia";
|
||||
import { v4 as uuidv4 } from "uuid";
|
||||
|
||||
const API_KEY = process.env.MCP_API_KEY ?? "change-me";
|
||||
const API_KEY = process.env.MCP_API_KEY ?? "super-secret-key";
|
||||
const PORT = Number(process.env.PORT ?? 3000);
|
||||
const PING_INTERVAL_MS = 25_000;
|
||||
|
||||
|
||||
6
x.sh
6
x.sh
@@ -1,2 +1,6 @@
|
||||
curl -N -v -X GET "https://cld-dkr-prod-jenna-mcp.wibudev.com/mcp/test-session-id"
|
||||
# curl -N -v -X GET "https://cld-dkr-prod-jenna-mcp.wibudev.com/mcp/test-session-id"
|
||||
|
||||
curl -X POST http://localhost:3000/mcp/test-room \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "X-API-Key: super-secret-key" \
|
||||
-d '{"event":"notice","data":{"msg":"hello world"}}'
|
||||
|
||||
Reference in New Issue
Block a user