setup-mcp

Convert and validate MCP configurations into cosh's mcpServers structure.

327|85|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/alibaba/anolisa --skill setup-mcp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-mcp
Source: https://github.com/alibaba/anolisa/tree/main/src/os-skills/ai/setup-mcp
Command: npx skills add https://github.com/alibaba/anolisa --skill setup-mcp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

在 cosh 中添加、配置 MCP 服务器,自动转换格式并保证 JSON 正确。用户经常从 Claude Desktop、VS Code、GitHub README 等来源粘贴 MCP 配置,但它们的格式与 cosh 不兼容。不要把粘贴的内容直接塞给验证脚本,而是从用户输入中理解他们要配置的 MCP,并按 cosh 的格式写出正确的配置。验证脚本只用来做最后的合并写入和校验。

Core Features & Use Cases

  • 自动转换:将来自不同来源的 MCP 配置转换为 cosh 可接受的 mcpServers 结构。
  • 合并与校验:将新配置合并到现有设置并执行 JSON 校验。
  • 快速示例:帮助用户快速在本地或全局范围内应用 MCP 设置。

Quick Start

提供要配置的 MCP 服务信息,系统将生成 cosh 格式的配置并执行合并与校验。

Frequently Asked Questions about setup-mcp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure MCP servers in cosh using settings from Claude Desktop or VS Code?

To configure MCP servers in cosh, the Skill converts configurations from Claude Desktop or VS Code into the cosh mcpServers structure. It parses your pasted input, reformats it to match cosh requirements, and then merges it into your existing settings.

Why does my pasted MCP configuration fail JSON validation in cosh?

MCP configuration fails JSON validation when unsupported fields are present or the syntax is malformed. The Skill enforces supported fields and performs JSON validation, providing guidance to correct malformed inputs before merging them into your cosh settings.

Can I directly copy an MCP server configuration from a GitHub README into cosh?

Yes, you can copy MCP server configurations from a GitHub README into cosh. The Skill interprets the pasted configuration content, standardizes the format into the cosh mcpServers structure, and validates the JSON before applying it.

What is the best way to merge new MCP server settings with existing cosh configurations?

The best way to merge new MCP server settings is using the Skill's automated merge and validation process. It unifies your input into the cosh mcpServers structure, safely merges it with existing settings, and executes a validation script to ensure correctness.

Does the Skill support applying MCP configurations to both local and global scopes?

Yes, the Skill supports applying MCP configurations to both local and global scopes. After converting and validating your input into the cosh mcpServers structure, it provides quick examples to help you apply the settings to your desired scope.