@jemidev/mcp
MCP server for Jemi that lets AI assistants read and edit Jemi projects via a local WebSocket bridge.
README
@jemidev/mcp
MCP server for Jemi. It lets an AI assistant - Claude Code, Codex, Cursor, and anything else that speaks the Model Context Protocol - read and edit your Jemi projects.
It listens on 127.0.0.1:4401, and forwards every request to a Jemi tab over a local WebSocket bridge.
assistant ──HTTP──▶ jemi-mcp (127.0.0.1:4401) ──WebSocket──▶ your Jemi tab ──▶ Jemi API
no keys, no storage holds the keys
Usage
Start the server and leave it running:
bunx @jemidev/mcp # or: npx -y @jemidev/mcp
Register it with your assistant:
claude mcp add --transport http jemi http://127.0.0.1:4401/mcp
Then open Jemi, go to Settings → MCP and press Connect. That page also has ready-made snippets for Claude Desktop, Codex, OpenCode, Cursor, Gemini CLI, VS Code and Windsurf.
Configuration
| Variable | Default | Purpose |
|---|---|---|
JEMI_MCP_PORT |
4401 |
Port to listen on. Change it in your client config too. |
JEMI_MCP_ALLOWED_ORIGINS |
https://app.jemi.dev |
Comma-separated origins allowed to attach a bridge. |
The origin allowlist matters: without it any page you visit could connect to the local port and feed your assistant fabricated project data. It could not read anything — it has no keys — but it could lie.
Tools
34 tools covering projects, channels, tasks, documents, comments, chat, dictionaries (tags,
priorities, difficulties) and members. Ids are opaque, so resolve them first —
jemi_list_projects → jemi_list_channels — before acting. The exception is a task number
like ALP-0254: jemi_find_task_by_key resolves it in one call.
jemi_list_tasks filters by board, title, tag, priority, difficulty, assignee and by what a
task is missing, and returns a brief shape by default — listing a busy channel in full does
not fit in an assistant's context. Bulk tools (jemi_update_tasks,
jemi_update_dictionary_items, jemi_create_tasks, jemi_delete_tasks) exist so twenty edits
are one call.
Task bodies, comments and chat messages are TipTap documents. jemi_document_format returns
the accepted nodes and marks for each surface.
Destructive tools (deleting a task, a channel, a dictionary entry) require a confirmation
argument that the assistant must get from you in words. That is a guardrail against an
over-eager agent, not a security boundary.
Bridge protocol
The frame types the server and the browser exchange are published as a subpath export, for anyone building another bridge:
import { MCP_PROTOCOL_VERSION, parseFrame, type TMcpBridgeFrame } from '@jemidev/mcp/protocol'
Only one bridge may be attached at a time: every operation targets "the tab the user is looking at", and with two tabs connected there is no way to say which one that is.
Development
bun install
bun run dev # watch mode, from source
bun run build # bundles dist/ for Node
bun run check-types
The runtime is plain Node (node:http + ws) so the package works under npx as well as
bunx; Bun is used for the toolchain.
License
MIT © Jemi
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。