zed-mcp-server-context7

zed-mcp-server-context7

29

Context7 MCP Server integrates with Zed Assistant to provide real-time, accurate documentation and code snippets based on the latest library versions. It eliminates outdated information, improving the functionality and reliability of language models in development environments.

Context7 MCP Server for Zed

This extension integrates Context7 as a Model Context Protocol (MCP) server for Zed's Assistant, enabling up-to-date, version-specific documentation and code examples into your prompt context.

Features

  • Fetches real-time documentation and code examples
  • Enhances Zed Assistant's response accuracy
  • Seamless integration; no tab-switching needed

Installation

Install this extension from the Zed extension marketplace.

Configuration

Enable the Context7 MCP server in Zed's assistant settings for full functionality.

Tools

  • resolve-library-id: For converting library names into Context7 IDs
  • get-library-docs: Fetch documentation based on library IDs

Environment Variables

Set DEFAULT_MINIMUM_TOKENS to customize token count for documentation retrieval.