Add MCP server#15
Conversation
… server Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
MCP Search Tools — Test ResultsTested all five MCP tools against two ingested documents:
|
…aints at this date
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Port search strategy guidance from the arxiv-search skill into the MCP server tool docstrings, where agents can read it when tools are loaded. - search: clarify entry-point role, query scoping via BM25/doc_title, query refinement on poor hits, and cross-document connection pattern - open_source: add follow-up options after expanding a chunk - navigate_source: clarify sequential reading use case, steer toward grep_source/scoped search for non-adjacent targets - grep_source: add grep-vs-search heuristic with generic examples Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
||
|
|
||
| @mcp.tool() | ||
| async def search(query: str, top_k: int = 5) -> list[dict]: |
There was a problem hiding this comment.
I guess we also want to add exclude_ids as a parameter of the Search tool
Summary
search,ingest,open_source,navigate_source,read_source,grep_source.mcp.json.jinjaand documents usage in the READMETest plan
make mcpand verify the server starts in stdio modemake mcp-httpand verify the server starts onlocalhost:8000ingesttool and confirm chunks are indexedsearchand confirm results are returnedopen_source/navigate_source/read_source/grep_sourceon a returned hit🤖 Generated with Claude Code