mcp

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(ctx context.Context, config ServeConfig) error

Types

type APIClient

type APIClient interface {
	McpGetRunTestFailures(api.McpGetRunTestFailuresRequest) (*api.McpTextResult, error)
}

type GetRunFailedTestsInput

type GetRunFailedTestsInput struct {
	RunUrls []string `json:"run_urls" jsonschema:"The URLs or IDs of the run"`
}

type ServeConfig

type ServeConfig struct {
	AccessToken        string
	Host               string
	AccessTokenBackend accesstoken.Backend
}

type Server

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

func NewServer

func NewServer(config ServerConfig) *Server

func (*Server) Run

func (s *Server) Run(ctx context.Context, transport mcp.Transport) error

type ServerConfig

type ServerConfig struct {
	APIClient APIClient
}

Jump to

Keyboard shortcuts

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