Skip to content

Add titles to public MCP tools - #85

Merged
justincasher merged 1 commit into
mainfrom
codex/mcp-tool-titles
Aug 2, 2026
Merged

Add titles to public MCP tools#85
justincasher merged 1 commit into
mainfrom
codex/mcp-tool-titles

Conversation

@justincasher

Copy link
Copy Markdown
Owner

Summary

  • add human-readable titles to search_summary and all six per-field retrieval tools
  • retain the deprecated compatibility title on search
  • require every registered MCP tool to advertise a non-empty title in tests

Anthropic currently requires every Connectors Directory tool to include a title plus the applicable read-only or destructive annotations. The live endpoint already has the annotations, but only the deprecated search tool had a title.

Verification

  • .venv/bin/pytest tests/mcp/tools_test.py -q (48 passed)
  • .venv/bin/ruff check src/lean_explore/mcp/tools.py tests/mcp/tools_test.py
  • .venv/bin/ruff format --check src/lean_explore/mcp/tools.py tests/mcp/tools_test.py
  • git diff --check

@justincasher
justincasher merged commit 6b25f86 into main Aug 2, 2026
2 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.

1 participant