Skip to content

09Manage servers with AI

Connect Windsurf, OpenCode and other apps to Nexthosting Connect

Configuration for Windsurf, OpenCode, Codex CLI, Zed and any other app with MCP support, so you can manage your Nexthosting servers with AI.

In short

Any app that supports remote MCP servers with sign-in through OAuth works with the address https://mcp.nexthosting.net/mcp. Choose “HTTP” or “Streamable HTTP” as the type. You do not need a key or password.

Windsurf reads the MCP settings from the file mcp_config.json. Open the MCP settings or the file and add the entry:

{
"mcpServers": {
"nexthosting-connect": {
"url": "https://mcp.nexthosting.net/mcp",
"transport": "http"
}
}
}

Older Windsurf versions only know serverUrl instead of url:

{
"mcpServers": {
"nexthosting-connect": {
"serverUrl": "https://mcp.nexthosting.net/mcp"
}
}
}

On the first call, you sign in to Nexthosting.

Add the server to your opencode.json and sign in:

{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"servers": {
"nexthosting-connect": {
"type": "remote",
"url": "https://mcp.nexthosting.net/mcp"
}
}
}
}
Terminal window
opencode mcp auth nexthosting-connect

Older OpenCode versions add the server directly under mcp, without servers.

In the Codex file config.toml:

[mcp_servers.nexthosting-connect]
url = "https://mcp.nexthosting.net/mcp"

Sign in with codex mcp login nexthosting-connect.

In the Zed settings:

{
"context_servers": {
"nexthosting-connect": {
"url": "https://mcp.nexthosting.net/mcp"
}
}
}

Without your own Authorization header, Zed starts the sign-in through OAuth itself.

  1. Search the settings for “MCP”, “Connectors” or “Tools” and choose “Add server”.
  2. Choose HTTP or Streamable HTTP as the type and enter the address.
  3. Leave the sign-in set to OAuth. On the first call, a Nexthosting page opens.

A general example file:

{
"mcpServers": {
"nexthosting-connect": {
"type": "http",
"url": "https://mcp.nexthosting.net/mcp"
}
}
}

It reports “configuration error” or “server found, but no tools”.

Section titled “It reports “configuration error” or “server found, but no tools”.”

Check the spelling of type, url and the key names for your app. The names differ from app to app. If you are stuck, write us a ticket with the name and version of your app.