GeezerVison is showing github.com — opentui: fatal: undefined is not an object (evaluating 'enabledFormatters().length') after adding an MCP · Issue #8588 · anomalyco/opencode
opentui: fatal: undefined is not an object (evaluating 'enabledFormatters().length') after adding an MCP #8588
Labels
bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui Description
Description
After I added an MCP server to a local project config file /project-root/opencode.json and running /status this error pops up
opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"directus": {
"enabled": true,
"type": "remote",
"url": "https://server.domain/mcp",
"headers": {
"Authorization": "Bearer token"
}
},
},
}
TypeError: undefined is not an object (evaluating 'enabledFormatters().length')
at when (src/cli/cmd/tui/component/dialog-status.tsx:238:34)
at <anonymous> (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:1521:43)
at runComputation (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:742:22)
at updateComputation (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:724:3)
at readSignal (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:660:67)
at runComputation (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:742:22)
at updateComputation (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:724:3)
at createMemo (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:273:10)
at Show (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:1524:46)
at untrack (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:475:12)...
Plugins
None
OpenCode version
1.1.20
Steps to reproduce
- Add an MCP server (example: Directus)
- run /status
Screenshot and/or share link
No response
Operating System
macOS 26.3 Beta (25D5087f)
Terminal
Ghostty 1.2.3
Activity
github-actions commented on Jan 15, 2026
This issue might be a duplicate of existing issues. Please check:
Both issues report the exact same error with the same stack trace. Feel free to ignore if your specific case differs from these.
rekram1-node commented on Jan 15, 2026
Will iinvestigate, I think there is some timing issue w/ the tui and instances being disposed...
R44VC0RP commented on Jan 24, 2026
Closing as duplicate of #4922 - same enabledFormatters().length undefined error.
Metadata
Metadata
bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui Development
No branches or pull requestsIssue actions