CLI
arctl mcp init go

arctl mcp init go

Initialize a new MCP server project using the mcp-go framework.

This command creates a new directory with a basic mcp-go project structure, including a go.mod file, a main.go file, and an example tool.

You must provide a valid Go module name for the project.

Usage

arctl mcp init go [project-name] [flags]

Example:

arctl mcp init go my-mcp-server --go-module-name github.com/my-org/my-project

Command-specific flags

--go-module-name string: The Go module name for the project (e.g., github.com/my-org/my-project)

Global flags

--author string: Author name for the project
--description string: Description for the project
--email string: Author email for the project
--force: Overwrite existing directory
--no-git: Skip git initialization
--non-interactive: Run in non-interactive mode
-v, --verbose: Enable verbose output.
-h, --help: Display help information for the command.