mcp

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KnownServerRegistry

type KnownServerRegistry map[string][]string

KnownServerRegistry maps lowercase MCP server names to their tool observation strings. Matched servers get these observations merged in addition to transport/command metadata.

func DefaultKnownServers

func DefaultKnownServers() KnownServerRegistry

DefaultKnownServers returns the built-in registry of well-known public MCP servers.

func (KnownServerRegistry) Lookup

func (r KnownServerRegistry) Lookup(name string) []string

Lookup returns the tool observations for a given server name (case-insensitive). Returns nil if the server is not in the registry.

type McpConfigParser

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

func NewMcpConfigParser

func NewMcpConfigParser(known KnownServerRegistry) *McpConfigParser

func (*McpConfigParser) FileType

func (p *McpConfigParser) FileType() string

func (*McpConfigParser) Filenames

func (p *McpConfigParser) Filenames() []string

func (*McpConfigParser) Parse

func (p *McpConfigParser) Parse(data []byte) (parser.ParsedFile, error)

Jump to

Keyboard shortcuts

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