feat(mcp): mcp 独立应用与 /mcp Streamable HTTP 端点(官方 SDK + PSR-7 桥接)

This commit is contained in:
augushong
2026-08-16 22:15:19 +08:00
parent 1ab276b1e9
commit c21bf9f240
9 changed files with 489 additions and 0 deletions

View File

@@ -32,6 +32,11 @@ return [
// 缓存保存目录
'path' => App::getRuntimePath() . 'login/',
],
// MCP 会话存储StreamableHttpTransport 会话,经 Psr16ThinkCache 适配 PSR-16
'mcp_session' => [
'type' => 'File',
'path' => App::getRuntimePath() . 'mcp_session/',
],
// 更多的缓存连接
],
];