codemcp

io.github.stackunseen由 GitHub 帳號 stackunseen 發布v0.5.0更新於 Nov 7, 2026

MCP 程式碼模式:在你的所有伺服器上搜索、描述和執行,並配有沙箱和核准機制。

AI 翻譯由 AI 模型根據下方的原文描述翻譯,可能有誤。

原文描述

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

已驗證STDIO僅桌面開發者工具AI 與機器學習

概覽

codemcp 的本機 MCP 服務;無需登入;STDIO;4 個工具。

暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 codemcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

codemcp

The codemcp command and the MCP server behind it.

bash
codemcp import --write      # discover servers from your MCP clients into codemcp.config.jsoncodemcp tools               # connect and list every tool with its pin statuscodemcp stubs --detail full # print the TypeScript the model will seecodemcp 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:

ts
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);

來源:packages/proxy/README.md,提交 c41275a

工具

4

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).

輸入參數toolsdetailserver

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. Errors from tools throw; catch them if you want to continue.

輸入參數code必填

approve

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

輸入參數seq必填allow必填executionId必填

版本歷史

2
  1. v0.5.0最新Nov 3, 2026
  2. v0.4.0Oct 30, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分