chore: update readme and tool titles

This commit is contained in:
enesgules 2025-08-12 15:33:59 +03:00
parent 20711bab91
commit e42062d086
2 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@ Check out our [project addition guide](./docs/adding-projects.md) to learn how t
### Requirements
- Node.js >= v18.0.0
- Cursor, Windsurf, Claude Desktop or another MCP Client
- Cursor, Claude Code, VSCode, Windsurf or another MCP Client
- Context7 API Key (Optional for higher rate limits) (Get yours by creating an account at [context7.com/console](https://context7.com/console))
<details>
@ -153,7 +153,7 @@ Add this to your Windsurf MCP config file. See [Windsurf MCP docs](https://docs.
{
"mcpServers": {
"context7": {
"serverUrl": "https://mcp.context7.com/sse"
"serverUrl": "https://mcp.context7.com/mcp"
}
}
}

View File

@ -97,7 +97,7 @@ function createServerInstance(clientIp?: string, apiKey?: string) {
server.registerTool(
"resolve-library-id",
{
title: "Resolve Library ID Tool",
title: "Resolve Context7 Library ID",
description: `Resolves a package/product name to a Context7-compatible library ID and returns a list of matching libraries.
You MUST call this function before 'get-library-docs' to obtain a valid Context7-compatible library ID UNLESS the user explicitly provides a library ID in the format '/org/project' or '/org/project/version' in their query.
@ -169,7 +169,7 @@ ${resultsText}`,
server.registerTool(
"get-library-docs",
{
title: "Get Library Docs Tool",
title: "Get Library Docs",
description:
"Fetches up-to-date documentation for a library. You must call 'resolve-library-id' first to obtain the exact Context7-compatible library ID required to use this tool, UNLESS the user explicitly provides a library ID in the format '/org/project' or '/org/project/version' in their query.",
inputSchema: {