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 0fbc082 commit 951dbfdCopy full SHA for 951dbfd
packages/mcp-use/src/server/mcp-server.ts
@@ -319,6 +319,8 @@ export class McpServer {
319
320
// Try to dynamically import the inspector package
321
// Using dynamic import makes it truly optional - won't fail if not installed
322
+
323
+ // @ts-ignore - Optional peer dependency, may not be installed during build
324
import('@mcp-use/inspector')
325
.then(({ mountInspector }) => {
326
// Auto-connect to the local MCP server at /mcp
0 commit comments