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.

The codemcp command and the MCP server behind it. Point your MCP client at npx codemcp-cli serve. It advertises three tools, search, describe and execute, plus any passthrough patterns from the config.

Summary extracted from the README.

codemcp

The codemcp command and the MCP server behind it.

codemcp import --write      # discover servers from your MCP clients into codemcp.config.json
codemcp tools               # connect and list every tool with its pin status
codemcp stubs --detail full # print the TypeScript the model will see
codemcp serve               # run the proxy over stdio

Point your MCP client at npx codemcp-cli serve. It advertises three tools, search, describe and execute, plus any passthrough patterns from the config.

Programmatic use:

import { Proxy } from "codemcp-cli";

const proxy = new Proxy({ config: { servers: { shop: { command: "node", args: ["catalog-server.mjs"] } } } });
await proxy.start();
await proxy.server.connect(transport);