McpController :: endpoint
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _controller | "App\Controller\McpController::endpoint" |
| _firewall_context | "security.firewall.map.context.main" |
| _route | "mcp_endpoint" |
| _route_params | [] |
| _security_authenticators | [] |
| _security_firewall_run | "_security_main" |
| _security_skipped_authenticators | [ Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#280 -supports: false -passport: null -duration: null -stub: "Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator" -authenticated: null -exception: null -authenticator: Symfony\Component\Security\Http\Authenticator\FormLoginAuthenticator {#220 …} } ] |
| _stopwatch_token | "f7e288" |
Request Headers
| Header | Value |
|---|---|
| accept | "application/json, text/event-stream" |
| accept-encoding | "gzip, deflate" |
| authorization | "Bearer bd36aa8b2d36a14ac5ccb21253a" |
| connection | "close" |
| content-length | "537" |
| content-type | "application/json" |
| host | "aed-pmsi.ianakrys.fr" |
| user-agent | "MistralAI-MCPClient/1.0" |
| x-forwarded-for | "4.223.142.177" |
| x-forwarded-proto | "https" |
| x-php-ob-level | "1" |
| x-real-ip | "4.223.142.177" |
Request Content
Pretty
{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2025-11-25",
"capabilities": {},
"clientInfo": {
"name": "mistral-mcp-client",
"title": "Mistral AI",
"version": "1.0"
},
"_meta": {
"traceparent": "00-5ce8159c06a4cd6d02fa91ebe99fea9a-2c80eecee18799be-00",
"baggage": "sentry-environment=production,sentry-release=le-chat-web%402026.10.21-main-47574-65bf26c,sentry-public_key=f45309fe00350c22253424f36dd157d8,sentry-trace_id=5ce8159c06a4cd6d02fa91ebe99fea9a,sentry-org_id=4507101628137472,sentry-sample_rand=0.590639987174361"
}
}
}
Raw
{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"mistral-mcp-client","title":"Mistral AI","version":"1.0"},"_meta":{"traceparent":"00-5ce8159c06a4cd6d02fa91ebe99fea9a-2c80eecee18799be-00","baggage":"sentry-environment=production,sentry-release=le-chat-web%402026.10.21-main-47574-65bf26c,sentry-public_key=f45309fe00350c22253424f36dd157d8,sentry-trace_id=5ce8159c06a4cd6d02fa91ebe99fea9a,sentry-org_id=4507101628137472,sentry-sample_rand=0.590639987174361"}}}
Response
Response Headers
| Header | Value |
|---|---|
| cache-control | "private, must-revalidate" |
| content-type | "application/json" |
| date | "Wed, 21 Oct 2026 17:23:36 GMT" |
| expires | "-1" |
| mcp-session-id | "f89edd1dc77f7b46c2cdf8d2f3dfd201" |
| pragma | "no-cache" |
| x-debug-token | "6bfcff" |
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 |
|---|---|
| ANALYSE_MED_REPPORT_IA_PATH | "/home/sites-web/aed-med-repport-parser/" |
| APP_DOMAIN | "aed-pmsi.ianakrys.fr" |
| APP_ENV | "dev" |
| APP_SECRET | "5c436a14ac5ceba8b2dc253ade090bb9" |
| CHAT_MODEL | "phi4" |
| DATABASE_URL | "postgresql://aed-pmsi:7frtGH78jUHN7MMM@127.0.0.1:5432/aed-pmsi?serverVersion=15&charset=utf8" |
| DATA_FOLDER | "/home/sites-web/aed-pmsi.ianakrys.fr/data" |
| EMBEDDING_MODEL | "mxbai-embed-large" |
| EMBEDDING_PREFIX_DOCUMENT | "" |
| EMBEDDING_PREFIX_QUERY | "Represent this sentence for searching relevant passages: " |
| MCP_API_KEY | "bd36aa8b2d36a14ac5ccb21253a" |
| MISTRAL_API_KEY | "QVSgusR3llwNXqx96GXmW0WrKlMyfDkf" |
| OPENAI_API_KEY | "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" |
| TRUSTED_PROXIES | "127.0.0.1,REMOTE_ADDR" |
| VISION_MODEL | "llama3.2-vision" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| CONTENT_LENGTH | "537" |
| CONTENT_TYPE | "application/json" |
| CONTEXT_DOCUMENT_ROOT | "/home/sites-web/aed-pmsi.ianakrys.fr/public" |
| CONTEXT_PREFIX | "" |
| DOCUMENT_ROOT | "/home/sites-web/aed-pmsi.ianakrys.fr/public" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HTTP_ACCEPT | "application/json, text/event-stream" |
| HTTP_ACCEPT_ENCODING | "gzip, deflate" |
| HTTP_AUTHORIZATION | "Bearer bd36aa8b2d36a14ac5ccb21253a" |
| HTTP_CONNECTION | "close" |
| HTTP_HOST | "aed-pmsi.ianakrys.fr" |
| HTTP_USER_AGENT | "MistralAI-MCPClient/1.0" |
| HTTP_X_FORWARDED_FOR | "4.223.142.177" |
| HTTP_X_FORWARDED_PROTO | "https" |
| HTTP_X_REAL_IP | "4.223.142.177" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin" |
| PHP_SELF | "/index.php" |
| QUERY_STRING | "" |
| REDIRECT_HTTP_AUTHORIZATION | "Bearer bd36aa8b2d36a14ac5ccb21253a" |
| REDIRECT_STATUS | "200" |
| REDIRECT_URL | "/mcp" |
| REMOTE_ADDR | "192.168.2.25" |
| REMOTE_PORT | "38180" |
| REQUEST_METHOD | "POST" |
| REQUEST_SCHEME | "http" |
| REQUEST_TIME | 1792603416 |
| REQUEST_TIME_FLOAT | 1792603416.5587 |
| REQUEST_URI | "/mcp" |
| SCRIPT_FILENAME | "/home/sites-web/aed-pmsi.ianakrys.fr/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SERVER_ADDR | "192.168.2.28" |
| SERVER_ADMIN | "[no address given]" |
| SERVER_NAME | "aed-pmsi.ianakrys.fr" |
| SERVER_PORT | "80" |
| SERVER_PROTOCOL | "HTTP/1.0" |
| SERVER_SIGNATURE | "<address>Apache/2.4.69 (Debian) Server at aed-pmsi.ianakrys.fr Port 80</address>\n" |
| SERVER_SOFTWARE | "Apache/2.4.69 (Debian)" |
| SYMFONY_DOTENV_PATH | "/home/sites-web/aed-pmsi.ianakrys.fr/.env" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,APP_DOMAIN,TRUSTED_PROXIES,MCP_API_KEY,DATA_FOLDER,CHAT_MODEL,ANALYSE_MED_REPPORT_IA_PATH,EMBEDDING_MODEL,EMBEDDING_PREFIX_DOCUMENT,EMBEDDING_PREFIX_QUERY,VISION_MODEL,OPENAI_API_KEY,MISTRAL_API_KEY,DATABASE_URL" |