diff options
Diffstat (limited to 'external_plugins/context7')
| -rw-r--r-- | external_plugins/context7/.claude-plugin/plugin.json | 8 | ||||
| -rw-r--r-- | external_plugins/context7/.mcp.json | 6 | ||||
| -rw-r--r-- | external_plugins/context7/README.md | 41 |
3 files changed, 55 insertions, 0 deletions
diff --git a/external_plugins/context7/.claude-plugin/plugin.json b/external_plugins/context7/.claude-plugin/plugin.json new file mode 100644 index 00000000..4f6a0878 --- /dev/null +++ b/external_plugins/context7/.claude-plugin/plugin.json @@ -0,0 +1,8 @@ +{ + "name": "context7", + "description": "Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.", + "version": "1.0.0", + "author": { + "name": "Upstash" + } +} diff --git a/external_plugins/context7/.mcp.json b/external_plugins/context7/.mcp.json new file mode 100644 index 00000000..6dec78d6 --- /dev/null +++ b/external_plugins/context7/.mcp.json @@ -0,0 +1,6 @@ +{ + "context7": { + "command": "npx", + "args": ["-y", "@upstash/context7-mcp"] + } +} diff --git a/external_plugins/context7/README.md b/external_plugins/context7/README.md new file mode 100644 index 00000000..8b9b7ba7 --- /dev/null +++ b/external_plugins/context7/README.md @@ -0,0 +1,41 @@ +# Context7 Plugin + +Upstash Context7 MCP server for Claude Code. + +## What It Does + +Pull up-to-date, version-specific documentation and code examples directly from source repositories into your LLM context. Add "use context7" to prompts to fetch relevant documentation. + +## Prerequisites + +- Node.js >= v18.0.0 + +## Optional: API Key for Higher Rate Limits + +For higher rate limits and private repository access, get an API key and configure: + +```json +{ + "context7": { + "command": "npx", + "args": ["-y", "@upstash/context7-mcp", "--api-key", "YOUR_API_KEY"] + } +} +``` + +Or use the remote server: +```json +{ + "context7": { + "type": "http", + "url": "https://mcp.context7.com/mcp", + "headers": { + "Authorization": "Bearer YOUR_API_KEY" + } + } +} +``` + +## Learn More + +See [Context7 GitHub](https://github.com/upstash/context7) for detailed documentation. |
