blob: 3ecad040580c0bce45f6f05c4b8d8a4d2a56ce7d [file] [log] [blame]
package common
// McpService provides an interface for defining a mcp service.
type McpService interface {
// Initialize the service with the provided arguments.
Init(serviceArgs string) error
// GetTools returns all the tools supported by the McpService.
GetTools() []Tool
// Shutdown implements shutdown procedure for the service.
Shutdown() error
// GetResources returns all the resources provided by the McpService.
GetResources() []Resource
}