Skip to content

Add starter profile templates to CLI#422

Merged
cutecatfann merged 1 commit intomainfrom
profile_templates_mcp
Feb 26, 2026
Merged

Add starter profile templates to CLI#422
cutecatfann merged 1 commit intomainfrom
profile_templates_mcp

Conversation

@cutecatfann
Copy link
Contributor

What I did

  • Add three starter profile templates (AI coding, Dev workflow, Terminal control) that create profiles from the Docker catalog with curated server combinations
  • Two entry points: docker mcp template list/use <id> and docker mcp profile create --from-template <id>
  • Auto-pulls the Docker MCP catalog if not present locally for seamless first-time UX
  • Shows a template hint on docker mcp profile list when no profiles exist

Testing
Listing the templates

mcp-gateway % docker mcp template list
ID	Title	Servers	Description
----	----	----	----
ai-coding	AI coding	context7, sequentialthinking	Write code faster with Context7 for codebase awareness and Sequential Thinking for structured problem-solving.
dev-workflow	Dev workflow	github-official, atlassian-remote	Automate your development cycle: open issues, write code, and update tickets with GitHub and Atlassian.
terminal-control	Terminal control	desktop-commander, filesystem	Run commands and scripts, manage files, and control your system directly from your AI client.

No profiles hint

mcp-gateway % docker mcp profile list
No profiles found. Use `docker mcp profile create --name <name>` to create a profile.

Tip: Get started quickly with a starter template:
  docker mcp template list       View available templates
  docker mcp template use <id>   Create a profile from a template

Using a template

mcp-gateway % docker mcp template use ai-coding
Pulling Docker MCP catalog...
Catalog mcp/docker-mcp-catalog:latest pulled
Created profile ai_coding with 2 servers
mimipieper@L61J7N496J mcp-gateway % docker mcp profile list
MCP governance enabled, policy evaluation active
ID	Name	Policy
----	----	------
ai_coding	AI coding	Allowed

Using a template with a client and a name

mcp-gateway % docker mcp template use dev-workflow --connect cursor --name "testy testy"
Pulling Docker MCP catalog...
Catalog mcp/docker-mcp-catalog:latest pulled
Created profile testy_testy with 2 servers
Connected to clients: cursor
mcp-gateway % docker mcp profile list
MCP governance enabled, policy evaluation active
ID	Name	Policy
----	----	------
ai_coding	AI coding	Allowed
testy_testy	testy testy	Allowed

Via profile create flag

mcp-gateway % docker mcp profile create --from-template terminal-control --connect cursor
Pulling Docker MCP catalog...
Catalog mcp/docker-mcp-catalog:latest pulled
Created profile terminal_control with 2 servers
Connected to clients: cursor
mcp-gateway % docker mcp profile list
MCP governance enabled, policy evaluation active
ID	Name	Policy
----	----	------
ai_coding	AI coding	Allowed
testy_testy	testy testy	Allowed
terminal_control	Terminal control	Allowed

@cutecatfann cutecatfann self-assigned this Feb 23, 2026
@cutecatfann cutecatfann requested a review from a team as a code owner February 23, 2026 22:10
Copy link
Collaborator

@slimslenderslacks slimslenderslacks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed. Looks good.

@cutecatfann cutecatfann merged commit 5a4e318 into main Feb 26, 2026
8 checks passed
@cutecatfann cutecatfann deleted the profile_templates_mcp branch February 26, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants