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:
@@ -1,2 +1,6 @@
|
||||
<?php
|
||||
use think\facade\Route;
|
||||
|
||||
// MCP 协议端点(多应用模式下 /mcp 默认 PATH_INFO 已映射 mcp/index/index,
|
||||
// 本规则作为显式兜底注册;若全局路由文件在多应用模式下不加载则依赖默认映射)
|
||||
Route::rule('mcp', 'mcp/index/index');
|
||||
|
||||
Reference in New Issue
Block a user