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:
@@ -0,0 +1,44 @@
|
||||
{
|
||||
"module": "openapi_first.templates.vet_app.sse",
|
||||
"content": {
|
||||
"path": "openapi_first.templates.vet_app.sse",
|
||||
"docstring": null,
|
||||
"objects": {
|
||||
"asyncio": {
|
||||
"name": "asyncio",
|
||||
"kind": "alias",
|
||||
"path": "openapi_first.templates.vet_app.sse.asyncio",
|
||||
"signature": "<bound method Alias.signature of Alias('asyncio', 'asyncio')>",
|
||||
"docstring": null
|
||||
},
|
||||
"random": {
|
||||
"name": "random",
|
||||
"kind": "alias",
|
||||
"path": "openapi_first.templates.vet_app.sse.random",
|
||||
"signature": "<bound method Alias.signature of Alias('random', 'random')>",
|
||||
"docstring": null
|
||||
},
|
||||
"json": {
|
||||
"name": "json",
|
||||
"kind": "alias",
|
||||
"path": "openapi_first.templates.vet_app.sse.json",
|
||||
"signature": "<bound method Alias.signature of Alias('json', 'json')>",
|
||||
"docstring": null
|
||||
},
|
||||
"subscribe": {
|
||||
"name": "subscribe",
|
||||
"kind": "function",
|
||||
"path": "openapi_first.templates.vet_app.sse.subscribe",
|
||||
"signature": "<bound method Function.signature of Function('subscribe', 33, 37)>",
|
||||
"docstring": null
|
||||
},
|
||||
"unsubscribe": {
|
||||
"name": "unsubscribe",
|
||||
"kind": "function",
|
||||
"path": "openapi_first.templates.vet_app.sse.unsubscribe",
|
||||
"signature": "<bound method Function.signature of Function('unsubscribe', 40, 48)>",
|
||||
"docstring": null
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user