Skip to content

feat: expand MCP tool surface area#435

Merged
nicoloboschi merged 1 commit intomainfrom
feat/expand-mcp-tool-surface-area
Feb 25, 2026
Merged

feat: expand MCP tool surface area#435
nicoloboschi merged 1 commit intomainfrom
feat/expand-mcp-tool-surface-area

Conversation

@DK09876
Copy link
Contributor

@DK09876 DK09876 commented Feb 24, 2026

Summary

  • Add 18 new MCP tools: directives (list/create/delete), memory browsing (list/get/delete), documents (list/get/delete), operations (list/get/cancel), tags (list), and bank management (get/update/delete/clear_memories/get_bank_stats)
  • Expose previously hardcoded parameters on existing tools: retain (tags, metadata, document_id), recall (budget, types, tags, tags_match, query_timestamp), reflect (max_tokens, response_schema, tags, tags_match), create/update_mental_model (trigger_refresh_after_consolidation)
  • Update tool registration for both multi-bank (29 tools) and single-bank (26 tools) modes
  • Update MCP server docs and local MCP docs with all new tools and parameters

Test plan

  • 150 unit tests pass (pytest tests/test_mcp_tools.py tests/test_mcp_extension.py)
  • All new tools tested: happy path, error handling, multi-bank and single-bank variants
  • New params on existing tools tested with backward compatibility
  • Empty list returns, engine errors, and not-found cases covered
  • Lint and type checks pass (pre-commit hooks)
  • Live end-to-end testing completed against local Hindsight API with Groq provider

Fixes #230

…ameters

Add directives, memory browsing, documents, operations, tags, and bank
management tools to the MCP server. Expose previously hardcoded parameters
(budget, types, tags, response_schema, trigger) on retain, recall, reflect,
and mental model tools. Update docs for all new tools and parameters.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nicoloboschi nicoloboschi merged commit 3ffec65 into main Feb 25, 2026
58 of 62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Complete MCP support

2 participants