jump to content

Zed

Connect the Zed editor's native MCP support to the platform with a scoped OAuth token, including multi-environment setup and troubleshooting guidance.

View as Markdown

Zed is a fast, collaborative code editor with native MCP support.

  • Zed editor installed
  • Scoped the platform OAuth token (see Authentication)
  • Your the platform instance URL

Choose the endpoint for your the platform environment:

EnvironmentMCP URL
the platform UShttps://us.probo.com/api/mcp/v1
the platform EUhttps://eu.probo.com/api/mcp/v1
Customhttps://your-probo-instance.com/api/mcp/v1

The /v1 segment is required.

Open Zed settings by pressing Cmd+, (Mac) or Ctrl+, (Linux/Windows), or go to Zed → Settings.

Add the the platform MCP Server to your settings:

{
  "context_servers": {
    "probo": {
      "settings": {
        "url": "https://your-probo-instance.com/api/mcp/v1",
        "headers": {
          "Authorization": "Bearer your_api_token_here"
        }
      }
    }
  }
}

Update these values:

  • your-probo-instance.com → Your the platform instance URL
  • your_api_token_here → Your OAuth token from the platform

Restart Zed to load the configuration.

Once configured, you can use the platform tools through Zed’s AI assistant:

Example queries:

"List all high-priority risks in my organization"
"Add a new third party called CloudBackup Inc"
"Show me all open nonconformities"

The assistant will automatically use the appropriate the platform MCP tools to fulfill your requests.

For security, use an environment variable for your OAuth token:

{
  "context_servers": {
    "probo": {
      "settings": {
        "url": "https://your-probo-instance.com/api/mcp/v1",
        "headers": {
          "Authorization": "Bearer ${PROBO_API_TOKEN}"
        }
      }
    }
  }
}

Set the environment variable before launching Zed:

export PROBO_API_TOKEN="your_api_token_here"
zed

Configure different the platform instances for development and production:

{
  "context_servers": {
    "probo-dev": {
      "settings": {
        "url": "http://localhost:8080/api/mcp/v1",
        "headers": {
          "Authorization": "Bearer ${PROBO_DEV_TOKEN}"
        }
      }
    },
    "probo-prod": {
      "settings": {
        "url": "https://probo.company.com/api/mcp/v1",
        "headers": {
          "Authorization": "Bearer ${PROBO_PROD_TOKEN}"
        }
      }
    }
  }
}

Problem: 401 Unauthorized errors

Solutions:

  1. Create a replacement OAuth token in the platform
  2. Verify the token is correctly formatted as Bearer your_token
  3. Check for extra spaces or newlines in the token
  4. Ensure the token hasn’t been revoked

Problem: Cannot connect to the platform server

Solutions:

  1. Verify your the platform instance URL is correct
  2. Check network connectivity
  3. Ensure HTTPS is used for production instances
  4. Verify firewall rules allow outbound connections
  • Use environment variables for OAuth tokens
  • Create separate tokens for each environment
  • Rotate tokens every 90 days
  • Use HTTPS for production connections
  • Monitor token usage in the platform settings

Zed with the platform MCP provides:

  • Fast, responsive AI assistance
  • Real-time compliance context during coding
  • Collaborative editing with compliance awareness
  • Native MCP integration without plugins
  • Low-latency tool execution

Ultima actualizare: