Tseha

io.tseha由 tseha.io 发布官方发布者v1.0.2更新于 Oct 24, 2026

Serves your design system and coding standards to coding agents, so they stop guessing.

已验证Streamable HTTP可网页运行知识与记忆开发者工具

概览

AI 生成的概览

托管的只读 MCP 服务器,让编程助手读取组织的设计系统组件、设计令牌和编码规范,而不是自行猜测。

可以做什么
列出项目及每个项目分配到的组件包,含版本和当前启用的包;列出全部 UI 组件及其导入路径和用途说明。获取单个组件的完整规格:props 结构、用法示例、反模式、Figma 规格和依赖。按需求的自由文本描述搜索组件,并按相关度排序。读取样式元数据,以及按类别(颜色、字体、间距、圆角、阴影、模糊)返回的设计令牌。按章节读取组织的开发规范,并获取已安装组件版本与最新版本之间的破坏性变更和迁移指南。
适用场景
当编程助手要针对特定设计系统编写或审查 UI 代码,需要真实的组件 API、导入路径和令牌值而非凭空编造时使用。也适合规划组件库升级或核对组织编码约定。
运行要求
通过 Streamable HTTP 连接的远程 MCP 端点,无需本地安装。首次连接时通过浏览器完成 OAuth 2.1 + PKCE 登录,无需粘贴 API 密钥。令牌按组织和角色限定范围,账号需在该组织中拥有项目。
安装前请注意
该服务为托管商业服务,源码不公开。所有角色的 MCP 接口均为只读,写入只能在 Tseha 管理后台进行。OAuth 令牌按组织和角色限定,请仅用预期账号批准登录。组织的组件和规范数据会提供给所连接的助手。

安装

在 SourceWeft 中

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

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.tseha%2Ftseha/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "tseha": {
      "type": "http",
      "url": "https://tseha.io/mcp"
    }
  }
}

README

Tseha MCP Server

Serves your design system and coding standards to coding agents, so they stop guessing.

Tseha is a hosted, remote MCP server. Point your coding agent at it and the agent reads your real component APIs, design tokens and coding standards instead of inventing them.

This repository holds the published server.json manifest and the connection documentation. Tseha itself is a hosted commercial service and its source is not open; there is nothing to install or build here.

Quick start

Add a .mcp.json to the root of your repository:

json
{  "mcpServers": {    "tseha": {      "url": "https://tseha.io/mcp"    }  }}

That is the whole configuration. On first connection the agent opens an OAuth sign-in in your browser. Approve it once and the agent is connected.

Other clients

ClientWhere the config lives
Claude Code.mcp.json in the project root, or claude mcp add --transport http tseha https://tseha.io/mcp
Cursor.cursor/mcp.json (per project) or ~/.cursor/mcp.json (global)
VS Code / GitHub Copilot, and any other MCP clientpoint at https://tseha.io/mcp over the HTTP transport

Cursor plugin

This repository is also packaged as a Cursor plugin (.cursor-plugin/plugin.json plus mcp.json), so Cursor can install the connection for you instead of you editing a config file. Install it from Cursor Settings -> Plugins, or add the repository by hand from https://cursor.directory/plugins.

Authentication

OAuth 2.1 with PKCE (S256). There is no API key to paste. Tseha publishes the standard discovery documents — /.well-known/oauth-authorization-server and /.well-known/oauth-protected-resource (RFC 9728) — and supports both Dynamic Client Registration and Client ID Metadata Documents, so compliant clients configure themselves.

The issued token is scoped to your organization and your role. The MCP surface is read-only for every role. Writes happen only in the Tseha admin panel.

Tools

All nine tools are read-only. Every tool except list_projects takes a project_id, which list_projects returns.

ToolWhat it returns
list_projectsThe projects in your organization, each with id, name and framework. Call this first — the id is required by every other tool.
list_packagesThe component packages assigned to a project, with version, and which one is active.
list_componentsEvery UI component in the project's design system: name, source package, import path, intended use.
get_componentThe full spec for one component: import path, props schema, usage example, anti-patterns, when-to-use notes, Figma spec, dependencies.
search_componentsComponents ranked by description, for finding one by need rather than by name.
get_styleStyle metadata for a design token collection.
get_style_tokensDesign tokens by category: color, typography, spacing, radius, shadow, blur, or all.
get_standardsYour organization's development standards, by section (global, react, nextjs, …).
get_component_updatesWhat changed between the installed version of a component and the current one.

Protocol conformance

  • MCP revision 2026-07-28, Streamable HTTP transport
  • OAuth 2.1 + PKCE S256 (mandatory), RFC 9728 protected-resource metadata, RFC 9207 iss on authorization responses, RFC 8252 §7.3 loopback redirect URIs
  • Dynamic Client Registration and Client ID Metadata Documents

Registry

Published to the official MCP Registry under the DNS-verified namespace io.tseha:

bash
curl -s "https://registry.modelcontextprotocol.io/v0/servers?search=tseha"

License

The manifest and documentation in this repository are published under the MIT licence.

That licence covers the contents of this repository only. It does not grant any licence to the Tseha service at https://tseha.io, which is a hosted commercial product governed by its own terms, nor any right to use the Tseha name or logo as a trademark.

Support

