httpapi

package
v0.72.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package httpapi exposes the Prism MCP tools over plain HTTP for clients that don't speak JSON-RPC stdio, for example curl or custom automation.

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 a Prism MCP handler with HTTP routes.

func New

func New(h *mcp.Handler) *Server

New constructs the HTTP server.

func (*Server) Handler

func (s *Server) Handler() http.Handler

Handler returns the http.Handler with all routes registered.

Jump to

Keyboard shortcuts

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