We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3909c94 commit eab7cbeCopy full SHA for eab7cbe
packages/mcp-server/src/index.ts
@@ -104,7 +104,7 @@ async function startMcpServer() {
104
const mcpBridge = new GcliMcpBridge(config, cliVersion, debugMode);
105
106
const app = express();
107
- app.use(express.json());
+ app.use(express.json({ limit: '50mb' }));
108
109
// 启动 MCP 服务 (这是 GcliMcpBridge 的一部分,我们需要把它集成到主 app 中)
110
await mcpBridge.start(app); // 修改 start 方法以接收 express app 实例
0 commit comments