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
Section titled “Windsurf”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.
OpenCode
Section titled “OpenCode”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" } } }}opencode mcp auth nexthosting-connectOlder OpenCode versions add the server directly under mcp, without servers.
Codex CLI
Section titled “Codex CLI”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.
Other apps
Section titled “Other apps”- Search the settings for “MCP”, “Connectors” or “Tools” and choose “Add server”.
- Choose HTTP or Streamable HTTP as the type and enter the address.
- 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" } }}Frequently asked questions
Section titled “Frequently asked questions”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.