@upstash/context7-mcp 2.1.6 → 2.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -14,6 +14,7 @@ import { SERVER_VERSION, RESOURCE_URL, AUTH_SERVER_URL } from "./lib/constants.j
14
14
  const DEFAULT_PORT = 3000;
15
15
  // Parse CLI arguments using commander
16
16
  const program = new Command()
17
+ .version(SERVER_VERSION, "-v, --version", "output the current version")
17
18
  .option("--transport <stdio|http>", "transport type", "stdio")
18
19
  .option("--port <number>", "port for HTTP transport", DEFAULT_PORT.toString())
19
20
  .option("--api-key <key>", "API key for authentication (or set CONTEXT7_API_KEY env var)")
@@ -155,7 +156,7 @@ IMPORTANT: Do not call this tool more than 3 times per question. If you cannot f
155
156
  .describe("The question or task you need help with. This is used to rank library results by relevance to what the user is trying to accomplish. The query is sent to the Context7 API for processing. Do not include any sensitive or confidential information such as API keys, passwords, credentials, personal data, or proprietary code in your query."),
156
157
  libraryName: z
157
158
  .string()
158
- .describe("Library name to search for and retrieve a Context7-compatible library ID."),
159
+ .describe("Library name to search for and retrieve a Context7-compatible library ID. Use the official library name with proper punctuation — e.g., 'Next.js' instead of 'nextjs', 'Customer.io' instead of 'customerio', 'Three.js' instead of 'threejs'."),
159
160
  },
160
161
  annotations: {
161
162
  readOnlyHint: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@upstash/context7-mcp",
3
- "version": "2.1.6",
3
+ "version": "2.1.7",
4
4
  "mcpName": "io.github.upstash/context7",
5
5
  "description": "MCP server for Context7",
6
6
  "repository": {