initialize

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package initialize handles the MCP initialize handshake and advertises server capabilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dispatch

func Dispatch(version string, req proto.Request) *proto.Response

Dispatch responds to the MCP initialize handshake.

Parameters:

  • version: server version string
  • req: parsed JSON-RPC request

Returns:

  • *proto.Response: server capabilities and protocol version

Types

This section is empty.

Jump to

Keyboard shortcuts

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