-
Notifications
You must be signed in to change notification settings - Fork 156
Description
Describe the Bug
The getComponent MCP tool for kibo-ui consistently fails when invoked from Cursor IDE, returning the following error message:
{"error":"MCP error -32603: t.parse is not a function"}While the getComponents tool works correctly and returns the full list of components, the getComponent <component-name> call fails immediately, suggesting a parsing or serialization issue during request processing.
next-forge version
Using next-forge version: X.Y.Z (please specify your version)
To Reproduce
-
Open Cursor IDE.
-
Run the MCP command:
getComponents
✅ Returns successfully with full component list.
-
Run:
getComponent button
❌ Fails with error:
{"error":"MCP error -32603: t.parse is not a function"} -
Repeat with other component names — same result.
Expected Behavior
The getComponent <component-name> command should return the metadata and configuration details for the specified component, consistent with the MCP contract, instead of failing with a parse error.
Actual Behavior
- The
getComponentscommand functions as expected. - The
getComponentcommand throws a JSON parsing error before returning component details. - The issue occurs consistently across multiple valid component names.
Screenshots / Logs
MCP Configuration
"kibo-ui": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://www.kibo-ui.com/api/mcp/mcp"
]
}Desktop Environment
| Attribute | Details |
|---|---|
| OS | Windows 11 Version 25H2 (OS Build 26200.6899) |
| IDE | Cursor 1.7.52 |
| Commit | 9675251a06b1314d50ff34b0cbe5109b78f848c0 |
| Chromium | 132.0.6834.210 |
| Electron | 34.5.8 |
| User Agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Cursor/1.7.52 Chrome/132.0.6834.210 Electron/34.5.8 Safari/537.36 |
Additional Context
- The issue appears limited to the
getComponenttool only. - The MCP server responds almost instantly, suggesting the failure happens during local parsing or JSON serialization.
- Possible root cause: the MCP client attempts to run
t.parse()on a non-JSON payload or malformed object.