MCP.so
登录

Solar MCP Server

@Luke Stahl

基本信息

分类

开发工具

许可证

MIT

作者

Luke Stahl

提交者

Luke Stahl

关于 Solar MCP Server

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

Solar MCP Server 配置

暂无标准配置

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

代码仓库

Solar MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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 服务器