coder / coder/registry

Feature (all agents): Add selection field for popular MCP servers with auto-configuration

Open
#888 3 comments 1 reaction 0 assignees View on GitHub
Feature
Dominant language
HCL
Stars
79
Forks
161
Avg merge
1d 10h
Merged PRs (30d)
38

Description

## Overview

When users create a template with any agent (Claude Code, Gemini CLI, etc.), an MCP server selection field should appear (similar to JetBrains IDE integrations). This field would list popular MCP servers like microsoft/playwright-mcp and GitHub MCP Server, allowing users to select servers based on their use case.

This feature aligns with Coder's goal of reducing project setup time by eliminating the need for users to manually configure each MCP server.

## Proposed Implementation

* Add an mcp-servers/ folder within each agent's template directory
* Store individual .sh setup scripts in this folder (e.g., playwright-mcp.sh, github-mcp.sh)
* In main.tf, reference the selected MCP server scripts and inject them into the coder_script or coder_utils post_install_script resource's startup script
* Execute the configuration automatically during workspace provisioning

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.