(typ TransportType, url string, headers map[string]string, alwaysAllow []string)
| 10 | ) |
| 11 | |
| 12 | func NewMCPConfig(typ TransportType, url string, headers map[string]string, alwaysAllow []string) *MCPConfig { |
| 13 | return &MCPConfig{ |
| 14 | Type: typ, |
| 15 | URL: url, |
| 16 | Headers: headers, |
| 17 | AlwaysAllow: alwaysAllow, |
| 18 | } |
| 19 | } |
| 20 | |
| 21 | type MCPConfig struct { |
| 22 | Type TransportType `json:"type"` |
nothing calls this directly
no outgoing calls
no test coverage detected