Stack Internal Support
How to connect to the Stack Internal Model Context Protocol (MCP) server.
Tags: MCP

Overview

The Stack Internal MCP server lets AI agents securely access all connected sources of knowledge in Stack Internal. Agents can request the context they need directly from Stack Internal to answer questions, summarize information, and take supported actions using trusted enterprise knowledge. All the while MCP server preserves permissions, source identity, and governance.

The MCP server URL differs based on where the workspace you're connecting to is hosted. The default MCP URL is https://mcp.stackinternal.com. If the workspace you're connecting to is hosted in the EU, use https://mcp.eu.stackinternal.com.

Connect to the Stack Internal MCP server

This guide walks you through connecting your AI tool to the Stack Internal MCP server using the Model Context Protocol (MCP). Once connected, your tool can securely access all connected sources of knowledge in Stack Internal.

Claude Code

Open your computer's terminal and run the following command:

claude mcp add --transport http StackInternal https://mcp.stackinternal.com/

If you're connecting to a workspace in the EU, use this command instead:

claude mcp add --transport http StackInternal https://mcp.eu.stackinternal.com/

Claude Web

  1. Visit https://claude.ai/customize/connectors.
  2. Add a new connector / MCP server.
  3. Add our server: [https://mcp.stackinternal.com] (or https://mcp.eu.stackinternal.com for EU users).
  4. Complete any authentication as prompted.

Codex

Open your computer's terminal and run the following command:

codex mcp add StackInternal --url https://mcp.stackinternal.com

If you're connecting to a workspace in the EU, use this command instead:

codex mcp add StackInternal --url https://mcp.eu.stackinternal.com

Copilot

Open your computer's terminal and run the following command:

copilot mcp add --transport http StackInternal https://mcp.stackinternal.com/

If you're connecting to a workspace in the EU, use this command instead:

copilot mcp add --transport http StackInternal https://mcp.eu.stackinternal.com/

Cursor

With Cursor installed on your computer, copy the link below into your browser:

cursor://anysphere.cursor-deeplink/mcp/install?name=StackInternal&config=eyJ1cmwiOiJodHRwczovL21jcC5zdGFja2ludGVybmFsLmNvbSJ9

If you're connecting to a workspace in the EU, use this link instead:

cursor://anysphere.cursor-deeplink/mcp/install?name=StackInternal&config=eyJ1cmwiOiJodHRwczovL21jcC5ldS5zdGFja2ludGVybmFsLmNvbSJ9

Gemini CLI

Open your computer's terminal and run the following command:

gemini mcp add --transport http StackInternal https://mcp.stackinternal.com/

If you're connecting to a workspace in the EU, use this command instead:

gemini mcp add --transport http StackInternal https://mcp.eu.stackinternal.com/

JetBrains AI Assistant

  1. Open Settings.
  2. Go to Tools.
  3. Go to AI Assistant.
  4. Open Model Context Protocol (MCP).
  5. Click Add.
  6. Choose HTTP.
  7. Paste:
{
"mcpServers": {
    "StackInternal": {
    "url": "https://mcp.stackinternal.com/"
    }
  }
}

If you're connecting to a workspace in the EU, paste this instead:

{
"mcpServers": {
    "StackInternal": {
    "url": "https://mcp.eu.stackinternal.com/"
    }
  }
}
  1. Click OK.
  2. Click Apply.

Visual Studio

  1. Open GitHub Copilot Chat.
  2. Switch to Agent mode.
  3. Open Tools.
  4. Click the + button.
  5. Choose Add custom MCP server.
  6. Enter the server name: StackInternal.
  7. Enter the server URL: https://mcp.stackinternal.com (or https://mcp.eu.stackinternal.com for EU users).
  8. Save the configuration.

Visual Studio Code

With VS Code installed on your computer, copy the link below into your browser:

vscode:mcp/install?%7B%22name%22%3A%22StackInternal%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.stackinternal.com%22%7D

If you're connecting to a workspace in the EU, use this link instead:

vscode:mcp/install?%7B%22name%22%3A%22StackInternal%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.eu.stackinternal.com%22%7D

Windsurf

  1. If StackInternal is published in the Windsurf registry, install it from there.
  2. If it is not registry-listed, open ~/.codeium/windsurf/mcp_config.json.
  3. Add:
{
"mcpServers": {
    "StackInternal": {
    "serverUrl": "https://mcp.stackinternal.com/"
    }
  }
}

If you're connecting to a workspace in the EU, use this config instead:

{
"mcpServers": {
    "StackInternal": {
    "serverUrl": "https://mcp.eu.stackinternal.com/"
    }
  }
}
  1. Save the file.
  2. Restart Windsurf if needed.

Zed

  1. Open Zed settings.
  2. Add StackInternal under context_servers.
  3. Set the URL to https://mcp.stackinternal.com (or https://mcp.eu.stackinternal.com for EU users).
  4. Save the settings.

Manual installation

Add the following config to your IDE or Agent:

{
  "mcpServers": {
    "StackInternal": {
      "type": "streamable-http",
      "url": "https://mcp.stackinternal.com/"
    }
  }
}

If you're connecting to a workspace in the EU, use this config instead:

{
  "mcpServers": {
    "StackInternal": {
      "type": "streamable-http",
      "url": "https://mcp.eu.stackinternal.com/"
    }
  }
}

If your IDE or Agent does not support Streamable HTTP (usually on older products), use the following config:

{
  "mcpServers": {
    "StackInternal": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.stackinternal.com/"
      ]
    }
  }
}

If you're connecting to a workspace in the EU, use this config instead:

{
  "mcpServers": {
    "StackInternal": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.eu.stackinternal.com/"
      ]
    }
  }
}

Amp

Open your computer's terminal and run the following command:

amp mcp add StackInternal https://mcp.stackinternal.com/

If you're connecting to a workspace in the EU, use this command instead:

amp mcp add StackInternal https://mcp.eu.stackinternal.com/

Documentation

Here are additional articles you may find helpful:

https://doc-automation.netlify.app/pdfs/docs/internal/for_admins/mcp_server/MCP_server_overview.pdf

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article