fix: remove duplicate containsSubstring helper and update README for M21+M22

Removes redeclared containsSubstring from network_scan_test.go (already
defined in profile_test.go in the same package). Updates README with 91
endpoints, 19 tables, network discovery API section, Prometheus endpoint,
and M21/M22 roadmap entries.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
shankar0123
2026-03-24 23:43:42 -04:00
parent 4f90be9311
commit 52af81537d
3 changed files with 33 additions and 27 deletions
+10 -12
View File
@@ -144,18 +144,16 @@ The AI calls `certctl_create_certificate` with the common name, team ID, and own
## Architecture
```
┌──────────────────┐ stdio ┌──────────────────┐ HTTP ┌──────────────────┐
AI Assistant │ ◄────────────► │ certctl MCP │ ───────────► │ certctl Server │
│ (Claude, Cursor) │ │ cmd/mcp-server/ │ + Bearer │ :8443 │
└──────────────────┘ └──────────────────┘ token └──────────────────┘
┌──────┴──────┐
│ 76 tools │
│ 16 domains │
Typed input
│ structs │
└─────────────┘
```mermaid
flowchart LR
AI["AI Assistant\n(Claude, Cursor)"]
MCP["certctl MCP\ncmd/mcp-server/"]
SERVER["certctl Server\n:8443"]
AI <-->|"stdio"| MCP
MCP -->|"HTTP + Bearer token"| SERVER
MCP ~~~ TOOLS["76 tools · 16 domains\nTyped input structs"]
```
The MCP server is intentionally thin: