247afk Block Editor MCP Server logo

247afk Block Editor MCP Server

Community
itzdaimy

Lets AI assistants, any MCP-compatible client build and edit block editor scripts in real time.

Publisheritzdaimy
Repository247afk-MCP-Server
LanguageJavaScript
Forks
1
Stars
3
Available tools
8
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    247afk Block Editor MCP Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 8 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    3 stars and 1 forks from the linked repository.

247afk Block Editor MCP Server

Lets AI assistants (Claude Desktop, Cline, Cursor, and any MCP-compatible client) build and edit block editor scripts in real time.

How it works

  1. The MCP server runs locally and starts a WebSocket bridge on 127.0.0.1:3002
  2. Open a script in the 247afk editor, the site will connect to your websocket.
  3. Your ai assistant can now use the MCP server to make changes in scripts.

NPM package -> https://www.npmjs.com/package/247afk-mcp

Install

bash
npm install -g 247afk-mcp

Get Started

Codex CLI

bash
codex mcp add 247afk-mcp -- npx -y 247afk-mcp

Gemini CLI

bash
gemini mcp add 247afk-mcp npx "-y 247afk-mcp"

Claude Code

bash
claude mcp add 247afk-mcp -- npx -y 247afk-mcp

Claude Desktop

json
{
  "mcpServers": {
    "247afk-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "247afk-mcp"
      ]
    }
  }
}

Cursor

paste this in your browser:

txt
cursor://anysphere.cursor-deeplink/mcp/install?name=247afk%20Block%20Editor%20MCP%20Server&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIjI0N2Fmay1tY3AiXX0=

Manual

  1. Copy configuration below
  2. Add it to your MCP client configuration
  3. Follow your client's specific setup instructions
  4. Restart your MCP client to apply changes

Configuration

json
{
  "mcpServers": {
    "247afk-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "247afk-mcp"
      ]
    }
  }
}

Restart antigravity/claude code after saving.

Test without an AI client

bash
npx @modelcontextprotocol/inspector 247afk-mcp

Opens a browser UI to call tools manually.

Changelog

1.0.1

  • Added update_node_data — merge field values into a node without replacing it
  • Added move_node — reposition a node on the canvas
  • Added get_node — inspect a single node's type, position, and data
  • Added clear_graph — wipe all nodes and edges while keeping variables
  • Added validate_graph — run client-side validation and return errors/warnings
  • Added save_graph — save the script to the server (equivalent to Ctrl+S)
  • Added auto_layout — auto-arrange nodes left-to-right by execution flow
  • Added add_variable — add or replace a single variable without touching others
  • Added remove_variable — remove a single variable by name
  • Fixed variable picker dropdowns being empty in MCP-built graphs

1.0.0

  • Initial release

Requirements

  • Node.js 18 or later
  • 247afk account with access to the script editor
  • Browser open on the script to edit. (on https://247afk.com)

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "247afk-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "247afk-mcp"
      ]
    }
  }
}

Available Tools

  • get_docs

    Get full documentation for the 247afk block editor, node types, connection rules, graph format, and examples. Call this first before building any script.

  • get_graph

    Get the current script graph from the open editor tab. Returns nodes, edges, and variables. The editor tab must be open.

  • set_graph

    Replace the entire script graph at once. Use this to build a complete script from scratch. All existing nodes and edges are replaced.

  • add_node

    Add a single node to the script editor canvas.

  • remove_node

    Remove a node and all its connected edges from the editor.

  • add_edge

    Connect two node ports with an edge. Use get_graph first to know existing node ids.

  • remove_edge

    Remove a specific edge by id.

  • set_variables

    Replace the script variables list. Existing variables are overwritten.

Use 247afk Block Editor MCP Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once 247afk Block Editor MCP Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add 247afk Block Editor MCP Server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the 247afk Block Editor MCP Server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "247afk-block-editor-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "247afk-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the 247afk Block Editor MCP Server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the 247afk Block Editor MCP Server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use 247afk Block Editor MCP Server to help me with this task?
247afk Block Editor MCP Server
Sure. I read it.
Here is what I found using 247afk Block Editor MCP Server.

Frequently asked questions

What is the 247afk Block Editor MCP Server MCP server used for?

247afk Block Editor MCP Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use 247afk Block Editor MCP Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use 247afk Block Editor MCP Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use 247afk Block Editor MCP Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With 247afk Block Editor MCP Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect 247afk Block Editor MCP Server MCP to TypingMind?

247afk Block Editor MCP Server runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does 247afk Block Editor MCP Server MCP provide in TypingMind?

247afk Block Editor MCP Server exposes 8 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use 247afk Block Editor MCP Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If 247afk Block Editor MCP Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