Neural Draft

io.github.vbalagovic由 GitHub 帳號 vbalagovic 發布v0.4.2更新於 Oct 24, 2026

Neural Draft MCP — CMS, blog, bookings, galleries, commerce. 38 tools.

已驗證STDIO僅桌面開發者工具商業與電商

概覽

AI 產生的概覽

Neural Draft MCP 讓程式助理在建置客戶網站時串接 Neural Draft:讀取品牌、建立頁面、可編輯內容鍵、圖庫、部落格草稿與預約服務。

可以做什麼
  • 讀取並更新工作區品牌(語氣、受眾、配色、字型、語言)
  • 建立、讀取、更新與刪除頁面,並在託管網站加入帶選單連結的頁面
  • 註冊與刪除可編輯內容鍵和元件,讀取或刪除內容
  • 列出、註冊、替換與刪除圖片,並管理圖庫
  • 依品牌語氣產生部落格草稿,列出或更新部落格文章
  • 建立可預約服務與預約元件,讀取商品、電子報訂閱者與聯絡表單送出內容
適用情境
適合助理正在 Neural Draft 上建置或擴充網站、且需要讓客戶自行編輯內容的情況,也適合代理商以一個伺服器管理多個客戶工作區。部署建置、自訂網域與線上文案編輯由託管連接器負責,不需要此套件。
執行需求
透過 npx 在本機執行,需要 Node 20+。需要 Neural Draft 工作區 API 金鑰,放在 NEURALDRAFT_API_KEY(多工作區用 NEURALDRAFT_API_KEYS,並以 NEURALDRAFT_WORKSPACE 指定目前工作區)。可選 NEURALDRAFT_API_URL、NEURALDRAFT_PROJECT_ID、NEURALDRAFT_DISPLAY_NAME。需能連線至 Neural Draft API。
安裝前請注意
API 金鑰是真實憑證(ndsk_live_…),可存取對應工作區,請勿提交到版本庫,建議以環境變數參照。許多工具會寫入或刪除資料——頁面、內容鍵、元件、圖片、圖庫、部落格文章與可預約服務——會直接影響客戶的工作區。單一金鑰只能存取所屬工作區,但 NEURALDRAFT_API_KEYS 放入多組金鑰即可存取全部。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Neural Draft,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Neural Draft MCP server (@neuraldraft/mcp)

The backend for sites built with AI: CMS, blog, bookings, forms, shop and social, one database per client. Your coding assistant wires the CMS while it builds; clients edit in a web editor or through Claude.

[npm version] [npm downloads] [MCP Registry] [License: MIT] [Docs]

@neuraldraft/mcp is a Model Context Protocol server (stdio, MIT) for Neural Draft. Add it to Claude Code, Cursor, Codex or VS Code with a workspace API key, and while your assistant builds a client's site it can:

  • read the brand (voice, audience, colours, fonts, languages) before it writes a line;
  • create pages with SEO meta, and register editable content keys and components, so the client can change words and pictures in the Neural Draft editor without you;
  • add a page or sub-page to the hosted site in its own design, with a menu link;
  • set up bookable services, galleries and blog drafts, and read products, form submissions and newsletter sign-ups;
  • work across several client workspaces from one server (agencies).

Every client is its own Neural Draft workspace with its own Postgres database, API keys and team. A key only reaches the workspace it belongs to.

[A Claude Code session driving Neural Draft over MCP]

Install

You need Node 20+ and a workspace API key: in the Neural Draft admin, Settings → For developers → API keys (ndsk_live_…). Free plan included, no credit card.

Claude Code

bash
claude mcp add neuraldraft-dev -e NEURALDRAFT_API_KEY=ndsk_live_... -- npx -y @neuraldraft/mcp

Add --scope project to write it to the project's .mcp.json, and keep the key out of git with an env reference:

json
{  "mcpServers": {    "neuraldraft-dev": {      "command": "npx",      "args": ["-y", "@neuraldraft/mcp"],      "env": { "NEURALDRAFT_API_KEY": "${NEURALDRAFT_API_KEY}" }    }  }}

Run /mcp to check it's connected.

Cursor

.cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

json
{  "mcpServers": {    "neuraldraft-dev": {      "command": "npx",      "args": ["-y", "@neuraldraft/mcp"],      "env": { "NEURALDRAFT_API_KEY": "ndsk_live_..." }    }  }}

Codex

bash
codex mcp add neuraldraft-dev --env NEURALDRAFT_API_KEY=ndsk_live_... -- npx -y @neuraldraft/mcp

or ~/.codex/config.toml:

toml
[mcp_servers.neuraldraft-dev]command = "npx"args = ["-y", "@neuraldraft/mcp"]env = { NEURALDRAFT_API_KEY = "ndsk_live_..." }

VS Code

.vscode/mcp.json:

json
{  "servers": {    "neuraldraft-dev": {      "type": "stdio",      "command": "npx",      "args": ["-y", "@neuraldraft/mcp"],      "env": { "NEURALDRAFT_API_KEY": "ndsk_live_..." }    }  }}

Continue

~/.continue/config.yaml:

yaml
mcpServers:  - name: neuraldraft-dev    command: npx    args: ["-y", "@neuraldraft/mcp"]    env:      NEURALDRAFT_API_KEY: ndsk_live_...

Several client workspaces (agencies)

Each client has its own workspace and its own key. Put them all in one server and switch between them with list_workspaces / switch_workspace; every other tool acts on the active workspace.

