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
#[tool(description = "List all code snippets with pagination")]
379
+
#[tool(
380
+
description = "List all code snippets from SeekCode with pagination, supporting custom page number and items per page"
381
+
)]
355
382
asyncfnlist_snippets(
356
383
&self,
357
384
Parameters(request):Parameters<ListRequest>,
@@ -433,7 +460,7 @@ impl ServerHandler for SnippetService {
433
460
.enable_tools()
434
461
.build(),
435
462
server_info:Implementation::from_build_env(),
436
-
instructions:Some("This server provides code snippet management tools. You can create, read, update, delete, searchand list code snippets.".to_string()),
463
+
instructions:Some("This is the SeekCode MCP server that provides code snippet management features:\n1. Create code snippets in SeekCode - supports title, code content, programming language and tags\n2. Query code snippets from SeekCode - get specific snippets by ID\n3. Search code snippets in SeekCode - supports keyword search, language and tag filtering\n4. List code snippets from SeekCode - supports pagination display\n\nAll tools support detailed parameter descriptions for better understanding and usage.".to_string()),
0 commit comments