Help us shape the future of Go! Take the 2026 Go Developer Survey

server

package
v1.121.1 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package server provides a factory for creating the MCP server.

Index

Constants

This section is empty.

Variables

View Source
var Commit = "none"

Commit is the git short commit hash, set at build time via ldflags.

View Source
var Date = "unknown"

Date is the build timestamp, set at build time via ldflags.

View Source
var Version = "dev"

Version is set at build time via ldflags.

Functions

func New

New creates a new MCP server with the given configuration.

func NewWithConfig

func NewWithConfig(configPath string) (*mcp.Server, *platform.Platform, error)

NewWithConfig creates a new MCP server with the specified config file.

func NewWithDefaults

func NewWithDefaults() (*mcp.Server, error)

NewWithDefaults creates a new MCP server with default configuration.

Types

This section is empty.

Jump to

Keyboard shortcuts

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