codemcp
v0.5.0Code 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.
search
Search the available tools by keyword. Returns qualified names and one-line summaries. Use before `describe` or `execute` when you do not already know the tool you need.
| Parameter | Type | Description |
|---|---|---|
query * | string | Keywords, a tool name fragment, or a short task description. |
limit | integer |
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).
| Parameter | Type | Description |
|---|---|---|
detail | string | |
server | string | Describe every tool of this server instead. |
tools | array | Qualified 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…
| Parameter | Type | Description |
|---|---|---|
code * | string | Body 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.
| Parameter | Type | Description |
|---|---|---|
allow * | boolean | |
executionId * | string | |
seq * | integer |