Add search_notes MCP tool #19
No reviewers
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-mcp!19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "18-add-search-notes-mcp-tool"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds a
search_notesMCP tool that wraps the newGET /notes/searchfull-text search endpoint. Thin httpx wrapper following the same pattern aslist_notes,get_note, etc.Changes
src/pal_e_docs_mcp/tools/notes.py: Addedsearch_notestool with parameters:query(required),limit(optional),note_type(optional),project(optional),tags(optional). Returns ranked results with slug, title, note_type, status, rank, and headline (highlighted snippet).Test Plan
ruff checkandruff format --checkpass cleanlyfrom pal_e_docs_mcp.tools.notes import search_notes)search_notes(query="postgres")and confirm ranked results with highlighted snippets are returnedReview Checklist
Related Notes
plan-2026-02-26-tf-modularize-postgres-- Phase 5, PR 2 (search_notes MCP tool)