mirror of
https://github.com/wso2/open-mcp-auth-proxy.git
synced 2025-08-18 12:19:56 +00:00
Update MCP proxy to adhere to the latest draft of MCP specification
This commit is contained in:
parent
3e2c49db5c
commit
d71ee4052c
7 changed files with 169 additions and 19 deletions
|
@ -98,11 +98,19 @@ type Config struct {
|
|||
TransportMode TransportMode `yaml:"transport_mode"`
|
||||
Paths PathsConfig `yaml:"paths"`
|
||||
Stdio StdioConfig `yaml:"stdio"`
|
||||
RequiredScopes map[string]string `yaml:"required_scopes"`
|
||||
|
||||
// Nested config for Asgardeo
|
||||
Demo DemoConfig `yaml:"demo"`
|
||||
Asgardeo AsgardeoConfig `yaml:"asgardeo"`
|
||||
Default DefaultConfig `yaml:"default"`
|
||||
|
||||
// Protected resource metadata
|
||||
ResourceIdentifier string `yaml:"resource_identifier"`
|
||||
ScopesSupported map[string]string `yaml:"scopes_supported"`
|
||||
AuthorizationServers []string `yaml:"authorization_servers"`
|
||||
JwksURI string `yaml:"jwks_uri,omitempty"`
|
||||
BearerMethodsSupported []string `yaml:"bearer_methods_supported,omitempty"`
|
||||
}
|
||||
|
||||
// Validate checks if the config is valid based on transport mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue