Skip to content

Commit 93ad133

Browse files
committed
only deprecate types
1 parent 3ace207 commit 93ad133

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

client/sse.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ func WithSSEReadTimeout(timeout time.Duration) ClientOption {
3030

3131
// NewSSEMCPClient creates a new SSE-based MCP client with the given base URL.
3232
// Returns an error if the URL is invalid.
33-
//
34-
// Deprecated: Use NewClient instead.
3533
func NewSSEMCPClient(baseURL string, options ...ClientOption) (*SSEMCPClient, error) {
3634

3735
sseTransport, err := transport.NewSSE(baseURL, options...)

client/stdio.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ type StdioMCPClient struct {
2222
// Returns an error if the subprocess cannot be started or the pipes cannot be created.
2323
//
2424
// NewStdioMCPClient will start the connection automatically. Don't call the Start method manually.
25-
//
26-
// Deprecated: Use NewClient instead.
2725
func NewStdioMCPClient(
2826
command string,
2927
env []string,

0 commit comments

Comments
 (0)