mcp

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mcp provides Model Context Protocol (MCP) configuration and registry setup for Arena.

This package bridges Arena's configuration system with the runtime MCP registry, allowing test scenarios to use MCP servers for external tool integration.

It handles:

  • Loading MCP server configurations from Arena config files
  • Creating and populating MCP registries
  • Validating MCP server definitions

Example usage:

registry, err := mcp.NewRegistryFromConfig(arenaConfig)
if err != nil {
    log.Fatal(err)
}
// Use registry with pipeline...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRegistryFromConfig

func NewRegistryFromConfig(cfg *config.Config) (*mcp.RegistryImpl, error)

NewRegistryFromConfig creates a registry from a config object. It registers all MCP servers defined in the configuration. Returns an empty registry if no servers are configured.

Types

This section is empty.

Jump to

Keyboard shortcuts

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