uri

package
v0.2.21 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Is

func Is(uri string) bool

Is reports whether the URI uses the MCP scheme (mcp: or mcp://).

func Parse

func Parse(src string) (server, uri string)

Parse splits an MCP URI into (server, resourceURI). Supports both mcp://server/path and mcp:server:/path formats. When parsing fails, empty strings are returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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