codemcp

v0.5.0
io.github.stackunseen/codemcp Checked 4 days ago Published 1 month ago

Code mode for MCP: search, describe and execute over all your servers, with a sandbox and approvals.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

describe

Return TypeScript signatures (and, with detail=full, documentation and output types) for the given tools or for every tool of a server. Call this to learn exact argument shapes before writing code. Servers: (none connected).

ParameterTypeDescription
detailstring
serverstringDescribe every tool of this server instead.
toolsarrayQualified names (server.tool) or stub paths (tools.server.tool).

execute

Run TypeScript/JavaScript in a sandbox. Call tools as `await tools.<server>.<tool>({...})`. Use loops, filters and `console.log` freely; only the returned value and logs come back to you. The sandbox has no network, filesystem, timers beyond the deadline, or access to credentials. Return a compact result; large intermediate data should stay in the sandbox. Write the body of an async function. Use `return` to send a value back. Tools are at `tools.<server>.<tool>(args)` and return Promises. Call `describe` first for exact types. Independent tool calls may run concurrently with Promise.all. Erro…

ParameterTypeDescription
code *stringBody of an async function. Use `return` for the result.

approve

Resume an execution that paused for approval. Only call this after a human has explicitly decided.

ParameterTypeDescription
allow *boolean
executionId *string
seq *integer