Skip to main content

Installation

The Dam Secure MCP is available via HTTP at https://api.damsecure.ai/mcp. Pick the section that matches your editor.

Cursor​

Open Cursor Settings → MCP and add the following server configuration:

{
"damsecure": {
"type": "http",
"url": "https://api.damsecure.ai/mcp",
"oauth": {
"callbackPort": 6843
}
}
}

After adding the MCP, go back to the MCP page and click Connect. You'll be taken through the OAuth flow to authenticate with Dam Secure.

VS Code​

  1. Open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P) and select MCP: Add Server…
  2. Choose HTTP as the server type.
  3. Enter the server URL: https://api.damsecure.ai/mcp.
  4. Give it the name damsecure.

This creates (or updates) a .vscode/mcp.json file in your workspace:

{
"servers": {
"damsecure": {
"type": "http",
"url": "https://api.damsecure.ai/mcp"
}
}
}

You can also add this manually to .vscode/mcp.json or your VS Code user settings.

After adding the MCP server, you'll be prompted to authenticate with Dam Secure via OAuth. Follow the sign-in flow in your browser and you're good to go. If it doesn't prompt automatically, open the .vscode/mcp.json file — you'll see a Start button above the server entry. Click it and you'll be prompted to authenticate.

Claude Code​

  1. Choose the scope for the MCP server — use --scope project for the current project or --scope user for all projects:

    claude mcp add --transport http --scope project damsecure https://api.damsecure.ai/mcp --callback-port 6843
  2. Once added, start Claude in the folder you added it to. Run /mcp, find damsecure, press Enter, then select Authenticate. You'll be taken through the OAuth flow.

Codex​

Codex needs its OAuth callback pinned to a fixed port. Add this to ~/.codex/config.toml:

[mcp_servers.damsecure]
url = "https://api.damsecure.ai/mcp"

[mcp_servers.damsecure.oauth]
callback_port = 6843

Then authenticate:

codex mcp login damsecure --oauth-client-registration dcr

Codex prints an authorization URL — open it, sign in with Dam Secure, and the flow completes. Restart Codex afterwards and damsecure initialises with its stored credentials.