Carbon MCP 标志

Carbon MCP

组织
carbon-design-system

Carbon MCP provides tools to explore Carbon Design System components, tokens, and icons, answer documentation questions, and generate consistent UI code.

发布者carbon-design-system
代码仓库carbon-mcp
语言HTML
复刻数
8
星标数
42
可用工具
0
传输类型stdio
链接
  • 将工具接入 AI 工作流

    Carbon MCP 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 42 个星标和 8 个复刻。

Carbon MCP

The Carbon Design System, available to any AI agent.

Carbon MCP is a hosted server that gives AI agents direct access to Carbon's components, icons, charts and documentation through MCP, the open Model Context Protocol standard for connecting AI applications to external tools and data. It runs on IBM Cloud, so any MCP client can connect with a URL and an IBMid sign-in. This repository is where you report issues, request features and get the Carbon Builder skill.


Why Carbon MCP

Carbon MCP makes any agentic AI application an instant expert in the Carbon Design System, so teams deliver consistent, high-quality user experiences with greater speed.

BenefitWhat it means
Direct access to CarbonAI agents query the Carbon Design System for the context they need: colors, typography, component source, usage guidelines.
Better generated codeCode examples and documentation from Carbon MCP let AI tools generate high-fidelity Carbon UI code that follows design and development practice.
One answer for the whole teamDesigners, developers and PMs get consistent answers and examples from a shared source of truth, which reduces drift and rework.

Connect

The Carbon MCP server is hosted remotely at https://mcp.carbondesignsystem.com/mcp. Add it to your client as a remote MCP server and sign in with your IBMid when asked.

Clients that read an mcp.json file use this minimal configuration:

json
{
  "mcpServers": {
    "carbon-mcp": {
      "type": "streamable-http",
      "url": "https://mcp.carbondesignsystem.com/mcp"
    }
  }
}
ClientSetup
IBM BobOnboarding: IBM Bob
Claude DesktopOnboarding: Claude Desktop
CursorOnboarding: Cursor
Figma MakeOnboarding: Figma Make
Claude Code, VS Code, GitHub Copilot and other clientsOnboarding: Other clients
Clients without OAuthToken and session ID

The full onboarding and setup guide covers what to have before you begin, the prerequisites, connecting to the server and every client above.

Token and session ID

If your client does not support OAuth discovery, you can authenticate with a token and session ID instead.

  1. Generate a token and session ID.
  2. Copy your credentials and add them to your Carbon MCP configuration.

Pair it with the Carbon Builder skill

Carbon Builder is a portable AI skill that turns an agent into an expert Carbon Design System engineer. It retrieves live component examples, variants, props and documentation from the Carbon MCP server, generates Carbon React and Web Components code, and builds Carbon Charts across every supported framework.

The server supplies the facts; the skill tells the agent when to ask for them and how to turn the answers into working code. Together they produce better results than either alone.

Install it with the skills CLI, choosing the line for your agent:

bash
npx skills add https://github.com/carbon-design-system/carbon-mcp/tree/main/public/skills/carbon-builder -g -a bob
npx skills add https://github.com/carbon-design-system/carbon-mcp/tree/main/public/skills/carbon-builder -g -a claude-code
npx skills add https://github.com/carbon-design-system/carbon-mcp/tree/main/public/skills/carbon-builder -g -a cursor
npx skills add https://github.com/carbon-design-system/carbon-mcp/tree/main/public/skills/carbon-builder -g -a codex
npx skills add https://github.com/carbon-design-system/carbon-mcp/tree/main/public/skills/carbon-builder -g -a github-copilot
npx skills add https://github.com/carbon-design-system/carbon-mcp/tree/main/public/skills/carbon-builder -g -a gemini-cli

The CLI supports many more agents; see skills.sh. The skill has its own page at skills.sh/carbon-design-system/carbon-mcp/carbon-builder.

To install without the CLI, download carbon-builder.zip, unzip it, and copy the carbon-builder/ folder to your client's skills location. The skill README lists the path for each client, and the onboarding guide walks through it in Set up your AI client and install the Carbon Builder skill.

Tools

ToolWhat it returns
code_auditA check of your code against Carbon guidelines covering design tokens, component usage, accessibility, layout and best practices.
code_searchCarbon React and Web Components code examples, icons and pictograms, including complete example application files.
docs_searchCarbon Design System and IBM Products documentation, such as component guidance, usage, accessibility and reference material.
get_chartsCarbon Charts code examples for React, Angular, Vue, Svelte, Vanilla JS and HTML.
labs_searchCode examples, props, events and usage docs for Carbon Labs experimental components.

Coverage

Carbon MCP continues to evolve. Current coverage:

CorpusExamplesWhat is indexed
@carbon/reactButton, Tabs, TextInputCode examples and documentation, multiple variants per component, complete props and imports
@carbon/web-componentsbutton, tabs, text-inputCode examples and documentation, multiple variants per component, complete props and imports
Carbon for IBM ProductsTearsheets, PageHeaderCode examples and documentation, multiple variants per component, complete props and imports
Carbon Icons and PictogramsSettings, User, UserAvatarFilledCode examples and documentation, usage
@carbon/ai-chatbasic, custom-element, historyCode examples and documentation, full code examples, complete props and imports
@carbon/chartsChart types, with links to demosChart type descriptions, links to demos, full code examples, complete props and imports
@carbon-labs/*React: AnimatedHeader, Processing, Resizer, UIShell, What's NewCode examples and documentation for preview candidates, multiple variants per component, complete props and imports

The Concepts page describes the content in more detail.

Documentation

DocumentCovers
OverviewCarbon MCP overview and key benefits
ConceptsThe Carbon MCP tools and content coverage
Onboarding and setupAuthentication, connecting common MCP clients, installing the Carbon Builder skill
PromptsPrompting guidance and best practices
Token conservationKeeping AI workflows fast and cost-efficient by cutting unnecessary context and responses
Terms of UseTerms for the IBM Cloud-hosted Carbon MCP service
SupportGetting help
Code of conductHow we expect everyone to behave in this project

Issues and support

Open an issue to report a bug, request a feature or ask for help. Templates guide each one.

将 Carbon MCP MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Carbon MCP 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 Carbon MCP 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Carbon MCP MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "carbon-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Carbon MCP MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Carbon MCP MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Carbon MCP 帮我完成这项任务吗?
Carbon MCP
当然,我看过了。
以下是我使用 Carbon MCP 得到的结果。

常见问题

Carbon MCP MCP 服务器有什么用途?

Carbon MCP 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Carbon MCP MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 Carbon MCP。

为什么在 TypingMind 中使用 Carbon MCP MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 Carbon MCP 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Carbon MCP MCP 连接到 TypingMind?

Carbon MCP 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Carbon MCP MCP 在 TypingMind 中提供哪些工具?

Carbon MCP 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Carbon MCP MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 Carbon MCP 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