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
{{ message }}
Repository navigation
Feature (all agents): Add selection field for popular MCP servers with auto-configuration #888
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
@matifali
A practical solution that solves the problem is that we don’t need separate scripts for every MCP server configuration. However, this mcp-add project currently can’t configure multiple MCP servers with a single command, so we need to run it once for each MCP server. That’s not a big issue in my opinion.
Also, I think this module should mainly support official MCP servers, not custom MCP servers, because the modules already provide variables for configuring custom MCPs.
@matifali A practical solution that solves the problem is that we don’t need separate scripts for every MCP server configuration. However, this mcp-add project currently can’t configure multiple MCP servers with a single command, so we need to run it once for each MCP server. That’s not a big issue in my opinion.
Also, I think this module should mainly support official MCP servers, not custom MCP servers, because the modules already provide variables for configuring custom MCPs.
I think the move might even be to plan to use this for all mcp server installs on any agent, and this could even be referenced inside of the other modules in the future if we wanted to drop the individual support for mcp servers in the modules.
Activity
matifali commentedon May 12, 2026
What about publishing a new module using something like https://github.com/paoloricciuti/mcp-add to add mcp for any agent?
Then users can use this new module along with any agent modules to configure MCP servers.
Harsh9485 commentedon May 13, 2026
@matifali
A practical solution that solves the problem is that we don’t need separate scripts for every MCP server configuration. However, this
mcp-addproject currently can’t configure multiple MCP servers with a single command, so we need to run it once for each MCP server. That’s not a big issue in my opinion.Also, I think this module should mainly support official MCP servers, not custom MCP servers, because the modules already provide variables for configuring custom MCPs.
DevelopmentCats commentedon May 13, 2026
I think the move might even be to plan to use this for all mcp server installs on any agent, and this could even be referenced inside of the other modules in the future if we wanted to drop the individual support for mcp servers in the modules.