Zed Setup
Connect Nexlayer to Zed, the high-performance code editor with AI integration.
Recommended: npx Install
The fastest way to get started. Run this command in your terminal:
npx @nexlayer/mcp-installThis will automatically detect Zed and configure the Nexlayer context server.
Manual Installation
If you prefer to configure manually, you have two options:
Option 1: Using Zed Settings UI
- 1.Open Agent Panel settings (
agent: open settings) - 2.Click “Add Custom Server”
- 3.Enter the server URL:
https://mcp.nexlayer.ai/api/mcp
Option 2: Edit Settings File
Config file location:
~/.config/zed/settings.json
Open with Cmd+Alt+, (Mac) or Ctrl+Alt+, (Linux)
{
"context_servers": {
"nexlayer-mcp": {
"source": "custom",
"transport": "sse",
"url": "https://mcp.nexlayer.ai/api/mcp"
}
}
}Note:
Zed uses "context_servers" instead of "mcpServers" and requires "source": "custom".
Verify Installation
After installation, verify that Nexlayer is connected:
- 1
Open Agent Panel settings
Run
agent: open settingsfrom command palette - 2
Check server status
Look for a green indicator next to “nexlayer-mcp”
- 3
Test the connection
Ask the AI assistant to deploy your project
Troubleshooting
Server showing red indicator?
Hover over the indicator to see the error message. Common issues include network connectivity or authentication problems.
Settings not taking effect?
Make sure to save the settings file and check for JSON syntax errors. Zed will show warnings for invalid configuration.