mcp

package
v0.0.0-...-095e5a1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package mcp implements a stdio-based MCP server for ranget.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Name    string
	Version string
}

Config holds server configuration.

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server represents the MCP server.

func New

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

New creates a new MCP server.

func (*Server) Close

func (s *Server) Close() error

Close closes the server and cleans up resources.

func (*Server) Run

func (s *Server) Run(ctx context.Context) error

Run starts the MCP server on stdio.

Jump to

Keyboard shortcuts

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