mcp

package
v0.16.15 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Package mcp implements the MCP (Model Context Protocol) HTTP server for mcp.ingitdb.com. It exposes inGitDB tools over a stateless HTTP endpoint using a synchronous request/response transport backed by GitHub.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler is the HTTP handler for the MCP server.

func NewHandler

func NewHandler() *Handler

NewHandler creates a Handler with the default (production) GitHub implementations.

func NewHandlerWithAuth added in v0.15.4

func NewHandlerWithAuth(cfg auth.Config, requireAuth bool) *Handler

NewHandlerWithAuth creates a handler with provided auth configuration and mode.

func (*Handler) ServeHTTP

func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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