mcpbridge

package
v0.6.10 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package mcpbridge adapts protocol-native MCP tools and results to Or's coding-agent, model-provider, and permission contracts.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildTools

func BuildTools(session *mcpclient.Session) []tools.Tool

BuildTools adapts every discovered MCP tool for Or and appends the internal status tool when at least one server or configuration diagnostic exists.

func DisplayTitle

func DisplayTitle(definition *protocol.Tool) string

DisplayTitle returns the MCP-standard display-name precedence for a tool.

func ToolName

func ToolName(serverName, originalName string) string

ToolName returns the provider-safe, deterministic name Or advertises for an MCP tool.

Types

This section is empty.

Jump to

Keyboard shortcuts

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