Add MCP integration for SetTaskSuccess and SetTaskFailure
This commit is contained in:
19
mcp_test.go
Normal file
19
mcp_test.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package taskcp
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/mark3labs/mcp-go/server"
|
||||
)
|
||||
|
||||
func TestRegisterMCPTools(t *testing.T) {
|
||||
service := New()
|
||||
|
||||
s := server.NewMCPServer("Test Server", "1.0.0")
|
||||
|
||||
err := RegisterMCPTools(s, service)
|
||||
if err != nil {
|
||||
t.Fatalf("Failed to register MCP tools: %v", err)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user