Cursor
Cursor
Go to: 

Settings -> Cursor Settings -> MCP -> Add new global MCP serverPasting the following configuration into your Cursor ~/.cursor/mcp.json file is the recommended approach. You may also install in a specific project by creating .cursor/mcp.json in your project folder. See Cursor MCP docs for more info.Since Cursor 1.0, you can click the install button below for instant one-click installation.Remote Server Connection
Local Server Connection
Claude Code
Claude Code
Run this command. See Claude Code MCP docs for more info.
Remote Server Connection
Local Server Connection
VS Code
VS Code
Remote Server Connection
Local Server Connection
Windsurf
Windsurf
Add this to your Windsurf MCP config file. See Windsurf MCP docs for more info.
Remote Server Connection
Local Server Connection
Cline
Cline
You can easily install Context7 through the Cline MCP Server Marketplace by following these instructions:
- Open Cline.
- Click the hamburger menu icon to enter the MCP Servers section.
- Use the search bar within the Marketplace tab to find Context7.
- Click the Install button.
- Open Cline.
- Click the hamburger menu icon to enter the MCP Servers section.
- Choose Remote Servers tab.
- Click the Edit Configuration button.
- Add context7 to
mcpServers:
Opencode
Opencode
Add this to your Opencode configuration file. See Opencode MCP docs for more info.
Remote Server Connection
Local Server Connection
Amp
Amp
Run this command in your terminal. See Amp MCP docs for more info.
Without API Key (Basic Usage)
With API Key (Higher Rate Limits & Private Repos)
Zed
Zed
It can be installed via Zed Extensions or you can add this to your Zed
settings.json. See Zed Context Server docs for more info.Smithery
Smithery
To install Context7 MCP Server for any client automatically via Smithery:You can find your Smithery key in the Smithery.ai webpage.
Augment Code
Augment Code
To configure Context7 MCP in Augment Code, you can use either the graphical interface or manual configuration.
Using the Augment Code UI
- Click the hamburger menu.
- Select Settings.
- Navigate to the Tools section.
- Click the + Add MCP button.
-
Enter the following command:
- Name the MCP: Context7.
- Click the Add button.
Manual Configuration
- Press Cmd/Ctrl Shift P or go to the hamburger menu in the Augment panel
- Select Edit Settings
- Under Advanced, click Edit in settings.json
- Add the server configuration to the
mcpServersarray in theaugment.advancedobject
Kilo Code
Kilo Code
You can configure the Context7 MCP server in Kilo Code using either the UI or by editing your project’s MCP configuration file.Kilo Code supports two configuration levels:
- Global MCP Configuration — stored in
mcp_settings.json - Project-level MCP Configuration — stored in
.kilocode/mcp.json(recommended)
Configure via Kilo Code UI
- Open Kilo Code.
- Click the Settings icon in the top-right corner.
- Navigate to Settings → MCP Servers.
- Click Add Server.
- Choose HTTP Server (Streamable HTTP Transport).
- Enter the details:
- URL:
https://mcp.context7.com/mcp - Headers → Add Header
- Key:
Authorization - Value:
Bearer YOUR_API_KEY
- Key:
- URL:
- Click Save.
Manual Configuration
Create.kilocode/mcp.json:Google Antigravity
Google Antigravity
Add this to your Antigravity MCP config file. See Antigravity MCP docs for more info.
Remote Server Connection
Local Server Connection
Roo Code
Roo Code
Add this to your Roo Code MCP configuration file. See Roo Code MCP docs for more info.
Remote Server Connection
Local Server Connection
Gemini CLI
Gemini CLI
See Gemini CLI Configuration for details.Or, for a local server:
- Open the Gemini CLI settings file at
~/.gemini/settings.json - Add the following to the
mcpServersobject:
Qwen Coder
Qwen Coder
See Qwen Coder MCP Configuration for details.Or, for a local server:
- Open the Qwen Coder settings file at
~/.qwen/settings.json - Add the following to the
mcpServersobject:
Claude Desktop
Claude Desktop
Remote Server Connection
Open Claude Desktop and navigate to Settings > Connectors > Add Custom Connector. Enter the name asContext7 and the remote MCP server URL as https://mcp.context7.com/mcp.Local Server Connection
Open Claude Desktop developer settings and edit yourclaude_desktop_config.json file. See Claude Desktop MCP docs for more info.OpenAI Codex
OpenAI Codex
See OpenAI Codex for more information.
Local Server Connection
Remote Server Connection
If you see startup timeout errors, try increasing
startup_timeout_ms to 40_000.JetBrains AI Assistant
JetBrains AI Assistant
See JetBrains AI Assistant Documentation for more details.
- In JetBrains IDEs, go to
Settings->Tools->AI Assistant->Model Context Protocol (MCP) - Click
+ Add. - Click on
Commandin the top-left corner and select the As JSON option - Add this configuration:
- Click
Applyto save changes.
Kiro
Kiro
See Kiro Model Context Protocol Documentation for details.
- Navigate
Kiro>MCP Servers - Add a new MCP server by clicking the
+ Addbutton. - Paste the configuration:
- Click
Saveto apply.
Trae
Trae
Use the Add manually feature and fill in the JSON configuration. See Trae documentation for more details.
Remote Server Connection
Local Server Connection
Using Bun or Deno
Using Bun or Deno
Using Docker
Using Docker
- Create a
Dockerfile:
- Build the image:
- Configure your MCP client:
Windows
Windows
The configuration on Windows is slightly different. Use
cmd to run npx:Amazon Q Developer CLI
Amazon Q Developer CLI
Add this to your Amazon Q Developer CLI configuration file. See Amazon Q Developer CLI docs for more details.
Warp
Warp
See Warp Model Context Protocol Documentation for details.
- Navigate
Settings>AI>Manage MCP servers. - Add a new MCP server by clicking the
+ Addbutton. - Paste the configuration:
- Click
Save.
Copilot Coding Agent
Copilot Coding Agent
Add the following configuration to Repository->Settings->Copilot->Coding agent->MCP configuration:See the official GitHub documentation for more info.
Copilot CLI
Copilot CLI
Open Or, for a local server:
~/.copilot/mcp-config.json and add:LM Studio
LM Studio
See LM Studio MCP Support for more information.
One-click install:
Manual set-up:
- Navigate to
Program(right side) >Install>Edit mcp.json. - Paste the configuration:
- Click
Save.
Visual Studio 2022
Visual Studio 2022
Crush
Crush
Add this to your Crush configuration file. See Crush MCP docs for more info.
Remote Server Connection
Local Server Connection
BoltAI
BoltAI
Open the “Settings” page, navigate to “Plugins,” and enter:See BoltAI’s Documentation for more info.
Zencoder
Zencoder
- Go to the Zencoder menu (…)
- Select Agent tools
- Click on Add custom MCP
- Add the name and configuration:
- Click Install.
Qodo Gen
Qodo Gen
See Qodo Gen docs for more details.
- Open Qodo Gen chat panel in VSCode or IntelliJ.
- Click Connect more tools.
- Click + Add new MCP.
- Add the configuration:
Local Server Connection
Remote Server Connection
Perplexity Desktop
Perplexity Desktop
See Local and Remote MCPs for Perplexity for more information.
- Navigate
Perplexity>Settings - Select
Connectors. - Click
Add Connector. - Select
Advanced. - Enter Server Name:
Context7 - Paste:
- Click
Save.
Factory
Factory
Factory’s droid supports MCP servers through its CLI. See Factory MCP docs for more info.
Remote Server Connection
Local Server Connection
Emdash
Emdash
Emdash is an orchestration layer for running multiple coding agents in parallel.What Emdash provides:
- Global toggle: Settings → MCP → “Enable Context7 MCP”
- Per-workspace enable: The Context7 button in the ProviderBar
Desktop Extension
Desktop Extension
Install the context7.mcpb file and add it to your client. See MCP bundles docs for more info.