OpenGraph MCP Server for Zed
Enhance Zed's AI assistant with real-time web data access. Fetch metadata, capture screenshots, and scrape content directly in the high-performance editor.
Important: Zed Uses Different Config Format
Note: Zed uses context_servers instead of mcpServers. Make sure to use the correct format below.
Installation
Edit Your Zed Settings
Open Zed settings (
Cmd + ,on macOS) and add the context server configuration to yoursettings.json:~/.config/zed/settings.json{ "context_servers": { "opengraph": { "transport": "http", "url": "https://mcp.opengraph.io/mcp" } } }Prefer a static API key instead of signing in? See Signing In for the alternate config.
Restart Zed
Restart Zed. A browser tab will open the first time you connect so you can sign in with your OpenGraph.io account — no App ID needed.
Verify the Connection
Open the AI assistant panel and try asking it to unfurl a URL.
Configuration Notes
Key differences from other editors:
- Zed uses
context_servers(notmcpServers) - Config file is at
~/.config/zed/settings.json - The JSON structure otherwise follows the same pattern
Full Settings Example
If you have other Zed settings, add the context_servers key alongside them:
{
"theme": "One Dark",
"buffer_font_size": 14,
"context_servers": {
"opengraph": {
"transport": "http",
"url": "https://mcp.opengraph.io/mcp"
}
}
}Available Tools
Once connected, Zed's AI has access to:
- Get OG Data – Extract OpenGraph metadata from URLs
- Screenshot – Capture webpage screenshots
- Scrape – Fetch HTML with JavaScript rendering
- Query – Ask questions about page content
Example Prompts
Research Documentation
Unfurl https://zed.dev/docs and summarize what Zed's documentation covers.Analyze a Website
Take a screenshot of https://rust-lang.org and describe the homepage layout.Extract Content
Scrape https://crates.io and list the most downloaded crates.Troubleshooting
Context server not loading?
- Make sure you used
context_servers, notmcpServers - Verify your JSON syntax is valid (no trailing commas)
- Restart Zed completely after changing settings
- If you signed in, make sure you approved the connection in the browser tab that opened
Finding Zed logs
Check Zed's logs for context server errors:
- macOS:
~/Library/Logs/Zed/ - Linux:
~/.local/share/zed/logs/