Questions and issues: https://tseha.io/docs, or open an issue on this repository.

来源:README.md,提交 b68933c

工具

9

list_projects

List projects

Lists the projects in this organization, each with its id, name, and framework. Read-only, takes no arguments, and returns only the projects the calling credential may see. Call it first in a session: the returned id is the project_id that every other tool in this server requires, and guessing that id fails. It does not return components, packages, or tokens - use list_components, list_packages, or get_style_tokens for those.

无需输入参数。

list_packages

List component packages

Lists the component packages assigned to a project, each with its name, version, and description, and marks which one is active. Read-only. Use it to decide which npm package to import from, or to read the installed version before calling get_component_updates. It lists packages, not their contents - use list_components to enumerate components and get_component for one component API. project_id is the only argument and it does more than filter output: assignment and active-package status are per project, so one organization package can be listed as active here and absent from a sibling project.

输入参数project_id必填

list_components

List UI components

Lists every UI component in the project's design system, each with its name, source package, import path, and a short note on its intended use. Read-only and unpaginated: it returns the whole catalog across all packages assigned to the project, so expect a large response on big design systems. Use it to see what exists before building UI, and to get the exact component name other tools need. Do not use it to find a component by need - search_components ranks by description - and do not use it for props, examples, or Figma data, which only get_component returns. project_id is not a display filter: it selects the assigned packages, so two projects in one organization legitimately return different catalogs.

输入参数project_id必填

get_component

Get component spec

Returns the full specification for one component: import path, props schema, usage example, anti-patterns, when-to-use and when-not-to-use notes, Figma spec, and dependencies. Read-only. Call it before writing code that uses a component, so props and import path come from the design system instead of memory. The name argument must be the exact component name as returned by list_components or search_components (case-sensitive, no package prefix); an unknown name returns a not-found error rather than a near match, so resolve the name first with search_components if you are guessing. The result may carry a provenance warning when the record was LLM-generated and not yet reviewed - treat those fields as unverified. It covers one component at a time; use list_components to enumerate and get_component_updates for version-to-version changes.

输入参数name必填project_id必填

search_components

Search components

Searches the components of every package assigned to the project by use case, behavior, or description, and returns up to 10 ranked matches with a relevance score. Read-only. Use it when you can describe what the UI must do but do not know the component name. The query is free-text describing the need, such as "date range picker" or "dismissible inline warning" - not a component name, not a glob, and not a props expression. Do not use it when the exact name is known (get_component is direct and returns the full spec) or when you want the complete catalog (list_components). Semantic ranking needs AI features on the Team plan or above; on other plans it falls back to name and import-path matching and the score is null. No close match returns an empty result list, not an error. Null scores or no results do not mean the component is missing: in that mode a use-case phrase often matches nothing, so choose from list_components by name and use note, or retry with a plain component word such as "button".

输入参数query必填project_id必填

get_style

Get style metadata

Returns metadata for the project's active style: the style name, its Figma file key, when it was last synced, and a token count per available category (such as color, typography, spacing). Read-only and small - it names categories but returns no token values. Use it to inspect the project theme, or to learn which categories are populated before requesting values; call get_style_tokens for the values themselves. project_id is the only argument and it is not a plain filter: a style is assigned per project and there is no organization-level fallback, so sibling projects can report different style names and different populated categories, and a project with no style assigned returns a null style with a note rather than an error.

输入参数project_id必填

get_style_tokens

Get design tokens

Returns the project's design tokens with their names, values, and token paths. Read-only. Use it to source exact visual values for styling instead of inventing hex codes, spacing, or radii. The category argument takes exactly one of: color, typography, spacing, radius, shadow, blur, all; omitting it behaves the same as "all". Pass a single category when you know which one you need - "all" returns the largest response this server produces. Use get_style first if you only need to know which categories exist, and get_standards for coding conventions, which are not tokens. A project with no style configured returns an empty token list with a note, not an error.

输入参数categoryproject_id必填

get_standards

Get development standards

Returns the organization's development standards: coding conventions, project structure, and framework-specific rules. Read-only. Call it before writing or reviewing code, so the result follows this organization's rules rather than general defaults. Call it first without a section to get an index of available sections, each with a note on what it covers, then call again with one section id copied from that index; inventing a section id returns a not-found error naming that step. Request only the sections a task needs - the full content of one section can be long. The framework argument is deprecated: use section with the "framework:" prefix instead. It returns prose rules, not data - use get_style_tokens for visual values and get_component for component APIs.

输入参数sectionframeworkproject_id必填

get_component_updates

Get component updates

Returns per-component breaking changes and a migration guide between an installed version of the project's active component package and the latest published version. Read-only: it reports an upgrade, it never performs one. Use it when planning or reviewing a component-library upgrade, or before bumping the package version in a manifest. current_version is the exact semver currently installed, e.g. "1.0.0" - not a range, so no leading "v", "^", or "~"; read it from list_packages when unsure. Passing the latest version returns an empty change set. It is not a per-component changelog and not a current spec - use get_component for one component today, and list_packages for what is installed. Requires update tracking, a Team plan feature; on lower plans it returns an upgrade-required error instead of data.

输入参数project_id必填current_version必填

版本历史

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

评分

已满足适用检查项的 100%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分