mcp

package
v0.0.31 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2025 License: Apache-2.0 Imports: 8 Imported by: 0 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MCPService

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

MCPService manages the MCP server for devloop

func NewMCPService

func NewMCPService(orchestrator gateway.Orchestrator, port int) *MCPService

NewMCPService creates a new MCP service instance

func (*MCPService) Start

func (m *MCPService) Start() error

Start initializes and starts the MCP server

func (*MCPService) Stop

func (m *MCPService) Stop()

Stop gracefully shuts down the MCP server

type SelectiveGatewayAdapter

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

SelectiveGatewayAdapter exposes only essential devloop operations as MCP tools

func (*SelectiveGatewayAdapter) GetConfig

GetConfig implements the MCP GetConfig tool

func (*SelectiveGatewayAdapter) GetRuleStatus

GetRuleStatus implements the MCP GetRuleStatus tool

func (*SelectiveGatewayAdapter) ListProjects

ListProjects implements the MCP ListProjects tool

func (*SelectiveGatewayAdapter) ListWatchedPaths

ListWatchedPaths implements the MCP ListWatchedPaths tool

func (*SelectiveGatewayAdapter) ReadFileContent

ReadFileContent implements the MCP ReadFileContent tool

func (*SelectiveGatewayAdapter) TriggerRuleClient

TriggerRuleClient implements the MCP TriggerRule tool

Jump to

Keyboard shortcuts

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