useVyre Context

io.github.gapra由 GitHub 账号 gapra 发布v1.0.3更新于 Oct 24, 2026

useVyre component context for AI agents — valid props, variants, anti-patterns, and design tokens.

已验证STDIO仅桌面知识与记忆开发者工具

概览

AI 生成的概览

本地 MCP 服务器,为助手提供 useVyre 组件上下文:有效属性、变体、设计令牌与反模式,用于生成界面代码。

可以做什么
查询单个组件的完整上下文,包括属性、变体、示例与反模式,或一次性获取全部组件与令牌的完整上下文块。获取组件的全部有效属性名与取值,并在生成代码前校验某个具体属性值。根据描述的使用场景推荐合适的组件,并按名称或类别查询设计令牌。列出已知的幻觉模式,可按组件筛选,并查看包版本与上下文有效性信息。
适用场景
适合助手针对 useVyre 组件库编写或审查界面代码、需要准确的属性名、变体与令牌而非猜测时使用。也适合在生成标记前校验某个属性值或挑选合适组件。
运行要求
以本地进程通过 stdio 运行,使用 npx 从 npm 包 @usevyre/mcp-server 启动,因此需要 Node.js 以及获取该包的网络访问。README 给出了在 Claude Desktop 配置文件中配置的方法。未声明认证、环境变量或请求头。
安装前请注意
README 要求把该服务器加入 Claude Desktop 配置并重启应用;由于 npx 会在本地下载并执行该包,运行前请先审查。输入中未显示凭据、付费或写入操作。

安装

在 SourceWeft 中

  1. 打开 控制台中的 useVyre Context,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@usevyre/mcp-server

MCP (Model Context Protocol) server for useVyre — gives Claude Desktop and other MCP clients real-time access to component context, valid props, and anti-patterns.

[npm] [MIT License]

Setup — Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{  "mcpServers": {    "usevyre": {      "command": "npx",      "args": ["-y", "@usevyre/mcp-server"]    }  }}

Restart Claude Desktop. The useVyre tools will appear in the tools panel.

Available tools

ToolDescription
get_component_infoFull context for a component — props, variants, anti-patterns, examples
get_valid_propsAll valid prop names and values for a component
check_valid_prop_valueValidate a specific prop value before generating code
suggest_componentFind the right component for a use case
get_token_infoLook up a design token by name or category
get_full_contextEntire AI context block (all components + tokens)
get_anti_patternsAll known hallucination patterns, optionally filtered by component
get_version_infoPackage version and context validity information

Example prompts

"What are the valid variants for the Button component?"→ get_valid_props({ component: "Button" })
"Is variant='error' valid on Alert?"→ check_valid_prop_value({ component: "Alert", prop: "variant", value: "error" })
"What component should I use for a search box?"→ suggest_component({ useCase: "search box with keyboard navigation" })

Docs

usevyre.com/docs/ai-tooling/mcp-server

来源:packages/mcp-server/README.md,提交 d7791d0

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.3最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分