Calliope MCP Server
Provides MCP tools to read, write, append, and edit prose sections of nodes, backed by an in-memory or substrate-direct (Urania) backend.
README
@forge/calliope
Calliope — the node-body prose editor. "clotho for prose": a ProseMirror editor over the urania substrate, the Obsidian replacement.
One urania substrate, two peer facets:
- Clotho — the work/graph facet (board-mcp replacement). Never touches bodies.
- Calliope (this repo) — the body/prose facet. Talks to the substrate directly (urania capture via the Hades gate); not through clotho.
- Tantalus — the render surface for Clotho's graph; imports Calliope's editor for body text.
Body model
A node's body is stored as substrate triples — no blocks, no arrangements:
note --hasPart--> section # node edge
section : hasType "section" # a placement id (not content-addressed)
section --text--> "<prose>" # literal; interned content-addressed
section --order_key--> "<key>" # fractional key, sorted COLLATE "C"
Reading a body resolves the note's hasPart section targets, resolves each to
{ text, order_key }, and sorts by order_key. Edits are copy-on-write:
changed prose mints a new version node that supersedes the old; hasPart is
rewired.
Public API
type Section = { id: string; text: string; orderKey: string };
type SectionInput = { text: string }; // position = array order
interface BodyClient {
readBody(nodeId: string): Promise<Section[]>;
saveBody(nodeId: string, sections: SectionInput[]): Promise<void>;
}
function NodeBodyEditor(props: {
nodeId: string;
client: BodyClient;
readOnly?: boolean;
onSaved?: () => void;
}): JSX.Element;
class FixtureBodyClient implements BodyClient; // in-memory; ships now
class UraniaBodyClient implements BodyClient; // substrate-direct; live wire deferred
Clients
FixtureBodyClient— in-memory, fully working. Default for standalone dev and for Tantalus today.UraniaBodyClient— substrate-direct (urania capture via Hades). The body-model mapping (copy-on-writehasPart/text/order_key) is real; the live transport is deferred, guarded behindCALLIOPE_URANIA_WIREDand an injectedUraniaCapture, exactly like Tantalus's current clotho swap-seam.
MCP server
The prose facet is also an MCP server exposing four tools (read_body,
write_body, append_section, edit_section) over the same backend selection
(UraniaBodyClient live by default — URANIA_URL, internal-net
http://urania:8202; CALLIOPE_MCP_BACKEND=fixture for a standalone server).
Two transports, one shared tool set:
- stdio —
calliope-mcpbin (dist/mcp/main.js); for Tantalus + local use. - streamable-HTTP —
calliope-mcp-httpbin (dist/mcp/http.js,pnpm start:http); servesPOST /mcpon$PORT(else$CALLIOPE_MCP_PORT, else 8204). This is the constellation star form: the Hades MCP gateway fronts it east-west athttp://calliope-mcp:8204/mcp. Stateless — a fresh server+transport per request over a long-lived backend.
Deploy (nas01 star)
compose.yaml + Dockerfile + .forgejo/workflows/deploy.yml ship the HTTP
star to nas01: container/hostname calliope-mcp on the external mnemosyne-net,
internal-only (no host port), reaching urania at URANIA_URL=http://urania:8202.
Push to main runs the gate (format/lint/typecheck/test/build) then builds,
pushes to the Forgejo registry, and recreates the container. Joining the
constellation is one line in the gateway's hades.toml [stars] table
(calliope = "http://calliope-mcp:8204/mcp") + a Hades restart.
Develop
pnpm install
pnpm lint
pnpm typecheck
pnpm test
pnpm build
The package builds to dist/ (ESM + .d.ts). A consumer links it with
file:../calliope.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。