Skip to content

Commit ad22fb6

Browse files
authored
Update SDK import paths and fix dependencies (#6)
1 parent b67ea08 commit ad22fb6

File tree

7 files changed

+13
-7
lines changed

7 files changed

+13
-7
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require (
1212
github.com/sirupsen/logrus v1.9.3
1313
github.com/spf13/cobra v1.9.1
1414
github.com/streamnative/pulsarctl v0.4.3-0.20250312214758-e472faec284b
15-
github.com/streamnative/streamnative-mcp-server/sdk/sdk-apiserve v0.0.0-00010101000000-000000000000
15+
github.com/streamnative/streamnative-mcp-server/sdk/sdk-apiserver v0.0.0-20250506174209-b67ea08ddd82
1616
github.com/streamnative/streamnative-mcp-server/sdk/sdk-kafkaconnect v0.0.0-00010101000000-000000000000
1717
github.com/twmb/franz-go v1.18.1
1818
github.com/twmb/franz-go/pkg/kadm v1.16.0
@@ -83,6 +83,6 @@ require (
8383
google.golang.org/protobuf v1.35.1 // indirect
8484
)
8585

86-
replace github.com/streamnative/streamnative-mcp-server/sdk/sdk-apiserve => ./sdk/sdk-apiserver
86+
replace github.com/streamnative/streamnative-mcp-server/sdk/sdk-apiserver => ./sdk/sdk-apiserver
8787

8888
replace github.com/streamnative/streamnative-mcp-server/sdk/sdk-kafkaconnect => ./sdk/sdk-kafkaconnect

go.work.sum

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ github.com/go-sql-driver/mysql v1.5.0 h1:ozyZYNQW3x3HtqT1jira07DN2PArx2v7/mN66gG
5252
github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI=
5353
github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8=
5454
github.com/golang-jwt/jwt v3.2.1+incompatible h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c=
55+
github.com/golang-jwt/jwt/v4 v4.5.1 h1:JdqV9zKUdtaa9gdPlywC3aeoEsR681PlKC+4F5gQgeo=
56+
github.com/golang-jwt/jwt/v4 v4.5.1/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0=
57+
github.com/golang-jwt/jwt/v5 v5.2.1 h1:OuVbFODueb089Lh128TAcimifWaLhJwVflnrgM17wHk=
58+
github.com/golang-jwt/jwt/v5 v5.2.1/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk=
5559
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58=
5660
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e h1:1r7pUrabqp18hOBcwBwiTsbnFeTZHV9eER/QT5JVZxY=
5761
github.com/golang/mock v1.4.3 h1:GV+pQPG/EUUbkh47niozDcADz6go/dUwhVzdUQHIVRw=
@@ -92,6 +96,8 @@ github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
9296
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
9397
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
9498
github.com/lithammer/dedent v1.1.0/go.mod h1:jrXYCQtgg0nJiN+StA2KgR7w6CiQNv9Fd/Z9BP0jIOc=
99+
github.com/mark3labs/mcp-go v0.23.1 h1:RzTzZ5kJ+HxwnutKA4rll8N/pKV6Wh5dhCmiJUu5S9I=
100+
github.com/mark3labs/mcp-go v0.23.1/go.mod h1:rXqOudj/djTORU/ThxYx8fqEVj/5pvTuuebQ2RC7uk4=
95101
github.com/mattn/go-runewidth v0.0.4 h1:2BvfKmzob6Bmd4YsL0zygOqfdFnK7GR4QL06Do4/p7Y=
96102
github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
97103
github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo=

pkg/config/apiclient.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030
"github.com/streamnative/streamnative-mcp-server/pkg/auth"
3131
"github.com/streamnative/streamnative-mcp-server/pkg/auth/cache"
3232
"github.com/streamnative/streamnative-mcp-server/pkg/auth/store"
33-
sncloud "github.com/streamnative/streamnative-mcp-server/sdk/sdk-apiserve"
33+
sncloud "github.com/streamnative/streamnative-mcp-server/sdk/sdk-apiserver"
3434
)
3535

3636
var SNCloudClientConfiguration *sncloud.Configuration

pkg/mcp/auth_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"fmt"
2222

2323
"github.com/streamnative/streamnative-mcp-server/pkg/auth"
24-
sncloud "github.com/streamnative/streamnative-mcp-server/sdk/sdk-apiserve"
24+
sncloud "github.com/streamnative/streamnative-mcp-server/sdk/sdk-apiserver"
2525
)
2626

2727
const (

pkg/mcp/context_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"github.com/streamnative/streamnative-mcp-server/pkg/config"
2525
"github.com/streamnative/streamnative-mcp-server/pkg/kafka"
2626
"github.com/streamnative/streamnative-mcp-server/pkg/pulsar"
27-
sncloud "github.com/streamnative/streamnative-mcp-server/sdk/sdk-apiserve"
27+
sncloud "github.com/streamnative/streamnative-mcp-server/sdk/sdk-apiserver"
2828
)
2929

3030
const DefaultKafkaPort = 9093

pkg/mcp/prompts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"github.com/mark3labs/mcp-go/mcp"
2626
"github.com/mark3labs/mcp-go/server"
2727
"github.com/streamnative/streamnative-mcp-server/pkg/config"
28-
sncloud "github.com/streamnative/streamnative-mcp-server/sdk/sdk-apiserve"
28+
sncloud "github.com/streamnative/streamnative-mcp-server/sdk/sdk-apiserver"
2929
)
3030

3131
func RegisterPrompts(s *server.MCPServer) {

pkg/mcp/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525

2626
"github.com/streamnative/streamnative-mcp-server/pkg/auth"
2727
"github.com/streamnative/streamnative-mcp-server/pkg/config"
28-
sncloud "github.com/streamnative/streamnative-mcp-server/sdk/sdk-apiserve"
28+
sncloud "github.com/streamnative/streamnative-mcp-server/sdk/sdk-apiserver"
2929
)
3030

3131
type ContextKey string

0 commit comments

Comments
 (0)