docs: Update docs for dashboard root and API stats
This commit is contained in:
1 parent
458f4399b3
commit
19da808c90
2 files changed
+11
-1
No files matched your search
@@ -66,5 +66,14 @@ mcp-memory gate verify
|
|||||||
`
|
`
|
||||||
This queries the daemon (via HTTP) to confirm if pre-push validation (like running tests via PrePushAuditor) has been cleared by the agent.
|
This queries the daemon (via HTTP) to confirm if pre-push validation (like running tests via PrePushAuditor) has been cleared by the agent.
|
||||||
`
|
`
|
||||||
|
## Brain Monitor Dashboard
|
||||||
|
The server hosts a live, real-time HTML dashboard called the **Brain Monitor**. It visually tracks the metrics of your Antigravity knowledge graph, such as the total count of Entities, Relations, Tasks, Snippets, and Architectural Decisions (ADRs).
|
||||||
|
|
||||||
|
To view the dashboard, simply navigate to the root endpoint in your browser while the server is running:
|
||||||
|
`http://127.0.0.1:3000/`
|
||||||
|
|
||||||
|
You can also programmatically query these live metrics via the API endpoint:
|
||||||
|
`curl http://127.0.0.1:3000/api/stats`
|
||||||
|
|
||||||
## Further Reading
|
## Further Reading
|
||||||
For a deep dive into the architecture, Write-Ahead Logging (WAL), locking mechanisms, and the HTTP SSE event loop, consult the design.md file in this repository.
|
For a deep dive into the architecture, Write-Ahead Logging (WAL), locking mechanisms, and the HTTP SSE event loop, consult the design.md file in this repository.
|
||||||
@@ -16,8 +16,9 @@ The daemon uses the `axum` and `rust-mcp-axum` crates, binding to `0.0.0.0:3000`
|
|||||||
* `POST /messages`: The JSON-RPC endpoint. Clients use this to send tool calls and resource reads up to the server.
|
* `POST /messages`: The JSON-RPC endpoint. Clients use this to send tool calls and resource reads up to the server.
|
||||||
|
|
||||||
### Custom Integration Endpoints
|
### Custom Integration Endpoints
|
||||||
|
* `GET /`: The Brain Monitor live HTML dashboard (returns real-time metrics UI).
|
||||||
|
* `GET /api/stats`: Returns a JSON snapshot of current entity, relation, task, and tech debt counts.
|
||||||
* `GET /gate/verify`: A lightweight, deterministic endpoint used by external scripts to verify if an action (like a `git push`) is authorized based on the current state.
|
* `GET /gate/verify`: A lightweight, deterministic endpoint used by external scripts to verify if an action (like a `git push`) is authorized based on the current state.
|
||||||
* *(Future)* `GET /health` or `GET /graph` for immediate system inspection.
|
|
||||||
|
|
||||||
## 3. Client Connections
|
## 3. Client Connections
|
||||||
The Antigravity configurations (`mcp_config.json`) utilize the dual-transport system:
|
The Antigravity configurations (`mcp_config.json`) utilize the dual-transport system:
|
||||||
|
|||||||
Reference in new issue
Block a user