mirror of
https://github.com/upstash/context7.git
synced 2025-12-01 09:31:58 +00:00
chore: update readme and tool titles
This commit is contained in:
parent
20711bab91
commit
e42062d086
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user