Documentation
¶
Overview ¶
Package server implements the Orla MCP server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrlaServer ¶
type OrlaServer struct {
// contains filtered or unexported fields
}
OrlaServer stores the state and dependencies for the Orla MCP server.
func NewOrlaServer ¶
func NewOrlaServer(cfg *config.OrlaConfig, configPath string) *OrlaServer
NewOrlaServer creates a new OrlaServer instance
func (*OrlaServer) Reload ¶
func (o *OrlaServer) Reload() error
Reload reloads configuration and rescans tools directory
func (*OrlaServer) Serve ¶
func (o *OrlaServer) Serve(ctx context.Context, addr string) error
Serve starts the server on the given address using HTTP (Streamable HTTP transport per MCP spec) The StreamableHTTPHandler manages sessions, Origin validation, and HTTP protocol details
func (*OrlaServer) ServeStdio ¶
func (o *OrlaServer) ServeStdio(ctx context.Context) error
ServeStdio starts the server using stdio transport (per MCP spec)
Click to show internal directories.
Click to hide internal directories.