McpController :: handle
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _access_control_attributes | [
"PUBLIC_ACCESS"
] |
| _controller | "mcp.server.controller::handle" |
| _firewall_context | "security.firewall.map.context.main" |
| _route | "_mcp_endpoint" |
| _route_params | [] |
| _security_authenticators | [] |
| _security_skipped_authenticators | [ Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#384 -supports: false -passport: null -duration: null -stub: "Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator" -authenticated: null -exception: null -authenticator: Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator {#544 …} } ] |
| _stopwatch_token | "c0a905" |
Request Headers
| Header | Value |
|---|---|
| accept | "application/json, text/event-stream" |
| accept-encoding | "identity" |
| connection | "close" |
| content-length | "54" |
| content-type | "application/json" |
| host | "basile.lab.bray-numerique.fr" |
| mcp-protocol-version | "2025-06-18" |
| mcp-session-id | "2b4a7f73-e145-4ee8-995d-5795bcc5b376" |
| user-agent | "claude-code/2.1.114 (claude-vscode, agent-sdk/0.2.114)" |
| x-forwarded-for | "51.83.77.98" |
| x-forwarded-proto | "https" |
| x-forwarded-scheme | "https" |
| x-php-ob-level | "0" |
| x-real-ip | "51.83.77.98" |
Request Content
Pretty
{
"method": "notifications\/initialized",
"jsonrpc": "2.0"
}
Raw
{"method":"notifications/initialized","jsonrpc":"2.0"}
Response
Response Headers
| Header | Value |
|---|---|
| access-control-allow-headers | "Accept,Authorization,Content-Type,Last-Event-ID,Mcp-Protocol-Version,Mcp-Session-Id" |
| access-control-allow-methods | "GET, POST, DELETE, OPTIONS" |
| access-control-allow-origin | "*" |
| access-control-expose-headers | "Mcp-Session-Id" |
| cache-control | "no-cache, private" |
| content-type | "text/html; charset=UTF-8" |
| date | "Tue, 21 Apr 2026 15:27:11 GMT" |
| x-debug-token | "9135b4" |
Cookies
Request Cookies
No request cookies
Response Cookies
No response cookies
Session
Session Metadata
No session metadata
Session Attributes
No session attributes
Session Usage
0
Usages
Stateless check enabled
Session not used.
Flashes
Flashes
No flash messages were created.
Server Parameters
Server Parameters
Defined in .env
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| APP_SECRET | "572c14c89843491ba37d3c813e77a477" |
| APP_SHARE_DIR | "var/share" |
| DEFAULT_URI | "http://localhost" |
| MCP_API_KEY | "b1cbb43df2167e60d087381d187bc5aefb9185622fae4d32e81f470781f9f48a" |
| MESSENGER_TRANSPORT_DSN | "doctrine://default?auto_setup=0" |
| SYNAPSE_ENCRYPTION_KEY | "base64:vtFcI/UwLHr7xHVbFMWhV/GVSrZlWnGlZ8M4V6cXiw4=" |
| TRUSTED_PROXIES | "127.0.0.1,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_ENV | "dev" |
| APP_PROJECT_DIR | "/app" |
| APP_RUNTIME | "Symfony\Component\Runtime\SymfonyRuntime" |
| APP_RUNTIME_OPTIONS | [ "project_dir" => "/app" ] |
| AUTH_TYPE | "" |
| CONTENT_LENGTH | "54" |
| CONTENT_TYPE | "application/json" |
| DATABASE_URL | "postgresql://basile:basile_pass@database:5432/basile_db?serverVersion=16&charset=utf8" |
| DOCUMENT_ROOT | "/app/public" |
| DOCUMENT_URI | "/index.php" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| GODEBUG | "cgocheck=0" |
| GOTRACEBACK | "none" |
| GPG_KEYS | "AFD8691FDAEDF03BDF6E460563F15A9B715376CA 9D7F99A0CB8F05C8A6958D6256A97AF7600A39A6 0616E93D95AF471243E26761770426E17EBBB3DD" |
| HOME | "/var/www" |
| HOSTNAME | "57e4550c7732" |
| HTTPS | "" |
| HTTP_ACCEPT | "application/json, text/event-stream" |
| HTTP_ACCEPT_ENCODING | "identity" |
| HTTP_CONNECTION | "close" |
| HTTP_CONTENT_LENGTH | "54" |
| HTTP_CONTENT_TYPE | "application/json" |
| HTTP_HOST | "basile.lab.bray-numerique.fr" |
| HTTP_MCP_PROTOCOL_VERSION | "2025-06-18" |
| HTTP_MCP_SESSION_ID | "2b4a7f73-e145-4ee8-995d-5795bcc5b376" |
| HTTP_USER_AGENT | "claude-code/2.1.114 (claude-vscode, agent-sdk/0.2.114)" |
| HTTP_X_FORWARDED_FOR | "51.83.77.98" |
| HTTP_X_FORWARDED_PROTO | "https" |
| HTTP_X_FORWARDED_SCHEME | "https" |
| HTTP_X_REAL_IP | "51.83.77.98" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
| PATH_INFO | "" |
| PHPIZE_DEPS | "autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c" |
| PHP_ASC_URL | "https://www.php.net/distributions/php-8.4.18.tar.xz.asc" |
| PHP_CFLAGS | "-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" |
| PHP_CPPFLAGS | "-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" |
| PHP_INI_DIR | "/usr/local/etc/php" |
| PHP_LDFLAGS | "-Wl,-O1 -pie" |
| PHP_SELF | "/index.php" |
| PHP_SHA256 | "957a9b19b4a8e965ee0cc788ca74333bfffaadc206b58611b6cd3cc8b2f40110" |
| PHP_URL | "https://www.php.net/distributions/php-8.4.18.tar.xz" |
| PHP_VERSION | "8.4.18" |
| PWD | "/app" |
| QUERY_STRING | "" |
| REMOTE_ADDR | "172.19.0.3" |
| REMOTE_HOST | "172.19.0.3" |
| REMOTE_IDENT | "" |
| REMOTE_PORT | "33846" |
| REQUEST_METHOD | "POST" |
| REQUEST_SCHEME | "http" |
| REQUEST_TIME | 1776785230 |
| REQUEST_TIME_FLOAT | 1776785230.9928 |
| REQUEST_URI | "/_mcp" |
| SCRIPT_FILENAME | "/app/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SERVER_NAME | "basile.lab.bray-numerique.fr" |
| SERVER_PORT | "80" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SOFTWARE | "FrankenPHP" |
| SSL_CIPHER | "" |
| SSL_PROTOCOL | "" |
| SYMFONY_DOTENV_PATH | "/app/.env" |
| SYMFONY_DOTENV_VARS | "APP_DEBUG,APP_SECRET,APP_SHARE_DIR,TRUSTED_PROXIES,DEFAULT_URI,MESSENGER_TRANSPORT_DSN,MCP_API_KEY,SYNAPSE_ENCRYPTION_KEY" |
| XDG_CONFIG_HOME | "/config" |
| XDG_DATA_HOME | "/data" |
| argc | 0 |
| argv | [] |