Skip to content

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

update prompt for better privacy

enesakarde4ae2993346
diff --git a/packages/mcp/src/index.ts b/packages/mcp/src/index.ts
index 55032dfd..95f52d49 100644
--- a/packages/mcp/src/index.ts
+++ b/packages/mcp/src/index.ts
@@ -171,7 +171,7 @@ IMPORTANT: Do not call this tool more than 3 times per question. If you cannot f
query: z
.string()
.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. IMPORTANT: Do not include any sensitive or confidential information such as API keys, passwords, credentials, or personal data in your query."
+ "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."
),
libraryName: z
.string()
@@ -245,7 +245,7 @@ IMPORTANT: Do not call this tool more than 3 times per question. If you cannot f
query: z
.string()
.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."
+ "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'. 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."
),
},
annotations: {