360 Secure SkillHub
360 安全技能中心

mcp-config

这是一款MCP服务器配置与诊断工具,核心功能包括添加服务器(含范围选择与注册验证)、变更服务器范围、查看不同代理的JSON格式参考、获取常用服务器目录、诊断连接故障。适用于添加MCP服务器、调整服务器范围、解决连接失败、查询配置格式等场景,输入对应指令即可获取操作指引。

drumrobot
drumrobot
热度 40.06
最近更新 2026-09-18 23:56:17
分类:开发依赖:MCP 服务 / 读写文件应用场景:API 集成 / 调试排错 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add mcp-config
Metadata
name
mcp-config
metadata
{"author":"es6kr","version":"0.1.2"}
description
MCP server configuration and diagnostics. add - add server (scope selection + registration) [add.md], move - change server scope (project→local, local→user) [move.md], format - JSON format reference (differences per agent) [format.md], catalog - list of commonly used servers [catalog.md], diagnostics - connection failure diagnosis and troubleshooting [diagnostics.md]. Use when: "add MCP", "mcp-config", "MCP server config", "add context7", "MCP format", "MCP server list", "move MCP", "MCP scope", "scope change", "MCP connection failed", "MCP error", "Failed to reconnect", "code-mode not working", "MCP server issue".

MCP Server Configuration

Correctly add and manage MCP servers in the .mcp.json file.

Topics

Topic Description Guide
add Add server (scope selection + registration + validation) add.md
catalog Catalog of commonly used MCP servers catalog.md
diagnostics Connection failure diagnosis and troubleshooting diagnostics.md
format JSON format reference (differences per agent) format.md
move Change server scope (project→local, local→user) move.md

Quick Reference

"add MCP"              → add topic (scope selection → registration)
"add context7"         → add topic + refer to catalog for config
"move MCP"             → move topic (scope change: remove + re-add)
"MCP format"           → format topic (JSON differences per agent)
"MCP server list"      → catalog topic
"MCP connection failed" → diagnostics topic (connection troubleshooting)
"Failed to reconnect"  → diagnostics topic

Core Rules

  • New MCP server = register as a separate key (do not put inside an existing server's env)
  • Scope selection AskUserQuestion required (global vs project, agent selection)
  • Antigravity requires transport: "stdio"