Error 405 Method Not Allowed

GET https://mcp.dev.weecom.fr/_mcp

Security

Token

mcp-client Username
Authenticated
Property Value
Roles
[
  "ROLE_MCP"
]
Inherited Roles none
Token
Symfony\Component\Security\Http\Authenticator\Token\PostAuthenticationToken {#436
  -user: Symfony\Component\Security\Core\User\InMemoryUser {#446 …}
  -roleNames: [
    "ROLE_MCP"
  ]
  -attributes: []
  -firewallName: "mcp"
}

Firewall

mcp Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.mcp_clients
context (none)
entry_point (none)
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "App\Security\McpBearerAuthenticator"
]

Listeners

Listener Duration Response
"Symfony\Component\Security\Http\Firewall\ChannelListener"
(none) (none)
"Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener"
7.71 ms (none)
"Symfony\Component\Security\Http\Firewall\AccessListener"
1.38 ms (none)

Authenticators

Status Authenticator
success
"App\Security\McpBearerAuthenticator"
Lazy no
Duration 1.07 ms
Passport
Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPassport {#377
  #user: Symfony\Component\Security\Core\User\InMemoryUser {#446 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#414
      -userLoader: Symfony\Component\Security\Core\User\InMemoryUserProvider::loadUserByIdentifier(string $identifier): UserInterface {#440 …}
      -user: Symfony\Component\Security\Core\User\InMemoryUser {#446 …}
      -identifierNormalizer: null
      -userIdentifier: "mcp-client"
      -attributes: null
    }
  ]
  -attributes: []
}
Badges UserBadge

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\RoleVoter"

Access decision log

# Result Attributes Object
1 GRANTED ROLE_MCP
Symfony\Component\HttpFoundation\Request {#13
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#63 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#61 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#62 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#66 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#65 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#64 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#67 …}
  #content: ""
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/_mcp"
  #requestUri: "/_mcp"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: null
  #session: Symfony\Component\HttpFoundation\Session\Session {#665 …}
  #locale: null
  #defaultLocale: "fr"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: ? bool
  -trustedValuesCache: [
    "2\x00160.79.106.37\x00172.19.0.3\x00" => [
      "160.79.106.37"
    ]
    "4\x00\x00\x00" => []
    "32\x00\x00\x00" => []
    "8\x00https\x00\x00" => [
      "https"
    ]
    "16\x00\x00\x00" => []
  ]
  -isIisRewrite: false
  basePath: ""
  format: "html"
}
"Symfony\Component\Security\Core\Authorization\Voter\RoleVoter"
GRANTED
The user has ROLE_MCP.
Show voter details