mcp

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg *Config) (*mcp.Server, error)

New creates an MCP server wired with all tools, resources, and prompts.

Types

type Config

type Config struct {
	APIKey  string
	BaseURL string
}

Config holds the MCP server configuration resolved from file, flags, and environment.

func Resolve

func Resolve(apiKey, baseURL string) (*Config, error)

Resolve builds a Config from the nuc config file, environment variables, and CLI flags, in order of increasing priority.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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