Sophia Stack MCP

Sophia Stack MCP

Enables external AI agents to edit and manage a self-hosted website via a token-gated MCP server, including page content, data, media, and sandboxed functions with validation and rollback.

Category
访问服务器

README

<p align="center"><img src="brand/sophia-stack-logo.svg" width="380" alt="Sophia Stack"></p>

<h1 align="center">Sophia Stack</h1>

<p align="center"><b>Your own website, built and edited by AI — you host it, you own it.</b></p>


Sophia Stack is a complete website you deploy to your own commodity hosting as a single zip (zero npm install). After a one-time setup you build and edit it by talking to an AI — either the built-in builder (bring your own key) or any external AI agent you hand a token to. No platform lock-in, no monthly SaaS holding your site hostage. It's yours.

Replit/Bolt/Lovable power — but remote, contained, and owned, on a host you control.

Screenshots

Your branded site Build by chatting with Sophia
Landing Build chat
Connect any AI (token / MCP / OpenAPI) Bring your own key — one-tap providers
Connect Settings

…and a complete page it built from one prompt ("build me a coffee shop landing page"):

<p align="center"><a href="docs/screenshots/06-built-page.png"><img src="docs/screenshots/06-built-page.png" width="520" alt="A page Sophia built"></a></p>

What it does

  1. Deploy the zip to any Node host (Hostinger "Setup Node.js App", Railway, Render, a VPS).
  2. Get started — set an admin login; you get a five-word recovery phrase (shown once).
  3. Build with AI — two ways:
    • Built-in builder (chat): add an AI key in Settings (OpenAI, DeepSeek, Groq, OpenRouter, Together, Mistral — one-tap presets + "get a key" links). Then just chat in the dashboard. A real agent loop reads your site, makes changes, fixes its own mistakes, and iterates.
    • Any external agent: mint a mykey- token and hand any web-capable AI the skill + URL + token — it edits the live site directly via the REST API or the built-in MCP server.
  4. Own everything — pages, custom HTML/CSS/JS, a data layer with auto CRUD, media hosting, and sandboxed server functions, all on your domain.

Why it's different

  • You own it. Self-hosted, single artifact, no platform lock-in. Cancel nothing — it's your files.
  • Any AI can operate it. The deployed site is itself an agent-operable endpoint: a token-gated REST API, an MCP server (/mcp), and an OpenAPI schema (/openapi.json).
  • Safe by design. Every edit is validated before it lands (bad edits rejected), with version history + one-click rollback, and an immutable core + footer the AI can't remove.
  • A real app platform, not a template: multi-page, custom code, database + forms, media, and sandboxed backend functions.
  • Ownership recovery. Lost your password or someone got in? Your recovery phrase resets the login and revokes every key + session — no support ticket, because there's no company in the middle.

Connect an external AI

  • ChatGPT: see docs/Connect-ChatGPT.md — build a Custom GPT Action from /openapi.json (Bearer = your mykey- token).
  • Claude / MCP clients: add /mcp as a custom connector with a Bearer token.
  • Cursor / Cline / Claude Code: hand it the skill + URL + token; it edits via the API directly.

A plain chat with no web tool (e.g. the Grok app) can read your site but can't send the request — that's the app's limit, not the token. The token is full auth wherever the AI can make calls.

What the AI can and cannot do

CAN: edit pages, write custom HTML/CSS/JS, define data + forms (CRUD), upload media, write sandboxed backend functions, use blocks/styles/effects, roll back. CANNOT: touch the framework core or remove the footer/branding · read your password, recovery phrase, or keys · reach the host OS/filesystem/network (backend code runs in a locked-down sandbox) · run code outside that sandbox. Full details in SECURITY.md.

Deploy from the prebuilt zip

Grab release/sophia-stack.zip (or build it — below), upload to your host, set the start file to app.js (Node 18+), start it, open the URL. Full step-by-step in the zip's README.txt.

Build from source

npm install
npm run build       # SSR + client bundles
npm test            # full suite (run the demo/*.mjs)
node scripts/package.mjs   # -> package/  (the deployable artifact)

Repo map

Path What
src/ server · agent loop · store · data · media · sandbox · blocks · styles · effects · dashboard
scripts/ build · package · catalog
mcp/ zero-dep stdio MCP wrapper
demo/ the test suite (server, agent, dashboard, recovery, mcp, pages, pro, ui, package…)
docs/ Connect-ChatGPT guide
brand/ logo
ARCHITECTURE.md · SECURITY.md design + safety model

Status — v1

Deployable, branded, and tested end to end: onboarding + recovery, the conversational agent builder, the agent-operable REST/MCP/OpenAPI surface, data + media + sandboxed functions, validate-before-commit

  • rollback + immutable core. Runs as a CommonJS Express app for broad host compatibility.

Built under SophiaXT, operator-directed.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选