Structura

tools.structura由 structura.tools 发布官方发布者v0.5.3更新于 Oct 24, 2026

Design domain models and generate deterministic multi-stack code, driven by your coding agent.

已验证Streamable HTTP可网页运行开发者工具AI 与机器学习

概览

AI 生成的概览

Structura 是一个远程 MCP 服务器,让编程助手管理 Structura 领域模型项目,并据此生成多技术栈代码。

可以做什么
列出、加载、创建、更新、分享并永久删除你的 Structura 项目,也可把项目简介转成新项目。查询并汇总项目的领域模型,包括各类节点数量和统计信息。校验项目的领域模型。列出可用的代码生成器及其可配置选项。提交异步生成任务、轮询任务状态,并获取输出 ZIP 的短期下载链接。
适用场景
适合在 Structura 中设计领域模型、并希望编程助手在对话中直接创建或修改项目、查看和校验模型、触发 Angular 或 .NET 等目标代码生成的场景。也可与其他服务器配合,例如先获取 Figma 的界面设计,再在 Structura 中建模后端并生成代码。
运行要求
远程端点 mcp.structura.tools,使用 streamable HTTP,无需本地包或运行时。需通过 OAuth 2.1 登录(授权码加 PKCE,含动态客户端注册),在浏览器中完成 Structura 常规的 Google 或 GitHub 登录,无需手动粘贴令牌。需要支持 MCP 的客户端,如 Claude Code、OpenCode 或 Codex。
安装前请注意
相关工具可创建、更新、分享并永久删除你拥有的项目,执行删除等操作前应先确认。分享会生成他人可查看的链接。代码生成异步执行,并通过短期链接提供 ZIP 下载。README 说明工具列表可能落后于线上服务器,应以服务器实际返回为准。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Structura,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

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

交给智能体安装

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

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

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

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "structura": {
      "type": "http",
      "url": "https://mcp.structura.tools/"
    }
  }
}

README

Structura MCP

[Logo Structura]

Public information page for the Structura Model Context Protocol (MCP) server — the remote MCP endpoint that lets AI coding agents (Claude Code, OpenCode, Codex, and other MCP clients) manage Structura projects and generate code directly from a conversation.

This repository does not contain the server's implementation. It exists to give the MCP server a public, citable home — a discoverable repository reference for registries such as the official MCP Registry and the GitHub MCP Registry — while the implementation itself stays in Structura's private monorepo.

  • Live endpoint: https://mcp.structura.tools/
  • Product: structura.tools — a visual domain-model designer and multi-stack code generator by Metadev.
  • Protocol version: 2026-07-28
  • Transport: streamable HTTP, OAuth 2.1 (Authorization Code + PKCE, with Dynamic Client Registration) — no manual token to create or paste.

What it does

  • List, load, create, or delete your Structura projects.
  • Summarize a project brief and turn it into a new project in Structura.
  • Generate code for multiple targets (Angular, .NET, and more) from a project's domain model.
  • Validate a project's domain model.
  • Combine with other MCP servers — e.g. pull UI designs from Figma, then model the backend for them in Structura and generate the code.

Tools

The authoritative list is always what the live server reports over tools/list; the table below is a convenience summary and may lag a version behind.

ToolWhat it does
list_projectsList the caller's Structura projects.
create_projectCreate a new project, optionally seeded with Structura DSL content.
load_projectLoad a project the caller owns, by id.
update_projectUpdate a project's name, description, or DSL content.
delete_projectPermanently delete a project the caller owns.
share_projectFind or create a viewable share link for a project.
query_modelQuery a model's nodes, optionally filtered by node type.
summarize_modelSummarize a model (node counts by type, connection count).
get_project_statisticsCompute model statistics (class/association counts, connectivity averages, etc.).
list_generatorsList available code generators and their configurable options.
generateSubmit an async code-generation job for a project against a chosen generator.
get_generation_statusPoll a generation job's status until it completes.
get_generation_artifactsGet a short-lived download URL for a completed job's output ZIP.

Install

Any MCP-capable agent can connect. A few examples:

Claude Code

bash
claude mcp add --transport http structura https://mcp.structura.tools/

Then run /mcp inside a Claude Code session, select structura, and choose Authenticate.

OpenCode

bash
opencode mcp add

Pick remote, name it structura, and paste https://mcp.structura.tools/. Then:

bash
opencode mcp auth structura

Codex

bash
codex mcp add structura --url https://mcp.structura.tools/codex mcp login structura

Each of these opens a browser window with the normal Structura login (Google/GitHub) — approve it there, and the agent reuses that session from then on.

Support

Legal

License

See LICENSE. This repository's own content (this README, the license file) is provided for informational and discovery purposes; it does not grant any rights to the Structura service, product, or its non-public source code.


© Metadev, 2026.

来源:README.md,提交 7916c4d

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

2
  1. v0.5.3最新Sep 23, 2026
  2. v0.5.2Sep 16, 2026

评分

已满足适用检查项的 75%

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

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

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

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

    请在仓库或注册中心条目中声明许可证。

其他 Structura 集成