@upstash/context7-mcp 2.0.0 → 2.0.1
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.
- package/dist/index.js +6 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -103,6 +103,9 @@ IMPORTANT: Do not call this tool more than 3 times per question. If you cannot f
|
|
|
103
103
|
.string()
|
|
104
104
|
.describe("Library name to search for and retrieve a Context7-compatible library ID."),
|
|
105
105
|
},
|
|
106
|
+
annotations: {
|
|
107
|
+
readOnlyHint: true,
|
|
108
|
+
},
|
|
106
109
|
}, async ({ query, libraryName }) => {
|
|
107
110
|
const ctx = requestContext.getStore();
|
|
108
111
|
const apiKey = ctx?.apiKey || globalApiKey;
|
|
@@ -160,6 +163,9 @@ IMPORTANT: Do not call this tool more than 3 times per question. If you cannot f
|
|
|
160
163
|
.string()
|
|
161
164
|
.describe("The question or task you need help with. Be specific and include relevant details. Good: 'How to set up authentication with JWT in Express.js' or 'React useEffect cleanup function examples'. Bad: 'auth' or 'hooks'. IMPORTANT: Do not include any sensitive or confidential information such as API keys, passwords, credentials, or personal data in your query."),
|
|
162
165
|
},
|
|
166
|
+
annotations: {
|
|
167
|
+
readOnlyHint: true,
|
|
168
|
+
},
|
|
163
169
|
}, async ({ query, libraryId }) => {
|
|
164
170
|
const ctx = requestContext.getStore();
|
|
165
171
|
const apiKey = ctx?.apiKey || globalApiKey;
|