fix(mcp-proxy): fix parameter names and SSE response parsing
- Add Accept: application/json, text/event-stream header (yargi-mcp-pro returns SSE format; without it the server returns 406) - Parse SSE response: extract data: line and parse as JSON-RPC - search_mevzuat: rename query->phrase (tool uses phrase, not query) - search_bedesten_unified: rename query->phrase; limit->page_size - get_mevzuat_document: rename mevzuat_id->id (backward compat alias kept) - get_bedesten_document_markdown: rename document_url->documentId - Institution-specific routes: return 501 instead of opaque 500 - /yargi/health: use legal_research_guide ping instead of unavailable tool Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
| Repository | beerbottle90/mike-oss |
|---|---|
| Author | beerbottle90 <demirertug@gmail.com> |
| Authored | |
| Parents | c2e5fcfc |
| Stats | 1 file changed , +106 , -155 |
| Part of | yargi-mcp proxy and Claude tool-call wiring |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-10e1481b.md
from inside the repo you want the change in.