templateinfo

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2026 License: Apache-2.0, MIT Imports: 1 Imported by: 0

Documentation

Overview

Package templateinfo holds the application's identity constants.

It is the single source of truth for the application name and title: the CLI command name, the MCP server implementation name reported to clients, and the environment-variable prefix all derive from Name. Renaming this template to your own project starts here.

Index

Constants

View Source
const (
	// Name is the application and binary name. It is used as the root command
	// name, the MCP server implementation name, and the base of the
	// environment-variable prefix (see [EnvPrefix]).
	Name = "template-mcp"
	// Title is the human-readable server title shown to MCP clients.
	Title = "Meigma MCP server template"
)

Variables

This section is empty.

Functions

func EnvPrefix

func EnvPrefix() string

EnvPrefix returns the prefix for the application's environment variables, for example TEMPLATE_MCP_ADDR. It is derived from Name so a rename keeps the command name and the environment variables in sync.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL