mcpserver

package
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Overview

Package mcpserver exposes the local PeeringDB mirror over MCP.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(input Input) http.Handler

New returns a stateless Streamable HTTP MCP handler.

Types

type Input

type Input struct {
	Client         *ent.Client
	DB             *sql.DB
	Version        string
	Region         string
	AllowedOrigins string
	Logger         *slog.Logger
}

Input contains the MCP server's explicit dependencies.

Jump to

Keyboard shortcuts

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