Agent skill
julien-mcp-context7
Install Context7 MCP for contextual search. Use when user needs Upstash Context7 integration.
Stars
163
Forks
31
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/testing/julien-mcp-context7
SKILL.md
MCP Context7 Installer
This skill installs the Context7 MCP server into the current project.
Installation Procedure
When the user asks to install Context7 MCP:
- Check for existing
.mcp.jsonin the project root - Merge configuration - Add this server to
mcpServers:
json
{
"context7": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@upstash/context7-mcp@latest", "--api-key", "${CONTEXT_7_API_KEY}"]
}
}
- If
.mcp.jsondoesn't exist, create it with the full structure:
json
{
"mcpServers": {
"context7": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@upstash/context7-mcp@latest", "--api-key", "${CONTEXT_7_API_KEY}"]
}
}
}
Environment Variables Required
CONTEXT_7_API_KEY: Your Context7 API key
Usage After Installation
Restart Claude Code to activate the MCP server.
Skill Chaining
- Input: User request to install Context7 MCP
- Output: Configured
.mcp.jsonwith context7 server - Tools Used: Read, Edit, Write
- Chains With: Basic Memory MCP for persistence
Troubleshooting
| Problem | Solution |
|---|---|
| API key invalid | Get new key from Upstash dashboard |
npx not found |
Install Node.js and ensure npm is in PATH |
| Connection timeout | Check network and Upstash service status |
| Index not found | Create index in Upstash Context7 console |
Didn't find tool you were looking for?