界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

mcp-server

mcp-server

【开发与工程】Configure, launch, validate, and troubleshoot CCAM's comprehensive MCP server for Claude Code, Codex, and other MCP hosts. Use when installing dependencies, building the server, selecting stdio, HTTP, or REPL transport, setting mutation/destructive policy, supplying dashboard authentication, or checking complete tool registration.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: mcp-server description: > Configure, launch, validate, and troubleshoot CCAM's comprehensive MCP server for Claude Code, Codex, and other MCP hosts. Use when installing dependencies, building the server, selecting stdio, HTTP, or REPL transport, setting mutation/destructive policy, supplying dashboard authentication, or checking complete tool registration.

MCP Server

Build

npm run mcp:install
npm run mcp:typecheck
npm run mcp:build

Normal npm run setup performs install and build automatically.

Launch

ccam mcp stdio
ccam mcp http
ccam mcp repl

Policy

  • Reads are enabled by default.
  • Writes require MCP_DASHBOARD_ALLOW_MUTATIONS=true.
  • Full data clearing additionally requires MCP_DASHBOARD_ALLOW_DESTRUCTIVE=true and the exact tool argument confirmation_token = "CLEAR_ALL_DATA". CLEAR_ALL_DATA is not an environment variable.
  • Set MCP_DASHBOARD_API_TOKEN when the dashboard uses DASHBOARD_TOKEN.
  • The target URL remains restricted to loopback and approved container-host names.

Validate with npm run test:mcp. Protocol and REPL transports must expose the same catalog because both use the canonical domain registration path.

我的收藏