MCPcopy Index your code
hub / github.com/coder/coder / mcpCommand

Method mcpCommand

cli/exp_mcp.go:37–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35)
36
37func (r *RootCmd) mcpCommand() *serpent.Command {
38 cmd := &serpent.Command{
39 Use: "mcp",
40 Short: "Run the Coder MCP server and configure it to work with AI tools.",
41 Long: "The Coder MCP server allows you to automatically create workspaces with parameters.",
42 Handler: func(i *serpent.Invocation) error {
43 return i.Command.HelpHandler(i)
44 },
45 Children: []*serpent.Command{
46 r.mcpConfigure(),
47 r.mcpServer(),
48 },
49 }
50 return cmd
51}
52
53func (r *RootCmd) mcpConfigure() *serpent.Command {
54 cmd := &serpent.Command{

Callers 1

AGPLExperimentalMethod · 0.95

Calls 2

mcpConfigureMethod · 0.95
mcpServerMethod · 0.95

Tested by

no test coverage detected