mcp

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2025 License: ISC Imports: 13 Imported by: 0

Documentation

Overview

Package mcp provides MCP (Model Context Protocol) server implementation for MaxMind databases.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server wraps the MCP server with our application state.

func New

func New(
	cfg *config.Config,
	dbManager *database.Manager,
	updater *database.Updater,
	iterMgr *iterator.Manager,
) *Server

New creates a new MCP server instance.

func (*Server) Serve

func (s *Server) Serve() error

Serve starts the MCP server using stdio transport.

Jump to

Keyboard shortcuts

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