WeKnora/internal/mcpserver
Cursor Agent dccb1d6d2c fix(mcp): stop advertising read-only endpoint tools as destructive
mcp.NewTool defaults destructiveHint and openWorldHint to true. The
built-in endpoint only set readOnlyHint, so clients that refuse
destructive tools could not call search or wiki reads.

Co-authored-by: fight for you <wangrui19971019@users.noreply.github.com>
2026-10-10 20:19:13 +08:00
..
grep_pattern_test.go refactor(agent): consolidate knowledge retrieval tools into search_knowledge, read_document, list_documents (#3381) 2026-09-18 14:12:22 +08:00
resource_urls.go fix(mcp): return accessible image URLs from existing tools (#3650) 2026-09-24 11:56:25 +08:00
resource_urls_test.go fix(mcp): return accessible image URLs from existing tools (#3650) 2026-09-24 11:56:25 +08:00
scope.go fix(mcp): return accessible image URLs from existing tools (#3650) 2026-09-24 11:56:25 +08:00
scope_test.go fix(mcp): return accessible image URLs from existing tools (#3650) 2026-09-24 11:56:25 +08:00
server.go fix(mcp): return accessible image URLs from existing tools (#3650) 2026-09-24 11:56:25 +08:00
server_test.go feat(mcp): support 2026-07-28 alongside legacy clients (#4095) 2026-10-10 15:15:06 +08:00
tools_annotations_test.go fix(mcp): stop advertising read-only endpoint tools as destructive 2026-10-10 20:19:13 +08:00
tools_ask.go fix(mcp): return accessible image URLs from existing tools (#3650) 2026-09-24 11:56:25 +08:00
tools_ask_image_test.go fix(mcp): return accessible image URLs from existing tools (#3650) 2026-09-24 11:56:25 +08:00
tools_ingest.go
…
tools_retrieve.go fix(mcp): stop advertising read-only endpoint tools as destructive 2026-10-10 20:19:13 +08:00
tools_wiki.go fix(mcp): stop advertising read-only endpoint tools as destructive 2026-10-10 20:19:13 +08:00
tools_wiki_test.go fix(mcp): expose wiki output in structured content (#3590) 2026-09-24 11:49:57 +08:00