MCP.so
登录

Solar MCP

@Luke Stahl

关于 Solar MCP

Exposes Solar's component registry as MCP tools — agents can discover, inspect, and validate components at runtime

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

An MCP server for the Solar framework (solarbuild). Gives AI agents live, runtime access to your component registry so they can discover, inspect, and validate Solar components without guessing.

Tools

  • manifest — Returns a full JSON schema of every registered component: prop names, types, required fields, and valid values. Call this before generating any composition code.
  • component — Returns the schema for a single component by name.
  • validate — Validates a props object against a component's schema. Returns valid: true or a structured error with expected, received, and fix fields the agent can act on directly.

Usage

{
  "command": "npx",
  "args": ["solarbuild-mcp", "--components", "./components"]
}

Point --components at your components directory. The server imports each .js file, triggers registry.register(), and exposes the full manifest to the agent.

Why

When an agent builds UI with Solar, it should read the manifest first — not guess prop names. When it passes wrong props, it gets a structured ContractError with a fix field. This MCP server brings both capabilities into any MCP-compatible client (Cursor, Claude, etc.).

- npm: solarbuild-mcp
- Docs: docs.solarbuild.dev/docs/integrations/mcp

评论

开发工具 分类下的更多 MCP 服务器