You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add mcp config for kiro and windsurf modules (#391)
## Description
- Introduces mcp file creation via `coder_script` in kiro and windsurf
modules
- Add mcp variable to both modules
- Add slug and display_name variables to windsurf to match up with other
modules
- Add tests for testing mcp file creation for both kiro and windsurf
<!-- Briefly describe what this PR does and why -->
## Type of Change
- [ ] New module
- [ ] Bug fix
- [X] Feature/enhancement
- [ ] Documentation
- [ ] Other
## Module Information
<!-- Delete this section if not applicable -->
**Path:** `registry/coder/modules/kiro`
**New version:** `v1.1.0`
**Breaking change:** [ ] Yes [X] No
**Path:** `registry/coder/modules/windsurf`
**New version:** `v1.2.0`
**Breaking change:** [ ] Yes [X] No
**Path:** `registry/coder/modules/cursor`
**New version:** `v1.3.2`
**Breaking change:** [ ] Yes [X] No
## Testing & Validation
- [X] Tests pass (`bun test`)
- [X] Code formatted (`bun run fmt`)
- [X] Changes tested locally
Copy file name to clipboardExpand all lines: registry/coder/modules/kiro/README.md
+27-9Lines changed: 27 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Uses the [Coder Remote VS Code Extension](https://github.com/coder/vscode-coder)
18
18
module "kiro" {
19
19
count = data.coder_workspace.me.start_count
20
20
source = "registry.coder.com/coder/kiro/coder"
21
-
version = "1.0.0"
21
+
version = "1.1.0"
22
22
agent_id = coder_agent.example.id
23
23
}
24
24
```
@@ -31,21 +31,39 @@ module "kiro" {
31
31
module "kiro" {
32
32
count = data.coder_workspace.me.start_count
33
33
source = "registry.coder.com/coder/kiro/coder"
34
-
version = "1.0.0"
34
+
version = "1.1.0"
35
35
agent_id = coder_agent.example.id
36
36
folder = "/home/coder/project"
37
37
}
38
38
```
39
39
40
-
### Open with custom display name and order
40
+
### Configure MCP servers for Kiro
41
+
42
+
Provide a JSON-encoded string via the `mcp` input. When set, the module writes the value to `~/.kiro/settings/mcp.json` using a `coder_script` on workspace start.
43
+
44
+
The following example configures Kiro to use the GitHub MCP server with authentication facilitated by the [`coder_external_auth`](https://coder.com/docs/admin/external-auth#configure-a-github-oauth-app) resource.
Provide a JSON-encoded string via the `mcp` input. When set, the module writes the value to `~/.codeium/windsurf/mcp_config.json` using a `coder_script` on workspace start.
41
+
42
+
The following example configures Windsurf to use the GitHub MCP server with authentication facilitated by the [`coder_external_auth`](https://coder.com/docs/admin/external-auth#configure-a-github-oauth-app) resource.
0 commit comments