mcpField
C
codemcp

codemcp

Local
github.com/stackunseenDeveloper Tools0Updated 6d ago

About codemcp

codemcp is an MCP command-line tool and proxy server for developers who need to inspect and invoke tools across MCP servers. It supports search, description, and execution, configurable passthrough patterns, and TypeScript stubs for models.

Key features

  1. 01Import server configuration from MCP clients
  2. 02List tools and their pin status
  3. 03Generate TypeScript stubs for model context
  4. 04Proxy search, description, and tool execution
  5. 05Support configured passthrough patterns

Use cases

  1. 01Collect MCP server configuration from clients
  2. 02Inspect tools exposed by connected servers
  3. 03Review TypeScript interfaces available to a model
  4. 04Invoke tools across servers through a proxy

MCP support

codemcp can run as a stdio proxy server, advertising search, describe, and execute to MCP clients, along with configured passthrough patterns.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"stackunseen-codemcp": {
"command": "npx",
"args": [
"-y",
"codemcp-cli"
]
}
}
}
Run commandnpx -y codemcp-cli

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmcodemcp-cli0.5.0

Tools

4

Saved tool list · updated 5d ago

ParameterTypeRequiredDescription
limitintegerNo
querystringYesKeywords, a tool name fragment, or a short task description.

Details

From the project 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);

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.