daveadmin
5a0ef89dca
feat(mcp): expose corpus_search, korrespond_refine, extract_text tools
...
Restores the 3 tools (manifest + invoke arms + invokeExtract helper),
the citation-atom RAG lever in LegalTools/corpus-search, and the catalog
icons. These were live on prod via rsync but uncommitted, so a git-pull
deploy reverted the manifest from 22 to 19 tools.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-01 16:45:41 +02:00
daveadmin
c997f204b5
feat: add Do Better Norge MCP server — token system, runtime API, interactive setup page
...
- UserMcpTokens: per-user SHA256-hashed token mint/validate/revoke (Plus/Pro only)
- DbnMcpRuntime: 19 MCP tools (search, ask, summarize, timeline, redact, translate,
legal_analysis, korrespond, barnevernet_analyze, advocate_brief, deep_research,
discrepancy_find, transcribe_audio, corpus_stats, list_documents, get_document,
citation_graph, case_workbench_plan, save_to_case)
- api/mcp/user/: session/tools/invoke HTTP endpoints with Bearer token auth
- api/mcp-tokens.php: token create/revoke/list REST API
- mcp.php: interactive setup page with token management, 5-client config tabs,
auto-fill on token creation, tool catalog grid, privacy notice
- account.php: simplified MCP section with link to mcp.php
- nav.php: MCP nav link
- .htaccess: Authorization header passthrough, MCP route rewrite, CORS
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-24 11:01:13 +02:00