mcp

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2026 License: Apache-2.0 Imports: 1 Imported by: ? 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

Overview

Package mcp defines transport and tool-filter shapes for MCP server connections.

Use these types with github.com/agenticenv/agent-sdk-go/pkg/agent.WithMCPConfig (github.com/agenticenv/agent-sdk-go/pkg/agent.MCPConfig.Transport and ToolFilter), github.com/agenticenv/agent-sdk-go/pkg/mcp/client.NewClient, and related APIs. Definitions live in internal/types/mcp.go.

Index

Constants

View Source
const (
	MCPTransportTypeStdio          = types.MCPTransportTypeStdio
	MCPTransportTypeStreamableHTTP = types.MCPTransportTypeStreamableHTTP
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MCPStdio

type MCPStdio = types.MCPStdio

type MCPStreamableHTTP

type MCPStreamableHTTP = types.MCPStreamableHTTP

type MCPToolFilter

type MCPToolFilter = types.MCPToolFilter

type MCPTransportConfig

type MCPTransportConfig = types.MCPTransportConfig

type MCPTransportType

type MCPTransportType = types.MCPTransportType

Directories

Path Synopsis
Package client implements interfaces.MCPClient.
Package client implements interfaces.MCPClient.

Jump to

Keyboard shortcuts

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