StructCraft MCP
StructCraft is an open-source tool that analyzes TypeScript and JavaScript code architecture. Its MCP server allows AI agents to investigate dependencies, detect cycles, check layer rules, and simulate refactoring to plan improvements without guessing.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://structcraft.onrender.com/mcpWhat its tools do
11 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Availability 1 of 1 checks passed in 30 days
What you can do with it
- Investigate code dependencies and detect cycles
- Check layer rules and violations
- Simulate refactoring changes
- Plan code improvements via AI
Source and maintenance
- Maintenance checked
Protocol and capabilities
- Server
- structcraft-online 0.0.4
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 11 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": true
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
11 advertised
structcraft_scan — scan
Analisa o workspace/repo e grava o modelo em .structcraft/model.json (repositório público do GitHub)
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"repo"
],
"properties": {
"repo": {
"type": "string",
"description": "Repositório PÚBLICO do GitHub: \"dono/repo\", \"https://github.com/dono/repo\" ou \".../tree/<branch>\""
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}structcraft_tree — tree
Lista a hierarquia (repo → pastas → arquivos) com contagem de arquivos e linhas (repositório público do GitHub)
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"repo"
],
"properties": {
"node": {
"type": "string",
"description": "Nó inicial (padrão: raiz)"
},
"repo": {
"type": "string",
"description": "Repositório PÚBLICO do GitHub: \"dono/repo\", \"https://github.com/dono/repo\" ou \".../tree/<branch>\""
},
"depth": {
"type": "integer",
"default": 3,
"maximum": 9007199254740991,
"minimum": 0,
"description": "Profundidade máxima a partir do nó"
},
"external": {
"type": "boolean",
"default": false,
"description": "Inclui pacotes externos"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}structcraft_deps — deps
Dependências e dependentes de um nó (arquivo, pasta ou repo) (repositório público do GitHub)
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"repo",
"node"
],
"properties": {
"node": {
"type": "string",
"description": "ID do nó, ex.: meu-repo:src/modules/pedido"
},
"repo": {
"type": "string",
"description": "Repositório PÚBLICO do GitHub: \"dono/repo\", \"https://github.com/dono/repo\" ou \".../tree/<branch>\""
},
"level": {
"enum": [
"file",
"folder",
"repo"
],
"type": "string",
"default": "file",
"description": "Agrega a outra ponta neste nível"
},
"direction": {
"enum": [
"out",
"in",
"both"
],
"type": "string",
"default": "both"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}structcraft_matrix — matrix
Matriz de dependências (DSM) entre os filhos de um nó, em ordem levelizada (repositório público do GitHub)
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"repo"
],
"properties": {
"node": {
"type": "string",
"description": "Nó cujos filhos formam a matriz (padrão: raiz)"
},
"repo": {
"type": "string",
"description": "Repositório PÚBLICO do GitHub: \"dono/repo\", \"https://github.com/dono/repo\" ou \".../tree/<branch>\""
},
"typeOnly": {
"type": "boolean",
"default": true,
"description": "Inclui arestas type-only nas células"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}structcraft_cycles — cycles
Ciclos (emaranhados) em todos os níveis, com sugestão de arestas para cortar (repositório público do GitHub)
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"repo"
],
"properties": {
"node": {
"type": "string",
"description": "Limita a busca a este nó (padrão: tudo)"
},
"repo": {
"type": "string",
"description": "Repositório PÚBLICO do GitHub: \"dono/repo\", \"https://github.com/dono/repo\" ou \".../tree/<branch>\""
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}structcraft_levels — levels
Levelização dos filhos de um nó (base embaixo, consumidores em cima) (repositório público do GitHub)
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"repo"
],
"properties": {
"node": {
"type": "string",
"description": "Nó (padrão: raiz)"
},
"repo": {
"type": "string",
"description": "Repositório PÚBLICO do GitHub: \"dono/repo\", \"https://github.com/dono/repo\" ou \".../tree/<branch>\""
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}structcraft_excess — excess
Ranking de excesso de complexidade por pasta/repo (onde a estrutura mais dói) (repositório público do GitHub)
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"repo"
],
"properties": {
"all": {
"type": "boolean",
"default": false,
"description": "Inclui nós com excesso zero"
},
"repo": {
"type": "string",
"description": "Repositório PÚBLICO do GitHub: \"dono/repo\", \"https://github.com/dono/repo\" ou \".../tree/<branch>\""
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 9007199254740991,
"exclusiveMinimum": 0
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}structcraft_rules_check — rules-check
Verifica as regras de arquitetura (camadas, dependências proibidas e ciclos proibidos) (repositório público do GitHub)
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"repo"
],
"properties": {
"repo": {
"type": "string",
"description": "Repositório PÚBLICO do GitHub: \"dono/repo\", \"https://github.com/dono/repo\" ou \".../tree/<branch>\""
},
"failOn": {
"enum": [
"error",
"warning",
"never"
],
"type": "string",
"default": "error",
"description": "Severidade mínima que faz o comando sair com código 1 (padrão: error)"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}structcraft_simulate — simulate
Aplica ações virtuais (mover, renomear, mesclar, extrair, cortar) e mostra o antes/depois (repositório público do GitHub)
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"repo"
],
"properties": {
"repo": {
"type": "string",
"description": "Repositório PÚBLICO do GitHub: \"dono/repo\", \"https://github.com/dono/repo\" ou \".../tree/<branch>\""
},
"actions": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"type",
"node",
"to"
],
"properties": {
"to": {
"type": "string",
"description": "Pasta de destino (criada se não existir)"
},
"node": {
"type": "string"
},
"type": {
"type": "string",
"const": "move"
}
}
},
{
"type": "object",
"required": [
"type",
"node",
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"node": {
"type": "string"
},
"type": {
"type": "string",
"const": "rename"
}
}
},
{
"type": "object",
"required": [
"type",
"node",
"into"
],
"properties": {
"into": {
"type": "string",
"description": "Pasta de destino"
},
"node": {
"type": "string",
"description": "Pasta de origem"
},
"type": {
"type": "string",
"const": "merge"
}
}
},
{
"type": "object",
"required": [
"type",
"nodes",
"to"
],
"properties": {
"to": {
"type": "string",
"description": "Nova pasta"
},
"type": {
"type": "string",
"const": "extract"
},
"nodes": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1
}
}
},
{
"type": "object",
"required": [
"type",
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"description": "Remove as dependências from → to"
},
"from": {
"type": "string"
},
"type": {
"type": "string",
"const": "cut"
}
}
}
]
},
"description": "Lista de ações em JSON"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}structcraft_check — check
Gate de CI: falha só se houver regressão em relação ao baseline (repositório público do GitHub)
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"repo"
],
"properties": {
"repo": {
"type": "string",
"description": "Repositório PÚBLICO do GitHub: \"dono/repo\", \"https://github.com/dono/repo\" ou \".../tree/<branch>\""
},
"format": {
"enum": [
"text",
"junit",
"gitlab",
"github"
],
"type": "string",
"default": "text",
"description": "Formato do relatório"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}structcraft_open_ui — open-ui
Link da interface interativa (matriz, mapa nivelado, achados, simulação) para um repositório público
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"repo"
],
"properties": {
"repo": {
"type": "string",
"description": "Repositório PÚBLICO do GitHub: \"dono/repo\", \"https://github.com/dono/repo\" ou \".../tree/<branch>\""
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}Prompts
Not advertised
Resources
Not advertised
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 601 ms
- 95th percentile latency
- 601 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 601 ms · metadata changed · 11 tool(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http structcraft-mcp https://structcraft.onrender.com/mcpCodex
codex mcp add structcraft-mcp --url https://structcraft.onrender.com/mcpCursor
{
"mcpServers": {
"structcraft-mcp": {
"url": "https://structcraft.onrender.com/mcp"
}
}
}Cline
{
"mcpServers": {
"structcraft-mcp": {
"type": "streamableHttp",
"url": "https://structcraft.onrender.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"structcraft-mcp": {
"type": "http",
"url": "https://structcraft.onrender.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http structcraft-mcp https://structcraft.onrender.com/mcpClaude Desktop
https://structcraft.onrender.com/mcpWindsurf
{
"mcpServers": {
"structcraft-mcp": {
"serverUrl": "https://structcraft.onrender.com/mcp"
}
}
}Let your agent find its tools
Find servers like StructCraft MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.