mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-08-30 12:45:32 +08:00
feat(mcp): mcp 独立应用与 /mcp Streamable HTTP 端点(官方 SDK + PSR-7 桥接)
This commit is contained in:
@@ -32,6 +32,11 @@ return [
|
||||
// 缓存保存目录
|
||||
'path' => App::getRuntimePath() . 'login/',
|
||||
],
|
||||
// MCP 会话存储(StreamableHttpTransport 会话,经 Psr16ThinkCache 适配 PSR-16)
|
||||
'mcp_session' => [
|
||||
'type' => 'File',
|
||||
'path' => App::getRuntimePath() . 'mcp_session/',
|
||||
],
|
||||
// 更多的缓存连接
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user