Zed with Markup AI MCP
Overview
Connect Zed to the hosted Markup AI MCP server at https://api.markup.ai/mcp/ so your agent can run brand-voice, clarity, persona, and other content checks inline. Add the remote server and log in through your browser.
You’ll need a Markup AI account to continue. Sign up at https://console.markup.ai/signup.
Native remote (URL-based) MCP servers require a recent version of Zed. Make sure Zed is up to date.
Add Markup AI as a Remote MCP Server
Zed configures MCP servers under context_servers in settings.json. Open Zed settings (Command Palette → Open Settings), switching to the JSON view if needed, then add one of the entries below.
Log in with OAuth
Because there’s no secret in the file, this entry is safe to share with your team. Each person logs in with their own Markup AI account.
Use an API key
Get your API key
- Visit https://console.markup.ai/signup and create an account.
- Copy your API key from the console.
Store your key securely. Prefer environment variables or a secrets manager over committing keys to code.
Use either OAuth or an API-key header—not both. Setting an Authorization header is exactly what suppresses Zed’s login prompt, so a bad key surfaces as a connection failure rather than an OAuth flow.
Restart & Verify
- Restart Zed or reload the window.
- Open the Agent Panel settings and confirm the
markup-aiserver is active (green indicator) or that Markup AI tools are available.
Test Your Setup
- “Check this paragraph for brand-voice drift: [paste text]”
- “Flag any hard-to-read sentences and rewrite them: [paste text]”
You should see your agent call Markup AI tools to analyze your text.
Troubleshooting
- Ensure your JSON is valid and the entry sits under
context_servers. - Verify the URL is
https://api.markup.ai/mcp/, including the trailing slash—without it the request redirects and Zed can’t discover the OAuth endpoints. - If the login prompt doesn’t appear, make sure the entry has no
headersblock; anAuthorizationheader suppresses OAuth. - Fully restart Zed after changes if tools don’t appear, and confirm you’re on a Zed version that supports remote URL servers.
Links
- Zed MCP docs: https://zed.dev/docs/ai/mcp