-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
complexity:smallLess than 2 hoursLess than 2 hoursenhancementNew feature or requestNew feature or requestgeminiSimple tasks suitable for Gemini batch processingSimple tasks suitable for Gemini batch processinggoPull requests that update go codePull requests that update go codegood first issueGood for newcomersGood for newcomersjulesFor Jules AI to work onFor Jules AI to work onlang:goGo/GolangGo/Golang
Description
Parent: #118
Complexity: Low - Similar to socket but simpler
Task
Add TCP transport for network MCP connections.
Implementation
// pkg/mcp/transport_tcp.go
type TCPTransport struct {
addr string
listener net.Listener
}
func NewTCPTransport(addr string) (*TCPTransport, error) {
listener, err := net.Listen("tcp", addr)
if err != nil {
return nil, err
}
return &TCPTransport{addr: addr, listener: listener}, nil
}Configuration
- Default:
127.0.0.1:9100(localhost only) - Configurable via
MCP_ADDRenv var - Consider TLS for non-localhost
Security Considerations
- Default to localhost binding
- Warn if binding to 0.0.0.0
- Future: mTLS support
Acceptance Criteria
- TCP listener with configurable address
- Localhost-only by default
- Multiple concurrent connections
- Graceful shutdown
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
complexity:smallLess than 2 hoursLess than 2 hoursenhancementNew feature or requestNew feature or requestgeminiSimple tasks suitable for Gemini batch processingSimple tasks suitable for Gemini batch processinggoPull requests that update go codePull requests that update go codegood first issueGood for newcomersGood for newcomersjulesFor Jules AI to work onFor Jules AI to work onlang:goGo/GolangGo/Golang