Skip to content

Commit 1fecd69

Browse files
committed
add logs
1 parent ef361a4 commit 1fecd69

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/mighty-ghosts-search.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"opencontrol": patch
3+
---
4+
5+
add logs

packages/opencontrol/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ export function create(input: { tools: Tool[]; key?: string }) {
2222
})
2323
.post("/mcp", async (c) => {
2424
const body = await c.req.json()
25+
console.log("mcp", "request", body)
2526
const result = await mcp.process(body)
27+
console.log("mcp", "result", result)
2628
return c.json(result)
2729
})
2830
}

0 commit comments

Comments
 (0)