Skip to content

Context7 Platform -- Up-to-date docs for AI agents

update README with libraryName param

Abdusshhddfa40b4f415
diff --git a/README.md b/README.md
index 090fe2f6..56e99235 100644
--- a/README.md
+++ b/README.md
@@ -44,6 +44,7 @@ Add this to your Windsurf MCP config file. For more info, check the [Windsurf MC
### Tools
- `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:
- `libraryName`: Name of the library to retrieve docs for
- `topic`: Specific topic within the library
diff --git a/src/index.ts b/src/index.ts
index edf9a902..fe4adcc2 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -25,7 +25,7 @@ server.tool(
libraryName: z
.string()
.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 }) => {
const projects = await fetchProjects();