Skip to content

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

chore: format

enesgulesad04b1e643c6
diff --git a/README.md b/README.md
index edfdc966..d7191cb4 100644
--- a/README.md
+++ b/README.md
@@ -857,10 +857,7 @@ For more information, see the [official GitHub documentation](https://docs.githu
"headers": {
"CONTEXT7_API_KEY": "YOUR_API_KEY"
},
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"]
}
}
}
@@ -874,16 +871,8 @@ Or, for a local server:
"context7": {
"type": "local",
"command": "npx",
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ],
- "args": [
- "-y",
- "@upstash/context7-mcp",
- "--api-key",
- "YOUR_API_KEY"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"],
+ "args": ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"]
}
}
}
diff --git a/docs/adding-libraries.mdx b/docs/adding-libraries.mdx
index a78cf534..2f73b3ff 100644
--- a/docs/adding-libraries.mdx
+++ b/docs/adding-libraries.mdx
@@ -14,9 +14,9 @@ The fastest way to add a library is through our web interface:
2. (Optional) Adjust folders and exclusions.
3. Submit and let Context7 parse and index the documentation.
-
<Note>
-For private repositories, see the [Private Repositories](/dashboard/private-repositories) guide. Requires a Pro or Enterprise plan.
+ For private repositories, see the [Private Repositories](/dashboard/private-repositories) guide.
+ Requires a Pro or Enterprise plan.
</Note>
## Advanced Configuration with `context7.json`
diff --git a/docs/api-guide.mdx b/docs/api-guide.mdx
index a81550c1..718f50a3 100644
--- a/docs/api-guide.mdx
+++ b/docs/api-guide.mdx
@@ -95,12 +95,12 @@ curl "https://context7.com/api/v1/vercel/next.js/v15.1.8" \
The Context7 API uses standard HTTP status codes:
-| Code | Description | Action |
-| ---- | --------------------------------------------- | --------------------------------------------- |
-| 200 | Success | Process the response normally |
-| 401 | Unauthorized - Invalid or missing API key | Check your API key and authentication header |
-| 404 | Not Found - Library or endpoint doesn't exist | Verify the library ID or endpoint URL |
-| 429 | Too Many Requests - Rate limit exceeded | Implement exponential backoff and retry |
+| Code | Description | Action |
+| ---- | --------------------------------------------- | ------------------------------------------------------------- |
+| 200 | Success | Process the response normally |
+| 401 | Unauthorized - Invalid or missing API key | Check your API key and authentication header |
+| 404 | Not Found - Library or endpoint doesn't exist | Verify the library ID or endpoint URL |
+| 429 | Too Many Requests - Rate limit exceeded | Implement exponential backoff and retry |
| 500 | Internal Server Error | Retry with exponential backoff, contact support if persistent |
### Error Response Format
@@ -111,7 +111,7 @@ All errors return a JSON object with these fields:
{
"error": "Error message describing what went wrong",
"status": 429,
- "retryAfterSeconds": 60 // Only present for rate limit errors
+ "retryAfterSeconds": 60 // Only present for rate limit errors
}
```
@@ -126,6 +126,7 @@ npm install @upstash/context7-mcp
```
**Features:**
+
- Automatic API key management
- Built-in caching
- Type-safe library resolution
@@ -138,12 +139,14 @@ See the [Installation guide](/installation) for detailed setup instructions.
For custom integrations or non-MCP use cases, use the REST endpoints directly. The API is language-agnostic and works with any HTTP client.
**Example (cURL):**
+
```bash
curl "https://context7.com/api/v1/vercel/next.js?topic=routing" \
-H "Authorization: Bearer CONTEXT7_API_KEY"
```
**Example (Python):**
+
```python
import requests
@@ -161,13 +164,14 @@ docs = response.json()
```
**Example (JavaScript/Node.js):**
+
```javascript
const response = await fetch(
"https://context7.com/api/v1/vercel/next.js?topic=routing&tokens=5000",
{
headers: {
- "Authorization": "Bearer CONTEXT7_API_KEY"
- }
+ Authorization: "Bearer CONTEXT7_API_KEY",
+ },
}
);
diff --git a/docs/contact.mdx b/docs/contact.mdx
index daec92ed..dfb3d9f9 100644
--- a/docs/contact.mdx
+++ b/docs/contact.mdx
@@ -10,6 +10,7 @@ Get help and support for Context7.
### Discord
Join our Discord community for:
+
- Quick answers to common questions
- Tips and best practices from other users
- Announcements about new features and updates
diff --git a/docs/dashboard/api-keys.mdx b/docs/dashboard/api-keys.mdx
index 20cf3dc4..56dd7f3f 100644
--- a/docs/dashboard/api-keys.mdx
+++ b/docs/dashboard/api-keys.mdx
@@ -27,9 +27,7 @@ curl "https://context7.com/api/v1/vercel/next.js" \
-H "Authorization: Bearer YOUR_API_KEY"
```
-<Warning>
-Store your API key securely. You won't be able to see it again after creation.
-</Warning>
+<Warning>Store your API key securely. You won't be able to see it again after creation.</Warning>
### Revoking Keys
@@ -40,5 +38,6 @@ Remove API keys you no longer need:
3. **Key deactivates immediately** - all requests using it will fail
<Note>
-Revoking a key is permanent and cannot be undone. Update any applications using the key before revoking.
+ Revoking a key is permanent and cannot be undone. Update any applications using the key before
+ revoking.
</Note>
diff --git a/docs/dashboard/billing.mdx b/docs/dashboard/billing.mdx
index 5e303b6f..f8628c4d 100644
--- a/docs/dashboard/billing.mdx
+++ b/docs/dashboard/billing.mdx
@@ -21,7 +21,8 @@ Add payment methods and manage your Context7 subscription on the [billing page](
![Add payment method modal](/images/dashboard/add-payment-method.png)
<Note>
-Your full card details are never stored by Context7. All payment data is handled securely by Stripe.
+ Your full card details are never stored by Context7. All payment data is handled securely by
+ Stripe.
</Note>
### Managing Cards
@@ -34,4 +35,4 @@ Your full card details are never stored by Context7. All payment data is handled
## Plans
-To learn more about our plans and see the FAQ, visit [Plans](/plans-pricing).
\ No newline at end of file
+To learn more about our plans and see the FAQ, visit [Plans](/plans-pricing).
diff --git a/docs/dashboard/libraries.mdx b/docs/dashboard/libraries.mdx
index c46ac28b..95432d33 100644
--- a/docs/dashboard/libraries.mdx
+++ b/docs/dashboard/libraries.mdx
@@ -19,9 +19,7 @@ Configure which public libraries your team can access:
**Disable Public**: Private repos only (requires at least one private repo)
-<Note>
-Only owners and admins can change these settings.
-</Note>
+<Note>Only owners and admins can change these settings.</Note>
## Token Limits
@@ -30,5 +28,5 @@ Only owners and admins can change these settings.
Set the maximum tokens per API request (**1,000 to 100,000**) to control the amount of documentation retrieved in each response. This helps prevent overwhelming the context window of LLMs with excessive documentation.
<Note>
-For private repositories, see the [Private Repositories](/dashboard/private-repositories) page.
+ For private repositories, see the [Private Repositories](/dashboard/private-repositories) page.
</Note>
diff --git a/docs/dashboard/private-repositories.mdx b/docs/dashboard/private-repositories.mdx
index d7adcd6b..52011335 100644
--- a/docs/dashboard/private-repositories.mdx
+++ b/docs/dashboard/private-repositories.mdx
@@ -18,9 +18,7 @@ Follow these steps to add a private repository:
3. **Select a repository** from your account
4. **Submit** for parsing
-<Note>
-You must have a Pro or Enterprise plan to add private repositories.
-</Note>
+<Note>You must have a Pro or Enterprise plan to add private repositories.</Note>
## Repository Management
@@ -33,13 +31,12 @@ Keep your private documentation up to date:
3. **You're only charged for changed content** - cached pages are free
**When to refresh**:
+
- After major documentation updates
- After releasing new features
- When you notice outdated information
-<Tip>
-Refresh private repos only after significant documentation changes to minimize costs.
-</Tip>
+<Tip>Refresh private repos only after significant documentation changes to minimize costs.</Tip>
### Removing Repositories
@@ -50,7 +47,7 @@ To remove a private repository:
3. Repository documentation becomes unavailable immediately
<Warning>
-This action is permanent. The repository will no longer be accessible via the API.
+ This action is permanent. The repository will no longer be accessible via the API.
</Warning>
## Permissions
@@ -73,10 +70,7 @@ Add a `context7.json` file to your repository root for better control over parsi
"folders": ["docs", "guides"],
"excludeFolders": ["tests", "dist", "node_modules"],
"excludeFiles": ["CHANGELOG.md"],
- "rules": [
- "Always validate user input",
- "Use TypeScript strict mode"
- ]
+ "rules": ["Always validate user input", "Use TypeScript strict mode"]
}
```
diff --git a/docs/dashboard/team.mdx b/docs/dashboard/team.mdx
index 8b18d47d..67f4de51 100644
--- a/docs/dashboard/team.mdx
+++ b/docs/dashboard/team.mdx
@@ -14,21 +14,19 @@ Add team members, assign roles, and manage access to your Context7 dashboard fro
1. Click "Create a team" from the top left dropdown
2. Enter team name
-<Note>
-You must have a Pro or Enterprise plan to create a team.
-</Note>
+<Note>You must have a Pro or Enterprise plan to create a team.</Note>
## Roles
-| Permission | Owner | Admin | Developer |
-|------------|-------|-------|-----------|
-| View dashboard | ✓ | ✓ | ✓ |
-| Create API keys | ✓ | ✓ | ✓ |
-| Manage team members | ✓ | ✓ | ✗ |
-| Manage library access | ✓ | ✓ | ✗ |
-| Manage private repos | ✓ | ✓ | ✗ |
-| Rename team | ✓ | ✗ | ✗ |
-| Delete team | ✓ | ✗ | ✗ |
+| Permission | Owner | Admin | Developer |
+| --------------------- | ----- | ----- | --------- |
+| View dashboard | ✓ | ✓ | ✓ |
+| Create API keys | ✓ | ✓ | ✓ |
+| Manage team members | ✓ | ✓ | ✗ |
+| Manage library access | ✓ | ✓ | ✗ |
+| Manage private repos | ✓ | ✓ | ✗ |
+| Rename team | ✓ | ✗ | ✗ |
+| Delete team | ✓ | ✗ | ✗ |
## Inviting Members
@@ -38,9 +36,7 @@ You must have a Pro or Enterprise plan to create a team.
4. Member receives an invitation email
5. Once they sign in, they are automatically added to the team
-<Note>
-The invitation will remain pending until they sign in.
-</Note>
+<Note>The invitation will remain pending until they sign in.</Note>
## Team Settings
@@ -48,9 +44,7 @@ If you are the owner of the team, you can rename or delete the team under the ov
![Team management card](/images/dashboard/team-management-card.png)
-<Warning>
-Deleting a team is permanent. All members lose access immediately.
-</Warning>
+<Warning>Deleting a team is permanent. All members lose access immediately.</Warning>
## Billing
@@ -62,8 +56,8 @@ See [Billing](/dashboard/billing) for payment management.
## Limits
-| Plan | Max Members |
-|------|-------------|
-| Free | 1 (personal only) |
-| Pro | 20 |
-| Enterprise | Unlimited |
+| Plan | Max Members |
+| ---------- | ----------------- |
+| Free | 1 (personal only) |
+| Pro | 20 |
+| Enterprise | Unlimited |
diff --git a/docs/dashboard/usage.mdx b/docs/dashboard/usage.mdx
index 401f0eb8..c5ec5234 100644
--- a/docs/dashboard/usage.mdx
+++ b/docs/dashboard/usage.mdx
@@ -14,6 +14,7 @@ Context7 tracks four key metrics to help you understand your usage patterns:
### Search & Query Requests
The total number of API calls made to Context7:
+
- **Search Requests**: Library search queries
- **Query Requests**: Documentation retrieval calls
@@ -21,15 +22,14 @@ The total number of API calls made to Context7:
The total number of tokens returned in API responses. This reflects how much documentation content you've retrieved.
-<Tip>
-Search requests, Query requests, and Query tokens do not affect cost.
-</Tip>
+<Tip>Search requests, Query requests, and Query tokens do not affect cost.</Tip>
### Parsing Tokens
The total tokens processed when parsing private repository documentation (Pro and Enterprise only).
**How it works**:
+
- Charged when adding a new private repository
- Charged for changed content when refreshing
- No charge for cached content when refreshing
@@ -41,6 +41,7 @@ The total tokens processed when parsing private repository documentation (Pro an
Your monthly cost in USD (Pro and Enterprise only).
**Calculation**:
+
```
Total Cost = Parsing Cost + Team Cost
@@ -49,6 +50,7 @@ Team Cost = Number of Members × $7
```
**Example**:
+
- Team: 4 members
- Parsing: 800K tokens this month
- Cost: (800K / 1M × $15) + (4 × $7) = $12 + $28 = **$40**
diff --git a/docs/docs.json b/docs/docs.json
index 163e32bc..5b620428 100644
--- a/docs/docs.json
+++ b/docs/docs.json
@@ -38,16 +38,12 @@
},
{
"group": "Resources",
- "pages": [
- "security",
- "troubleshooting",
- "contact"
- ]
+ "pages": ["security", "troubleshooting", "contact"]
}
]
},
"api": {
- "playground": {"display": "simple"}
+ "playground": { "display": "simple" }
},
"logo": {
"light": "/public/logo/logo.svg",
diff --git a/docs/plans-pricing.mdx b/docs/plans-pricing.mdx
index 2ec5575d..deeeb7ec 100644
--- a/docs/plans-pricing.mdx
+++ b/docs/plans-pricing.mdx
@@ -2,11 +2,9 @@
title: Plans & Pricing
---
-Choose a plan that fits your workflow today, and scale as your needs grow.
+Choose a plan that fits your workflow today, and scale as your needs grow.
-<Note>
-To change your plan, visit [context7.com/plans](https://context7.com/plans).
-</Note>
+<Note>To change your plan, visit [context7.com/plans](https://context7.com/plans).</Note>
## Compare Plans
@@ -42,17 +40,20 @@ Pro plan costs consist of two components:
Each team member (Owner, Admin, or Developer) counts as one seat. Learn more about team roles in the [Team Management](/dashboard/team#roles) guide.
**Example**:
+
- 1 member (you): $7/month
- 4 members: $28/month
**2. Parse Tokens: $15 per 1M tokens**
Parse tokens are charged when adding or refreshing private repositories:
+
- **Adding a new private repo**: Charged for all parsed content
- **Refreshing a repo**: Only charged for new or changed content (cached pages are free)
- **Querying documentation**: Free (covered by seat cost)
**Example**:
+
- Add a 500K token private repo: $7.50 one-time
- Refresh with 100K tokens of changes: $1.50
@@ -61,6 +62,7 @@ See [Private Repositories](/dashboard/private-repositories) for setup instructio
**Total Monthly Cost = (Seats × $7) + Parse Token Charges**
**Example**:
+
- Team: 4 members = $28/month
- Parsing: 800K tokens this month = $12
- **Total: $40**
@@ -79,8 +81,8 @@ Custom pricing based on your needs. Contact us at [[email protected]](mailto:
</Accordion>
<Accordion title="How does the Pro plan pricing work?" icon="credit-card">
- The Pro plan costs $7 per seat per month. Each team member counts as a seat, and you're billed based
- on the number of members in your team. You also pay for parse tokens used when adding or
+ The Pro plan costs $7 per seat per month. Each team member counts as a seat, and you're billed
+ based on the number of members in your team. You also pay for parse tokens used when adding or
refreshing private repositories.
</Accordion>
@@ -103,7 +105,8 @@ Custom pricing based on your needs. Contact us at [[email protected]](mailto:
</Accordion>
<Accordion title="Can I cancel my Pro subscription at any time?" icon="xmark">
- Yes, you can downgrade to the Free plan at any time. A prorated charge will apply based on the number of days used in your current billing period.
+ Yes, you can downgrade to the Free plan at any time. A prorated charge will apply based on the
+ number of days used in your current billing period.
</Accordion>
<Accordion title="What's the difference between Pro and Enterprise?" icon="building">
@@ -126,10 +129,11 @@ Custom pricing based on your needs. Contact us at [[email protected]](mailto:
<Accordion title="How do you ensure the code snippets are safe?" icon="check">
We follow several processes to ensure safety:
- - Run an LLM-based model to detect injection attempts before storing code
- - Assign a source reputation to repository authors
- - Allow users to filter trusted libraries by organization and repository
- - Regular security audits and monitoring
+- Run an LLM-based model to detect injection attempts before storing code
+- Assign a source reputation to repository authors
+- Allow users to filter trusted libraries by organization and repository
+- Regular security audits and monitoring
+
</Accordion>
<Accordion title="What are your security practices?" icon="lock">
diff --git a/docs/usage.mdx b/docs/usage.mdx
index b481166c..4ff0ca10 100644
--- a/docs/usage.mdx
+++ b/docs/usage.mdx
@@ -50,7 +50,8 @@ Stop adding `use context7` to every prompt by setting up an automatic rule.
</AccordionGroup>
<Tip>
- Customize the rule for your workflow. Examples: "Auto-invoke only for Next.js questions" or "Use context7 when the prompt mentions 'API' or 'documentation'."
+ Customize the rule for your workflow. Examples: "Auto-invoke only for Next.js questions" or "Use
+ context7 when the prompt mentions 'API' or 'documentation'."
</Tip>
## Use Specific Library IDs
diff --git a/i18n/README.de.md b/i18n/README.de.md
index ccd375c8..4dd06ce3 100644
--- a/i18n/README.de.md
+++ b/i18n/README.de.md
@@ -201,10 +201,7 @@ Weitere Informationen findest du in der [offiziellen GitHub-Dokumentation](https
"headers": {
"CONTEXT7_API_KEY": "YOUR_API_KEY"
},
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"]
}
}
}
@@ -218,16 +215,8 @@ Oder für einen lokalen Server:
"context7": {
"type": "local",
"command": "npx",
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ],
- "args": [
- "-y",
- "@upstash/context7-mcp",
- "--api-key",
- "YOUR_API_KEY"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"],
+ "args": ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"]
}
}
}
diff --git a/i18n/README.es.md b/i18n/README.es.md
index 98e38121..e327bfad 100644
--- a/i18n/README.es.md
+++ b/i18n/README.es.md
@@ -185,10 +185,7 @@ Para más información, consulta la [documentación oficial de GitHub](https://d
"headers": {
"CONTEXT7_API_KEY": "YOUR_API_KEY"
},
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"]
}
}
}
@@ -202,16 +199,8 @@ O, para un servidor local:
"context7": {
"type": "local",
"command": "npx",
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ],
- "args": [
- "-y",
- "@upstash/context7-mcp",
- "--api-key",
- "YOUR_API_KEY"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"],
+ "args": ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"]
}
}
}
diff --git a/i18n/README.fr.md b/i18n/README.fr.md
index 4e5cefaa..0eb4ad70 100644
--- a/i18n/README.fr.md
+++ b/i18n/README.fr.md
@@ -218,10 +218,7 @@ Pour plus d'informations, consultez la [documentation officielle GitHub](https:/
"headers": {
"CONTEXT7_API_KEY": "YOUR_API_KEY"
},
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"]
}
}
}
@@ -235,16 +232,8 @@ Ou, pour un serveur local :
"context7": {
"type": "local",
"command": "npx",
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ],
- "args": [
- "-y",
- "@upstash/context7-mcp",
- "--api-key",
- "YOUR_API_KEY"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"],
+ "args": ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"]
}
}
}
diff --git a/i18n/README.id-ID.md b/i18n/README.id-ID.md
index 657ea6d3..c04f3f36 100644
--- a/i18n/README.id-ID.md
+++ b/i18n/README.id-ID.md
@@ -651,10 +651,7 @@ Untuk informasi lebih lanjut, lihat [dokumentasi resmi GitHub](https://docs.gith
"headers": {
"CONTEXT7_API_KEY": "YOUR_API_KEY"
},
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"]
}
}
}
@@ -668,16 +665,8 @@ Atau, untuk server lokal:
"context7": {
"type": "local",
"command": "npx",
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ],
- "args": [
- "-y",
- "@upstash/context7-mcp",
- "--api-key",
- "YOUR_API_KEY"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"],
+ "args": ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"]
}
}
}
diff --git a/i18n/README.it.md b/i18n/README.it.md
index 4beeec9e..7d03e09b 100644
--- a/i18n/README.it.md
+++ b/i18n/README.it.md
@@ -203,10 +203,7 @@ Per maggiori informazioni, consulta la [documentazione ufficiale GitHub](https:/
"headers": {
"CONTEXT7_API_KEY": "YOUR_API_KEY"
},
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"]
}
}
}
@@ -220,16 +217,8 @@ Oppure, per un server locale:
"context7": {
"type": "local",
"command": "npx",
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ],
- "args": [
- "-y",
- "@upstash/context7-mcp",
- "--api-key",
- "YOUR_API_KEY"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"],
+ "args": ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"]
}
}
}
diff --git a/i18n/README.ja.md b/i18n/README.ja.md
index c93b94e3..0d8badf9 100644
--- a/i18n/README.ja.md
+++ b/i18n/README.ja.md
@@ -386,10 +386,7 @@ claude mcp add context7 -- npx -y @upstash/context7-mcp
"headers": {
"CONTEXT7_API_KEY": "YOUR_API_KEY"
},
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"]
}
}
}
@@ -403,16 +400,8 @@ claude mcp add context7 -- npx -y @upstash/context7-mcp
"context7": {
"type": "local",
"command": "npx",
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ],
- "args": [
- "-y",
- "@upstash/context7-mcp",
- "--api-key",
- "YOUR_API_KEY"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"],
+ "args": ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"]
}
}
}
diff --git a/i18n/README.ko.md b/i18n/README.ko.md
index 7008fcb7..736aa710 100644
--- a/i18n/README.ko.md
+++ b/i18n/README.ko.md
@@ -442,10 +442,7 @@ Claude Desktop의 `claude_desktop_config.json` 파일에 다음을 추가하세
"headers": {
"CONTEXT7_API_KEY": "YOUR_API_KEY"
},
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"]
}
}
}
@@ -459,16 +456,8 @@ Claude Desktop의 `claude_desktop_config.json` 파일에 다음을 추가하세
"context7": {
"type": "local",
"command": "npx",
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ],
- "args": [
- "-y",
- "@upstash/context7-mcp",
- "--api-key",
- "YOUR_API_KEY"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"],
+ "args": ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"]
}
}
}
diff --git a/i18n/README.pt-BR.md b/i18n/README.pt-BR.md
index 4de2a407..72fe0e0c 100644
--- a/i18n/README.pt-BR.md
+++ b/i18n/README.pt-BR.md
@@ -716,10 +716,7 @@ Para mais informações, veja a [documentação oficial do GitHub](https://docs.
"headers": {
"CONTEXT7_API_KEY": "YOUR_API_KEY"
},
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"]
}
}
}
@@ -733,16 +730,8 @@ Ou, para um servidor local:
"context7": {
"type": "local",
"command": "npx",
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ],
- "args": [
- "-y",
- "@upstash/context7-mcp",
- "--api-key",
- "YOUR_API_KEY"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"],
+ "args": ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"]
}
}
}
diff --git a/i18n/README.ru.md b/i18n/README.ru.md
index 26dd81e0..128203d3 100644
--- a/i18n/README.ru.md
+++ b/i18n/README.ru.md
@@ -216,10 +216,7 @@ claude mcp add context7 -- npx -y @upstash/context7-mcp
"headers": {
"CONTEXT7_API_KEY": "YOUR_API_KEY"
},
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"]
}
}
}
@@ -233,16 +230,8 @@ claude mcp add context7 -- npx -y @upstash/context7-mcp
"context7": {
"type": "local",
"command": "npx",
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ],
- "args": [
- "-y",
- "@upstash/context7-mcp",
- "--api-key",
- "YOUR_API_KEY"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"],
+ "args": ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"]
}
}
}
diff --git a/i18n/README.uk.md b/i18n/README.uk.md
index cf2df3e1..a3754298 100644
--- a/i18n/README.uk.md
+++ b/i18n/README.uk.md
@@ -339,10 +339,7 @@ npx -y @smithery/cli@latest install @upstash/context7-mcp --client <CLIENT_NAME>
"headers": {
"CONTEXT7_API_KEY": "YOUR_API_KEY"
},
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"]
}
}
}
@@ -356,16 +353,8 @@ npx -y @smithery/cli@latest install @upstash/context7-mcp --client <CLIENT_NAME>
"context7": {
"type": "local",
"command": "npx",
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ],
- "args": [
- "-y",
- "@upstash/context7-mcp",
- "--api-key",
- "YOUR_API_KEY"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"],
+ "args": ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"]
}
}
}
diff --git a/i18n/README.vi.md b/i18n/README.vi.md
index 367e50e5..68b12a33 100644
--- a/i18n/README.vi.md
+++ b/i18n/README.vi.md
@@ -748,10 +748,7 @@ Thêm cấu hình sau vào phần `mcp` trong file cấu hình Copilot Coding Ag
"headers": {
"CONTEXT7_API_KEY": "YOUR_API_KEY"
},
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"]
}
}
}
@@ -765,16 +762,8 @@ Hoặc, đối với server cục bộ:
"context7": {
"type": "local",
"command": "npx",
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ],
- "args": [
- "-y",
- "@upstash/context7-mcp",
- "--api-key",
- "YOUR_API_KEY"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"],
+ "args": ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"]
}
}
}
diff --git a/i18n/README.zh-CN.md b/i18n/README.zh-CN.md
index c76f7f86..41a852e1 100644
--- a/i18n/README.zh-CN.md
+++ b/i18n/README.zh-CN.md
@@ -752,10 +752,7 @@ http_headers = { "CONTEXT7_API_KEY" = "YOUR_API_KEY" }
"headers": {
"CONTEXT7_API_KEY": "YOUR_API_KEY"
},
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"]
}
}
}
@@ -769,16 +766,8 @@ http_headers = { "CONTEXT7_API_KEY" = "YOUR_API_KEY" }
"context7": {
"type": "local",
"command": "npx",
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ],
- "args": [
- "-y",
- "@upstash/context7-mcp",
- "--api-key",
- "YOUR_API_KEY"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"],
+ "args": ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"]
}
}
}
diff --git a/i18n/README.zh-TW.md b/i18n/README.zh-TW.md
index d7ebef86..a82adec3 100644
--- a/i18n/README.zh-TW.md
+++ b/i18n/README.zh-TW.md
@@ -455,10 +455,7 @@ claude mcp add context7 -- npx -y @upstash/context7-mcp
"headers": {
"CONTEXT7_API_KEY": "YOUR_API_KEY"
},
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"]
}
}
}
@@ -472,16 +469,8 @@ claude mcp add context7 -- npx -y @upstash/context7-mcp
"context7": {
"type": "local",
"command": "npx",
- "tools": [
- "get-library-docs",
- "resolve-library-id"
- ],
- "args": [
- "-y",
- "@upstash/context7-mcp",
- "--api-key",
- "YOUR_API_KEY"
- ]
+ "tools": ["get-library-docs", "resolve-library-id"],
+ "args": ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"]
}
}
}