MCP Server Studio
Up-to-date docs for AI agents
Registry name: io.github.upstash/context7
Add to claude_desktop_config.json:
{
"mcpServers": {
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/[email protected]"
],
"env": {
"CONTEXT7_API_KEY": "<CONTEXT7_API_KEY>"
}
}
}
}Run in your terminal:
claude mcp add context7 -e CONTEXT7_API_KEY='<CONTEXT7_API_KEY>' -- npx -y @upstash/[email protected]Add to .cursor/mcp.json:
{
"mcpServers": {
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/[email protected]"
],
"env": {
"CONTEXT7_API_KEY": "<CONTEXT7_API_KEY>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"context7": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@upstash/[email protected]"
],
"env": {
"CONTEXT7_API_KEY": "<CONTEXT7_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"context7": {
"command": "npx",
"args": [
"-y",
"@upstash/[email protected]"
],
"env": {
"CONTEXT7_API_KEY": "<CONTEXT7_API_KEY>"
}
}
}
}Add to claude_desktop_config.json:
{
"mcpServers": {
"context7": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.context7.com/mcp",
"--header",
"Authorization: <Authorization>"
]
}
}
}Run in your terminal:
claude mcp add --transport http context7 https://mcp.context7.com/mcp --header 'Authorization: <Authorization>'Add to .cursor/mcp.json:
{
"mcpServers": {
"context7": {
"url": "https://mcp.context7.com/mcp",
"headers": {
"Authorization": "<Authorization>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"context7": {
"type": "http",
"url": "https://mcp.context7.com/mcp",
"headers": {
"Authorization": "<Authorization>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"context7": {
"serverUrl": "https://mcp.context7.com/mcp",
"headers": {
"Authorization": "<Authorization>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
CONTEXT7_API_KEY | No | API key for authentication |