You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add expand-node tool to wiki-explorer and update tool descriptions
Wiki Explorer:
- Add expand-node tool - the critical missing tool for graph exploration
- Claude can now programmatically expand nodes to discover linked articles
Server descriptions updated to mention widget tools:
- map-server: navigate-to, get-current-view
- pdf-server: go-to-page, get-page-text, search-text, set-zoom, get-document-info
- budget-allocator: get-allocations, set-allocation, set-total-budget, etc.
- shadertoy: set-shader-source, get-shader-info
- wiki-explorer: expand-node, search-article, highlight-node, etc.
All descriptions now mention 'Use list_widget_tools to discover available actions.'
Copy file name to clipboardExpand all lines: examples/budget-allocator-server/server.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -269,7 +269,7 @@ export function createServer(): McpServer {
269
269
{
270
270
title: "Get Budget Data",
271
271
description:
272
-
"Returns budget configuration with 24 months of historical allocations and industry benchmarks by company stage",
272
+
"Returns budget configuration with 24 months of historical allocations and industry benchmarks by company stage. The widget exposes tools: get-allocations (current allocations), set-allocation (adjust a category), set-total-budget (change budget), set-company-stage (change benchmark stage), get-benchmark-comparison (compare to industry). Use list_widget_tools to discover available actions.",
Copy file name to clipboardExpand all lines: examples/map-server/server.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -148,7 +148,7 @@ export function createServer(): McpServer {
148
148
{
149
149
title: "Show Map",
150
150
description:
151
-
"Display an interactive world map zoomed to a specific bounding box. Use the GeoCode tool to find the bounding box of a location.",
151
+
"Display an interactive world map zoomed to a specific bounding box. Use the GeoCode tool to find the bounding box of a location. The widget exposes tools: navigate-to (fly to a new location), get-current-view (get camera position and visible bounds). Use list_widget_tools to discover available actions.",
Copy file name to clipboardExpand all lines: examples/pdf-server/server.ts
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -136,7 +136,9 @@ Use this tool when the user asks to view, display, read, or open a PDF. Accepts:
136
136
- URLs from list_pdfs (preloaded PDFs)
137
137
- Any arxiv.org URL (loaded dynamically)
138
138
139
-
The viewer supports zoom, navigation, text selection, and fullscreen mode.`,
139
+
The viewer supports zoom, navigation, text selection, and fullscreen mode.
140
+
141
+
The widget exposes tools: go-to-page (navigate to a page), get-page-text (extract text), search-text (find text in document), set-zoom (adjust zoom level), get-document-info (get metadata). Use list_widget_tools to discover available actions.`,
The widget exposes tools: set-shader-source (update shader code), get-shader-info (get source and errors). Compilation errors are also sent to model context. Use list_widget_tools to discover available actions.`;
53
55
54
56
constDEFAULT_FRAGMENT_SHADER=`void mainImage(out vec4 fragColor, in vec2 fragCoord) {
Copy file name to clipboardExpand all lines: examples/wiki-explorer-server/server.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,7 @@ export function createServer(): McpServer {
86
86
{
87
87
title: "Get First-Degree Links",
88
88
description:
89
-
"Returns all Wikipedia pages that the given page links to directly.",
89
+
"Returns all Wikipedia pages that the given page links to directly. The widget exposes tools: expand-node (explore a node's links - the key interaction!), search-article (find articles), get-current-article (get displayed article), highlight-node (highlight a graph node), get-visible-nodes (list visible nodes). Use list_widget_tools to discover available actions.",
0 commit comments