mcp

package
v0.0.0-...-f56615f Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Package mcp connects trusted Model Context Protocol servers and exposes their tools through SuperCode's provider-neutral registry.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Transport         string
	Command           string
	Args              []string
	Env               map[string]string
	URL               string
	Headers           map[string]string
	OAuthTokenCommand []string
}

type Manager

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

func ConnectAll

func ConnectAll(ctx context.Context, workspace string, configurations map[string]Config) (*Manager, error)

func (*Manager) Close

func (m *Manager) Close() error

func (*Manager) Failures

func (m *Manager) Failures() []error

func (*Manager) Names

func (m *Manager) Names() []string

func (*Manager) Tools

func (m *Manager) Tools() []tool.Tool

Jump to

Keyboard shortcuts

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