v1mcp

package
v0.0.33 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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GatewayClientService_GetConfigTool         = mcp.Tool{Name: "devloop_gateway_v1_GatewayClientService_GetConfig", Description: "Get the configuration for a specific devloop project.\n", InputSchema: mcp.ToolInputSchema{Type: "", Properties: map[string]interface{}(nil), Required: []string(nil)}, RawInputSchema: json.RawMessage{0x7b, 0x22, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, 0x3a, 0x7b, 0x22, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x22, 0x3a, 0x7b, 0x22, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x7d, 0x7d, 0x2c, 0x22, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x22, 0x3a, 0x5b, 0x5d, 0x2c, 0x22, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x7d}}
	GatewayClientService_GetRuleStatusTool     = mcp.Tool{Name: "devloop_gateway_v1_GatewayClientService_GetRuleStatus", Description: "Get the detailed status of a specific rule within a project.\n", InputSchema: mcp.ToolInputSchema{Type: "", Properties: map[string]interface{}(nil), Required: []string(nil)}, RawInputSchema: json.RawMessage{0x7b, 0x22, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, 0x3a, 0x7b, 0x22, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x22, 0x3a, 0x7b, 0x22, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x7d, 0x2c, 0x22, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x7b, 0x22, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x7d, 0x7d, 0x2c, 0x22, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x22, 0x3a, 0x5b, 0x5d, 0x2c, 0x22, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x7d}}
	GatewayClientService_ListProjectsTool      = mcp.Tool{Name: "devloop_gateway_v1_GatewayClientService_ListProjects", Description: "List all registered devloop projects.\n", InputSchema: mcp.ToolInputSchema{Type: "", Properties: map[string]interface{}(nil), Required: []string(nil)}, RawInputSchema: json.RawMessage{0x7b, 0x22, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, 0x3a, 0x7b, 0x7d, 0x2c, 0x22, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x22, 0x3a, 0x5b, 0x5d, 0x2c, 0x22, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x7d}}
	GatewayClientService_ListWatchedPathsTool  = mcp.Tool{Name: "devloop_gateway_v1_GatewayClientService_ListWatchedPaths", Description: "List all glob patterns being watched by a specific devloop project.\n", InputSchema: mcp.ToolInputSchema{Type: "", Properties: map[string]interface{}(nil), Required: []string(nil)}, RawInputSchema: json.RawMessage{0x7b, 0x22, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, 0x3a, 0x7b, 0x22, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x22, 0x3a, 0x7b, 0x22, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x7d, 0x7d, 0x2c, 0x22, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x22, 0x3a, 0x5b, 0x5d, 0x2c, 0x22, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x7d}}
	GatewayClientService_ReadFileContentTool   = mcp.Tool{Name: "devloop_gateway_v1_GatewayClientService_ReadFileContent", Description: "Read and return the content of a specific file within a devloop project.\n", InputSchema: mcp.ToolInputSchema{Type: "", Properties: map[string]interface{}(nil), Required: []string(nil)}, RawInputSchema: json.RawMessage{0x7b, 0x22, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, 0x3a, 0x7b, 0x22, 0x70, 0x61, 0x74, 0x68, 0x22, 0x3a, 0x7b, 0x22, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x7d, 0x2c, 0x22, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x22, 0x3a, 0x7b, 0x22, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x7d, 0x7d, 0x2c, 0x22, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x22, 0x3a, 0x5b, 0x5d, 0x2c, 0x22, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x7d}}
	GatewayClientService_TriggerRuleClientTool = mcp.Tool{Name: "devloop_gateway_v1_GatewayClientService_TriggerRuleClient", Description: "Manually trigger a specific rule in a devloop project.\n", InputSchema: mcp.ToolInputSchema{Type: "", Properties: map[string]interface{}(nil), Required: []string(nil)}, RawInputSchema: json.RawMessage{0x7b, 0x22, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, 0x3a, 0x7b, 0x22, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x22, 0x3a, 0x7b, 0x22, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x7d, 0x2c, 0x22, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x3a, 0x7b, 0x22, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x7d, 0x7d, 0x2c, 0x22, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x22, 0x3a, 0x5b, 0x5d, 0x2c, 0x22, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x22, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x7d}}
)

Functions

