Skip to content

[Bug]: MCP endpoint returns -32601 in Cursor; Codex only returns public items #182

@micahjscheer

Description

@micahjscheer

Prerequisites

  • I have searched existing issues to ensure this bug hasn't been reported already
  • I have tested this with the latest version of the components

Bug description

Model Context Protocol (MCP) integration with the Untitled UI React MCP endpoint fails.

Cursor:

Codex:

  • MCP shows authenticated and enabled, but list_components/get_page_templates/search_components return only public items and include pro_hint, and get_page_templates returns 0 templates.

Other MCP servers work with the same Cursor/Codex setup and network.

Steps to reproduce

  1. Configure Cursor MCP servers with:

  2. Use the Untitled UI MCP in Cursor; observe console error (-32601 Method not found).

  3. Configure Codex MCP with the same url and bearer token.

  4. Run list_components, search_components, and get_page_templates; observe only public items and pro_hint returned.

Expected behavior

Authenticated requests should succeed. The MCP server should implement the required methods for Cursor and Codex, and return pro components/templates for accounts with API key access.

Actual behavior

Cursor:

  • MCP POST -> JSON-RPC error -32601 (Method not found), id 11.
    Codex:
  • authenticated/enabled, but only public items + pro_hint; get_page_templates returns 0.

Code example

Cursor config:
{
  "mcpServers": {
    "untitledui": {
      "url": "https://www.untitledui.com/react/api/mcp",
      "headers": {
        "Authorization": "Bearer <redacted>"
      }
    }
  }
}

Codex commands:
export UNTITLEDUI_API_KEY="<redacted>"
codex mcp add untitledui --url https://www.untitledui.com/react/api/mcp --bearer-token-env-var UNTITLEDUI_API_KEY

Codex config:
[mcp_servers.untitledui]
url = "https://www.untitledui.com/react/api/mcp"
http_headers = { "Authorization" = "Bearer <redacted>" }

Browser

No response

Device type

Desktop

Component version

MCP endpoint on https://www.untitledui.com/react/api/mcp

Environment details

  • OS: macOS Tahoe 26.3 (15-inch MacBook Air 2025, Apple M4, 24 GB)
  • Cursor version: 3.5.33
  • Codex version: 26.519.41501 (3044)
  • Network: reliable
  • Other MCP servers work

Screenshots/Videos

No response

Console errors

2026-05-23 21:33:09.729 [error] Client error: Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","id":11,"error":{"code":-32601,"message":"Method not found"}} Streamable HTTP error: Error POSTing to endpoint: {"jsonrpc":"2.0","id":11,"error":{"code":-32601,"message":"Method not found"}}

Additional context

Thank you for creating such an awesome library.

Accessibility impact

  • This bug affects keyboard navigation
  • This bug affects screen reader users
  • This bug affects focus management
  • This bug affects color contrast or visual accessibility

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions