io.github.johnroy/46a-mcp

Official registry Other

MCP for the 46a platform.

What can you do with io.github.johnroy/46a-mcp?

  • listConnections — list live browser connections. Optional emailOrUsername filter.
  • callTools — run 46a tool calls against one connection:
  • inject — run code in the connection's browser session:
  • hello_world — connectivity test tool.

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

Remote (streamable-http)
Claude Code
claude mcp add --transport http 46a-mcp 'https://46a.co/mcp' --header 'Authorization: <Basic auth or OAuth bearer token>'
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "46a-mcp": {
            "type": "http",
            "url": "https://46a.co/mcp",
            "headers": {
                "Authorization": "<Basic auth or OAuth bearer token>"
            }
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. 46a MCP Server
  2. Installation
  3. Running (or this)
  4. Connecting a client
  5. Workflow
  6. Tools

46a MCP Server

Live control of a 46a project open in a user's browser, via MCP. Lets an MCP client read live application/DOM state and perform editor actions in real time.

Installation

As an HTTP (configured outside mcpServers)

How to use the MCP connector, for hints ask claude "claude: show me where to configure mcpServers?"

  1. Add the server URL as a custom connector (claude.ai: Settings → Connectors → Add custom connector; Claude Code: claude mcp add --transport http 46a-mcp https://46a.co/mcp).
Configure entry with OAuth

Local claude MCP configuration to use oauth (default)

{
  "mcpServers": {
    "46a-mcp-http-oauth": {
      "type": "streamable-http",
      "url": "https://46a.co/mcp"
    }
  }
}
Configure a entry with basic auth

Local claude MCP configuration to use basic auth instead of oauth.

{
  "mcpServers": {
    "46a-mcp-http-basic-auth": {
      "type": "streamable-http",
      "url": "https://46a.co/mcp",
      "headers": {
        "Authorization": "Basic <user:pass>"
      }
    }
  }
}
Configure stdio process (you probably won't need this)
{
  "mcpServers": {
    "46a-mcp-stdio": {
      "command": "node",
      "args": ["src/stdio.js"],
      "cwd": "/Users/jroy/src/46a/mcp",
      "env": {
        "REMOTE_URL": "https://46a.co/mcp",
        "EMAIL_OR_USERNAME": "<user>",
        "PASSWORD": "<pass>"
      }
    }
  }
}

Running (or this)

node src/http.js

Connecting a client

A. Configure a custom connector, or B. Add entries (as above) to .mcp.json or other Claude config location, using either basic auth or OAuth (default), or C. Configure a local entry for the stdio-based process (see above)

Workflow

  1. listConnections → pick a live connectionId.
  2. callTools and/or inject against that connectionId.

connectionId is ephemeral and orphans on page reload — re-list when in doubt.

Tools

Client discovers tools via tools/list.

  • listConnections — list live browser connections. Optional emailOrUsername filter. Returns connectionId -> { user, project }.
  • callTools — run 46a tool calls against one connection: { connectionId, request: { v: 't', calls: [...] } }.
  • inject — run code in the connection's browser session: { connectionId, request: { v: 'j', code } }. code must be a single expression evaluating to a Promise.
  • hello_world — connectivity test tool.
callTools call surface

request.calls

  • add_object — add a single object (Circle, Square, _basic.text, _basic.plainText, _basic.html, SVG).
  • add_objects — batched add_object, preferred for creating many objects at once.
  • make_object_from_html — add an object from a raw HTML snippet.
  • getSelectorData — read application state (page, workspace, project, user, objects, logs).
  • doAction — perform an editor action (undo/redo, open editor, select objects, zoom, change page, patch object fields, project/page lifecycle, etc).
  • createImage — generate an image via DALL-E and add it to the project.
  • delegateAI — delegate a task to another assistant.
  • uiInteraction — create a UI widget/interaction in the chat thread or UI.

Frequently asked questions

What is io.github.johnroy/46a-mcp?

MCP for the 46a platform.

How do I install io.github.johnroy/46a-mcp?

It runs as a remote server. In Claude Code: claude mcp add --transport http 46a-mcp 'https://46a.co/mcp' --header 'Authorization: <Basic auth or OAuth bearer token>'. For other clients, paste the JSON configuration from this page into their MCP settings.

Does io.github.johnroy/46a-mcp need an API key?

Yes. It expects Authorization, which you set in its configuration.

Is io.github.johnroy/46a-mcp open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains io.github.johnroy/46a-mcp?

It is published by johnroy. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.