update README with libraryName param

This commit is contained in:
Abdusshh 2025-04-09 04:02:56 +03:00
parent 141bbccbca
commit ddfa40b4f4
2 changed files with 2 additions and 1 deletions

View File

@ -44,6 +44,7 @@ Add this to your Windsurf MCP config file. For more info, check the [Windsurf MC
### Tools ### Tools
- `list-available-docs`: Lists all available documentation libraries from Context7 - `list-available-docs`: Lists all available documentation libraries from Context7
- `libraryName`: Optional library name to search for and rerank results based on
- `get-library-documentation`: Retrieves documentation for a specific library with options for: - `get-library-documentation`: Retrieves documentation for a specific library with options for:
- `libraryName`: Name of the library to retrieve docs for - `libraryName`: Name of the library to retrieve docs for
- `topic`: Specific topic within the library - `topic`: Specific topic within the library

View File

@ -25,7 +25,7 @@ server.tool(
libraryName: z libraryName: z
.string() .string()
.optional() .optional()
.describe("Optional library name to search for and rerank results based on"), .describe("Optional library name to search for and rerank results based on."),
}, },
async ({ libraryName }) => { async ({ libraryName }) => {
const projects = await fetchProjects(); const projects = await fetchProjects();