mirror of
https://github.com/shankar0123/certctl.git
synced 2026-06-07 15:01:32 +00:00
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:
+10
-12
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user