From 919c1bbbc5a69f8e4e5408c3fa06b87f039a1c7e Mon Sep 17 00:00:00 2001 From: Benjamin Date: Mon, 6 Oct 2025 16:48:26 -0500 Subject: [PATCH] try changing claudes mcp port --- registry/coder/modules/claude-code/main.tf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/registry/coder/modules/claude-code/main.tf b/registry/coder/modules/claude-code/main.tf index 9d3c4a8b..fd3df5ec 100644 --- a/registry/coder/modules/claude-code/main.tf +++ b/registry/coder/modules/claude-code/main.tf @@ -246,6 +246,12 @@ resource "coder_env" "claude_api_key" { value = var.claude_api_key } +resource "coder_env" "mcp_server_port" { + agent_id = var.agent_id + name = "MCP_SERVER_PORT" + value = "8081" +} + locals { # we have to trim the slash because otherwise coder exp mcp will # set up an invalid claude config