Koskamo

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.

StructCraft MCP logo, by vinigomesCommunity listingStreamable HTTPNo sign-inEndpoint checked 2026-12-02Published by vinigomes
MCP endpoint (Streamable HTTP)
https://structcraft.onrender.com/mcp
Vendor documentation

What its tools do

11 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

11 of 11 have a description · 11 of 11 declare behavior hints · 9 of 11 with parameters document them all

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

Community listingRegistry 0.0.4
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
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

StructCraft online analisa a estrutura de repositórios PÚBLICOS do GitHub (TypeScript/JavaScript). Toda tool recebe "repo" (ex.: "expressjs/express"). A primeira chamada clona e analisa (pode levar até um minuto); as seguintes usam cache. IDs de nó seguem "<repo>:<caminho>", ex.: "express:lib/router". Use structcraft_tree para descobrir IDs. Fluxo sugerido: structcraft_scan → structcraft_cycles / structcraft_rules_check → structcraft_deps / structcraft_matrix → structcraft_simulate. structcraft_open_ui devolve o link da interface interativa (matriz, mapa nivelado) para mostrar ao usuário. Repositórios privados não funcionam aqui: oriente o usuário a rodar localmente com "npx structcraft mcp-config <pasta>".

Tools

11 advertised

structcraft_scan — scan
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Analisa o workspace/repo e grava o modelo em .structcraft/model.json (repositório público do GitHub)

structcraft_scan input schema
{
  "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>\""
    }
  }
}
structcraft_scan annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
structcraft_tree — tree
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Lista a hierarquia (repo → pastas → arquivos) com contagem de arquivos e linhas (repositório público do GitHub)

structcraft_tree input schema
{
  "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"
    }
  }
}
structcraft_tree annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
structcraft_deps — deps
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Dependências e dependentes de um nó (arquivo, pasta ou repo) (repositório público do GitHub)

structcraft_deps input schema
{
  "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"
    }
  }
}
structcraft_deps annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
structcraft_matrix — matrix
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Matriz de dependências (DSM) entre os filhos de um nó, em ordem levelizada (repositório público do GitHub)

structcraft_matrix input schema
{
  "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"
    }
  }
}
structcraft_matrix annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
structcraft_cycles — cycles
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Ciclos (emaranhados) em todos os níveis, com sugestão de arestas para cortar (repositório público do GitHub)

structcraft_cycles input schema
{
  "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>\""
    }
  }
}
structcraft_cycles annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
structcraft_levels — levels
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Levelização dos filhos de um nó (base embaixo, consumidores em cima) (repositório público do GitHub)

structcraft_levels input schema
{
  "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>\""
    }
  }
}
structcraft_levels annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
structcraft_excess — excess
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Ranking de excesso de complexidade por pasta/repo (onde a estrutura mais dói) (repositório público do GitHub)

structcraft_excess input schema
{
  "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
    }
  }
}
structcraft_excess annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
structcraft_rules_check — rules-check
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Verifica as regras de arquitetura (camadas, dependências proibidas e ciclos proibidos) (repositório público do GitHub)

structcraft_rules_check input schema
{
  "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)"
    }
  }
}
structcraft_rules_check annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
structcraft_simulate — simulate
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Aplica ações virtuais (mover, renomear, mesclar, extrair, cortar) e mostra o antes/depois (repositório público do GitHub)

structcraft_simulate input schema
{
  "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"
    }
  }
}
structcraft_simulate annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
structcraft_check — check
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Gate de CI: falha só se houver regressão em relação ao baseline (repositório público do GitHub)

structcraft_check input schema
{
  "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"
    }
  }
}
structcraft_check annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
structcraft_open_ui — open-ui
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Link da interface interativa (matriz, mapa nivelado, achados, simulação) para um repositório público

structcraft_open_ui input schema
{
  "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>\""
    }
  }
}
structcraft_open_ui annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

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.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http structcraft-mcp https://structcraft.onrender.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add structcraft-mcp --url https://structcraft.onrender.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable structcraft-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "structcraft-mcp": {
      "url": "https://structcraft.onrender.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "structcraft-mcp": {
      "type": "streamableHttp",
      "url": "https://structcraft.onrender.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start structcraft-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "structcraft-mcp": {
      "type": "http",
      "url": "https://structcraft.onrender.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http structcraft-mcp https://structcraft.onrender.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://structcraft.onrender.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "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.