func ForwardToConnectDevloopGatewayServiceClient

func ForwardToConnectDevloopGatewayServiceClient(s *mcpserver.MCPServer, client ConnectDevloopGatewayServiceClient)

ForwardToConnectDevloopGatewayServiceClient registers a connectrpc client, to forward MCP calls to it.

func ForwardToConnectGatewayClientServiceClient

func ForwardToConnectGatewayClientServiceClient(s *mcpserver.MCPServer, client ConnectGatewayClientServiceClient)

ForwardToConnectGatewayClientServiceClient registers a connectrpc client, to forward MCP calls to it.

func ForwardToDevloopGatewayServiceClient

func ForwardToDevloopGatewayServiceClient(s *mcpserver.MCPServer, client DevloopGatewayServiceClient)

ForwardToDevloopGatewayServiceClient registers a gRPC client, to forward MCP calls to it.

func ForwardToGatewayClientServiceClient

func ForwardToGatewayClientServiceClient(s *mcpserver.MCPServer, client GatewayClientServiceClient)

ForwardToGatewayClientServiceClient registers a gRPC client, to forward MCP calls to it.

func RegisterDevloopGatewayServiceHandler

func RegisterDevloopGatewayServiceHandler(s *mcpserver.MCPServer, srv DevloopGatewayServiceServer)

func RegisterGatewayClientServiceHandler

func RegisterGatewayClientServiceHandler(s *mcpserver.MCPServer, srv GatewayClientServiceServer)

Types

type ConnectDevloopGatewayServiceClient

type ConnectDevloopGatewayServiceClient interface {
}

ConnectDevloopGatewayServiceClient is compatible with the connectrpc-go client interface.

type ConnectGatewayClientServiceClient

ConnectGatewayClientServiceClient is compatible with the connectrpc-go client interface.

type DevloopGatewayServiceClient

type DevloopGatewayServiceClient interface {
}

DevloopGatewayServiceClient is compatible with the grpc-go client interface.

type DevloopGatewayServiceServer

type DevloopGatewayServiceServer interface {
}

DevloopGatewayServiceServer is compatible with the grpc-go server interface.

type GatewayClientServiceClient

type GatewayClientServiceClient interface {
	GetConfig(ctx context.Context, req *v1.GetConfigRequest, opts ...grpc.CallOption) (*v1.GetConfigResponse, error)
	GetRuleStatus(ctx context.Context, req *v1.GetRuleStatusRequest, opts ...grpc.CallOption) (*v1.GetRuleStatusResponse, error)
	ListProjects(ctx context.Context, req *v1.ListProjectsRequest, opts ...grpc.CallOption) (*v1.ListProjectsResponse, error)
	ListWatchedPaths(ctx context.Context, req *v1.ListWatchedPathsRequest, opts ...grpc.CallOption) (*v1.ListWatchedPathsResponse, error)
	ReadFileContent(ctx context.Context, req *v1.ReadFileContentRequest, opts ...grpc.CallOption) (*v1.ReadFileContentResponse, error)
	TriggerRuleClient(ctx context.Context, req *v1.TriggerRuleClientRequest, opts ...grpc.CallOption) (*v1.TriggerRuleClientResponse, error)
}

GatewayClientServiceClient is compatible with the grpc-go client interface.

type GatewayClientServiceServer

type GatewayClientServiceServer interface {
	GetConfig(ctx context.Context, req *v1.GetConfigRequest) (*v1.GetConfigResponse, error)
	GetRuleStatus(ctx context.Context, req *v1.GetRuleStatusRequest) (*v1.GetRuleStatusResponse, error)
	ListProjects(ctx context.Context, req *v1.ListProjectsRequest) (*v1.ListProjectsResponse, error)
	ListWatchedPaths(ctx context.Context, req *v1.ListWatchedPathsRequest) (*v1.ListWatchedPathsResponse, error)
	ReadFileContent(ctx context.Context, req *v1.ReadFileContentRequest) (*v1.ReadFileContentResponse, error)
	TriggerRuleClient(ctx context.Context, req *v1.TriggerRuleClientRequest) (*v1.TriggerRuleClientResponse, error)
}

GatewayClientServiceServer is compatible with the grpc-go server interface.

Jump to

Keyboard shortcuts

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