json
{  "mcpServers": {    "neuraldraft-dev": {      "command": "npx",      "args": ["-y", "@neuraldraft/mcp"],      "env": {        "NEURALDRAFT_API_KEYS": "linden-bakery=ndsk_live_...,villa-lavanda=ndsk_live_...",        "NEURALDRAFT_WORKSPACE": "linden-bakery"      }    }  }}

NEURALDRAFT_API_KEYS also accepts a JSON object ({"linden-bakery":"ndsk_live_..."}). See Several workspaces.

Environment variables

VariableRequiredNotes
NEURALDRAFT_API_KEYone of these twoOne workspace key, ndsk_live_…
NEURALDRAFT_API_KEYSone of these twoSeveral workspaces: name=key,name=key or a JSON object
NEURALDRAFT_WORKSPACEnoWhich of NEURALDRAFT_API_KEYS is active at start (default: the first)
NEURALDRAFT_API_URLnoDefault https://api.neuraldraft.io/v1
NEURALDRAFT_PROJECT_IDnoOverride when one key spans several projects
NEURALDRAFT_DISPLAY_NAMEnoFriendly name in your client's server list

NEURAL_DRAFT_* spellings are accepted as aliases. A missing or malformed key fails at start with a message showing a working config. Never commit keys.

Remote / hosted connector

Neural Draft also runs a hosted remote MCP server, no API key and nothing to install:

https://neuraldraft.io/mcp

Streamable HTTP with OAuth sign-in (Google or an emailed code). It works in Claude, ChatGPT, Codex, Claude Code, Cursor and VS Code, and it adds what this package doesn't do: deploying a build (deploy_site, rollback_site), custom domains, editing live site texts, bookings and availability, the blog, social scheduling, and finished ads and reels crafted by Batchcraft for your brand. We don't offer AI image or video creation. We craft finished static ads and reels for your brand.

bash
# Claude Codeclaude mcp add --transport http neuraldraft https://neuraldraft.io/mcp# Codexcodex mcp add neuraldraft --url https://neuraldraft.io/mcp && codex mcp login neuraldraft

Claude: Customize → Connectors → Add custom connector. ChatGPT: Settings → Apps → Add custom MCP server. Paste the URL and sign in. Setup for every app: Hosted connector.

Hosted connector@neuraldraft/mcp (this repo)
AuthSign-in (OAuth)API key per workspace
RunsRemote, Streamable HTTPLocally via npx (stdio)
Best forHosting and deploying the site, client edits, domains, blog, bookings, socialsWiring a codebase: brand, content keys, components, pages, galleries
Several clientsTick workspaces at sign-inNEURALDRAFT_API_KEYS

Developers often add both to Claude Code or Codex.

Tools

GroupTools
Workspaceslist_workspaces, switch_workspace, find_workspaces
Brandget_brand, update_brand
Contentcreate_translation_keys, get_content, list_content, delete_content, register_component, delete_component
Pagescreate_page, list_pages, get_page, update_page, delete_page, add_site_page
Images and gallerieslist_images, get_image, register_image, replace_image (by URL), delete_image, list_galleries, get_gallery, create_gallery, update_gallery, delete_gallery
Bloggenerate_blog_post (a draft in the brand's voice), list_blog_posts, get_blog_post, update_blog_post
Bookings and shopcreate_bookable_service, setup_booking_widget, list_products, get_product
Formslist_newsletter_subscribers, list_contact_form_submissions
Accountget_usage, get_job

generate_image and generate_video are still registered for older clients but are retired: the API answers them with 410 media_generation_moved.

Resources

URIWhat
brand://currentVoice, audience, colours, fonts, languages. Read before generating UI.
schema://blog-postBlog post response shape
schema://productProduct and variant shape
schema://bookingServices, bookings, availability
conventions://editable-htmlThe data-translate / data-image-key markup rules
conventions://api-usageAuth, errors, rate limits, jobs

Prompts

PromptWhat it does
/scaffold-marketing-siteA full marketing site wired to Neural Draft (brand, editable keys, components)
/scaffold-blog-pageA /blog index and post page in an existing project
/connect-existing-siteMake an existing static site editable through Neural Draft

Full reference: Tools, resources and prompts.

Try it

Read brand://current, build a hero and a services section for this site with editable keys, and register them with Neural Draft.

The assistant reads the brand, writes markup with data-translate and data-image-key, creates the keys and registers the sections, so they show up in the client's admin as editable.

Docs

Local development

bash
git clone https://github.com/vbalagovic/neuraldraft-mcp.gitcd neuraldraft-mcpnpm installnpm run lint    # tsc --noEmitnpm testnpm run build   # → dist/

Run against a local API:

bash
NEURALDRAFT_API_KEY=ndsk_test_xxx NEURALDRAFT_API_URL=http://localhost:8080/v1 npm run dev

Inspect with the MCP Inspector: npx @modelcontextprotocol/inspector node dist/index.js.

The server is a thin wrapper over the Neural Draft Project API v1: every tool maps to one or a few REST calls. It never writes to stdout at runtime (stdio transport).

Contributing

Issues and PRs welcome. Keep tests passing (npm test), use the existing register* helper pattern for new tools, and update the tables above for any new surface.

License

MIT


Built by Neural Draft. Questions: [email protected].

來源:README.md,提交 b723b88

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v0.4.2最新Oct 16, 2026
  2. v0.3.4Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分