MCP server providing scoped delegation and authorization management skills for Claude Code, with hierarchical scope verification, session token management, and audit logging
This server has critical structural deficiencies. Tool definitions are inferred from bash script filenames and install.sh comments rather than explicitly registered with schemas. No input schemas are visible in the source code, tools lack parameter type definitions, constraints, or structured output documentation. Descriptions are minimal (10-20 chars) and do not explain WHEN to use each tool, WHAT it returns, or dependencies. No error handling guidance, no parameter validation rules, and no output schema documentation. The bash implementation uses ad-hoc JSON parsing (grep/sed/python fallback) rather than proper schema validation. Security concerns: tokens stored in /tmp/.kanoniv-session-token (world-readable), no rate limiting, no audit trail structure beyond append-only logs.
View audit trail
Start a scoped session with delegated authorization
Change scopes mid-session
Check delegation status
Extend session time
No input schemas visible. Tools lack parameter type definitions, constraints, enums, or descriptions.
Descriptions are 10-20 characters (e.g. 'Start a scoped session with delegated authorization'). Descriptions do not explain WHEN to use, WHAT is returned, or prerequisites.
Tool definitions are inferred from bash script filenames and install.sh comments, not explicitly registered with MCP tool registration. No explicit tool registration visible in source.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 28 | <=2025-11-25 | v2 |
No output schema documentation. Tools return JSON but structure is undocumented. LLMs cannot plan downstream calls or extract required fields (e.g. does 'status' return a token, expiry, scopes?).
Security: session tokens stored in /tmp/.kanoniv-session-token (world-readable). No permission gates documented. No scope declarations per tool. Audit logging is append-only with no rotation or retention policy.