Add rose-ash-services MCP server: 12 tools for service introspection
Python-based MCP server (tools/mcp_services.py) for understanding the microservice topology via static analysis: - svc_status: Docker container status - svc_routes: HTTP route table from blueprint scanning - svc_calls: inter-service dependency graph (fetch_data/call_action/etc) - svc_config: environment variables from docker-compose - svc_models: SQLAlchemy models, columns, relationships - svc_schema: live defquery/defaction manifest from running services - alembic_status: migration count per service - svc_logs/svc_start/svc_stop: service lifecycle - svc_queries/svc_actions: SX query and action definitions Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
19
CLAUDE.md
19
CLAUDE.md
@@ -330,3 +330,22 @@ Dev bind mounts in `docker-compose.dev.yml` must mirror the Docker image's COPY
|
||||
|
||||
- Use Context7 MCP for up-to-date library documentation
|
||||
- Playwright MCP is available for browser automation/testing
|
||||
|
||||
### Service introspection MCP (rose-ash-services)
|
||||
|
||||
Python-based MCP server for understanding the microservice topology. Static analysis — works without running services.
|
||||
|
||||
| Tool | Purpose |
|
||||
|------|---------|
|
||||
| `svc_status` | Docker container status for all rose-ash services |
|
||||
| `svc_routes` | List all HTTP routes for a service by scanning blueprints |
|
||||
| `svc_calls` | Map inter-service calls (fetch_data/call_action/send_internal_activity/fetch_fragment) |
|
||||
| `svc_config` | Environment variables and config for a service |
|
||||
| `svc_models` | SQLAlchemy models, columns, relationships for a service |
|
||||
| `svc_schema` | Live defquery/defaction manifest from a running service |
|
||||
| `alembic_status` | Migration count and latest migration per service |
|
||||
| `svc_logs` | Recent Docker logs for a service |
|
||||
| `svc_start` | Start services via dev.sh |
|
||||
| `svc_stop` | Stop all services |
|
||||
| `svc_queries` | List all defquery definitions from queries.sx files |
|
||||
| `svc_actions` | List all defaction definitions from actions.sx files |
|
||||
|
||||
Reference in New Issue
Block a user