refactor: serve MCP bundles under <name>/mcp with nginx guard; rename core->mcp_server

- collect.py: copy repo MCP bundles to ROOT/<name>/mcp (instead of ROOT/mcp/<name>); add nginx location guard to deny /<name>/mcp/
- config.py: bundle roots now point to <repo>/mcp and standards/mcp for static bundles
- Rename core.py -> mcp_server.py and update imports in main.py and registry.py
- Dockerfile: per-repo MCP COPYs under /app/<name>/mcp, drop blog copy; add ports 8008/8009 in .drone.yml
- Restore standards/mcp/libraries.json from git for registry server
This commit is contained in:
2026-10-11 23:37:46 +05:30
parent c5619bc5e8
commit 9929f05334
194 changed files with 166 additions and 83 deletions

38
hexa/mcp/nav.json Normal file
View File

@@ -0,0 +1,38 @@
[
{
"module": "hexa",
"resource": "docs://modules/hexa"
},
{
"module": "hexa.check_matches",
"resource": "docs://modules/hexa.check_matches"
},
{
"module": "hexa.cli",
"resource": "docs://modules/hexa.cli"
},
{
"module": "hexa.container",
"resource": "docs://modules/hexa.container"
},
{
"module": "hexa.generate_abc",
"resource": "docs://modules/hexa.generate_abc"
},
{
"module": "hexa.generate_yaml",
"resource": "docs://modules/hexa.generate_yaml"
},
{
"module": "hexa.model",
"resource": "docs://modules/hexa.model"
},
{
"module": "hexa.parse_abc",
"resource": "docs://modules/hexa.parse_abc"
},
{
"module": "hexa.parse_yaml",
"resource": "docs://modules/hexa.parse_yaml"
}
]