GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

New issue
Copy link
New issue
Copy link
Closed
Closed
opentui: fatal: undefined is not an object (evaluating 'enabledFormatters().length') after adding an MCP#8588
Copy link
Assignees
rekram1-node
Labels
bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Description

@alepouna
alepouna
opened on Jan 15, 2026
Issue body actions

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

  1. Add an MCP server (example: Directus)
  2. run /status

Screenshot and/or share link

No response

Operating System

macOS 26.3 Beta (25D5087f)

Terminal

Ghostty 1.2.3

Activity

  1. alepouna
    added
    bugSomething isn't working
    on Jan 15, 2026
  2. github-actions
    assigned
    rekram1-node
    on Jan 15, 2026
  3. github-actions
    added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 15, 2026
  4. github-actions commented on Jan 15, 2026

    @github-actions
    github-actionsBot
    on Jan 15, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • opentui: fatal: undefined is not an object (evaluating 'enabledFormatters().length') #8042: opentui: fatal: undefined is not an object (evaluating 'enabledFormatters().length')
    • opentui: fatal: undefined is not an object (evaluating 'enabledFormatters().length') #4922: opentui: fatal: undefined is not an object (evaluating 'enabledFormatters().length')

    Both issues report the exact same error with the same stack trace. Feel free to ignore if your specific case differs from these.

  5. rekram1-node commented on Jan 15, 2026

    @rekram1-node
    rekram1-node
    on Jan 15, 2026
    Member
    More actions

    Will iinvestigate, I think there is some timing issue w/ the tui and instances being disposed...

  6. blueemp
    added a commit that references this issue on Jan 15, 2026

    Fix TUI crashes from undefined values (anomalyco#8588, anomalyco#8579, …

    c6546ca
  7. R44VC0RP commented on Jan 24, 2026

    @R44VC0RP
    R44VC0RP
    on Jan 24, 2026
    Contributor
    More actions

    Closing as duplicate of #4922 - same enabledFormatters().length undefined error.

  8. R44VC0RP
    closed this as completedon Jan 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @rekram1-node
    rekram1-node

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.