
Onplana
io.github.Onplana由 GitHub 账号 Onplana 发布v0.2.5更新于 Nov 1, 2026
AI-native project and portfolio management platform for PMOs. OAuth + PAT.
概览
Onplana 的远程 MCP 端点,面向 AI 原生的项目与项目组合管理平台,让助手读取、创建和更新项目、任务、冲刺与风险。
- 可以做什么
- 读取项目、任务、团队成员与组织成员、风险及逾期工作,并生成 AI 摘要、风险分析和状态报告
- 在任务、项目、Wiki 页面和评论中做组织知识检索,并查找相似的过往项目
- 创建项目、任务、里程碑、评论、冲刺、工时记录和依赖关系
- 更新、批量更新、指派和移动任务,以及修改项目字段
- 领取、续期和释放任务租约,让多个智能体共享同一待办列表
- 将任务、项目、列表和文档删除到回收站
- 适用场景
- 适合让助手在 Onplana 组织中工作:制定项目计划、生成任务树、撰写状态报告、梳理风险,或运行自动领取并完成任务的智能体循环。
- 运行要求
- 远程 Streamable HTTP 端点,无需本地安装。需要 OAuth 登录,部分客户端也可使用个人访问令牌。需要 Onplana 账号和组织;所有套餐(含免费版)均可使用该服务器。
安装
在 SourceWeft 中
- 打开 控制台中的 Onplana,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.Onplana%2Fmcp-server/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"onplana": {
"type": "http",
"url": "https://mcp.onplana.com/mcp"
}
}
}README
Onplana MCP server
Open-source TypeScript Model Context Protocol building blocks, extracted from Onplana's production MCP deployment. Two packages:
onplana-mcp-server: server template. Streamable HTTP transport, Bearer auth, prompt-injection containment, pluggable dispatcher.onplana-mcp-client: typed TypeScript client SDK for calling the public Onplana MCP endpoint athttps://api.onplana.com/api/mcp/v1.
What this is
The transport layer of an MCP server (Streamable HTTP wiring, stateless mode, scoped Bearer auth, prompt-injection containment) done well, separated from the platform-specific tool registry. Use the server template to build your own MCP server with security best practices baked in. Use the client SDK to drive Onplana's hosted MCP from your own code.
The patterns are extracted from Onplana's production deployment (public docs at onplana.com/mcp), the same layer that handles real Claude Desktop, Cursor, ChatGPT custom connector, and in-house agent traffic against the Onplana platform.
Why open-source
The MCP transport is the same for everyone. Most early MCP servers get the security primitives wrong:
- Prompt injection. Tools that return user-generated content
(task titles, comment bodies, wiki text) put that content directly
into the model's context. Without containment, a hostile actor can
plant
"ignore previous instructions"in their own data and the next agent that reads it follows along. - Stateless transport. Most SDK examples assume in-memory session state, which breaks horizontal scaling and complicates the auth model.
- Plan-gate semantics. Surfacing tools the caller can't actually invoke wastes turns and confuses the model.
Onplana solved these in production over six months of MCP-server work. Publishing the patterns is high-leverage:
- Other MCP authors get a known-good template instead of reinventing.
- The repo is a pretraining-signal surface. Public GitHub READMEs are heavily weighted in next-gen LLM training data, and a repo with patterns + clear documentation about MCP improves model recall of "what good MCP servers look like."
- The dispatcher interface is the seam where your business logic plugs in. The transport is generic; what matters about your MCP server is the tool registry. Open-sourcing the transport doesn't give away anything proprietary.
The dispatcher implementation, tool catalog, plan-gate logic, audit infrastructure, and the rest of Onplana's ~600 LOC closed-source dispatcher stay in the closed monorepo because they encode platform business logic. If you build your own MCP server using this template, you write your own dispatcher. That's the work that matters and the work that's specific to your platform.
Repository layout
Quickstart
Build a server
Install:
Wire an Express app:
Full quickstart in packages/server-template/README.md;
runnable demo in examples/in-memory/.
Drive Onplana from code
Install:
Use:
Full client docs in packages/client/README.md.
Tools
The hosted server at https://mcp.onplana.com/mcp exposes 285 tools,
spanning projects, tasks, sprints, milestones, earned value, risks,
issues, governance, change control, timesheets, wikis, whiteboards,
workflows and the Microsoft Graph integrations. The exact number a given
client sees is smaller, because tools are filtered by the caller's role
and the organization's plan before the catalog is served.
The 33 below are the ones worth knowing first, not the whole catalog.
Reads are annotated readOnlyHint; writes carry destructiveHint so a
client can gate them. Every call runs under the calling identity, is
checked against that user's permissions and the org's plan, and lands in
the audit trail.
Read (readOnlyHint: true)
list_projects: projects in the org, filterable by status.get_project: one project in full, with dates, owner and progress.list_tasks: tasks for a project, or across projects.get_task: one task with description, assignee, dates and recent comments.list_my_tasks: tasks assigned to the calling user.list_overdue: tasks past their due date.list_team_members: members of a project.list_org_members: members of the organization.list_risks: risks logged against a project.find_similar_projects: past projects resembling a description, for estimating.search_org_knowledge: hybrid BM25 and vector search over tasks, projects, wiki pages and comments.summarize_project: AI summary synthesized from the live plan.analyze_project_risks: AI risk detection across schedule, budget, scope and resources.generate_status_report: AI status report from the current schedule and activity.search: App Directory adapter, returns{id, title, snippet?, url?}.fetch: App Directory adapter, returns{id, title, content, url?, metadata?}.
Write, additive (destructiveHint: false)
create_project: create a project.create_task: create a task, optionally under a parent.create_milestone: add a milestone to a project.create_comment: comment on a task, issue or project.create_sprint_with_tasks: create a sprint and pull tasks into it.submit_timesheet: log hours against a task.add_project_member: add an existing org member to a project.link_dependency: link two tasks, idempotent via a unique constraint.
Write, mutating (destructiveHint: true)
update_project: change project fields such as status, dates or budget.update_task: change task fields such as status, progress or dates.bulk_update_tasks: apply one change across many tasks.assign_task: set a task's assignee.move_task_to_sprint: move a task into or out of a sprint.
Leases (for agents that share a backlog)
next_task: pick the next available task and claim it in one call. Listing and then claiming leaves a gap two agents can both land in.claim_task: take an exclusive lease on a specific task.renew_task_lease: extend a lease while the work is still running.release_task: hand the lease back; completing or blocking a task releases it too, and ending a session releases everything that run holds.
A lease is keyed to the RUN, not to the user. Two sessions of one client authenticate as the same agent persona, so a user-keyed lock would let one session release the other's work. Leases expire on their own, so a crashed agent frees its task instead of holding it.
Four delete tools are in the catalog (a task, a project, a list, a
document). Each is a per-organization switch that is on until an org admin
saves a choice, the agent still needs the underlying permission, and all
four move items to a recycle bin rather than destroying them. Prefer update_task over
delete-and-recreate anyway, since Onplana audits every field change and
keeps the history.
Production checklist
The template + SDK get you running. Add these on top:
- Per-token rate limiting. 60–120 req/min per Bearer token; agentic loops are noisier than humans.
- Tenant cost cap. If your tools call paid LLMs, gate dispatch
on month-to-date spend. Onplana's deployment uses
aiMonthlyCostCapUsdwith WARN / BLOCK modes. - Audit logging. Every dispatch should write an audit row
tagged with
actorType: 'mcp_agent'so admins can see what AI agents did in their tenant separately from human activity. - Plan / scope curation. Don't expose every internal tool. Onplana exposes 21 of 26; the suppressed 5 either need an in-app preview UI, are too risky for unsupervised invocation, or produce oversized payloads.
- PREVIEW mode for risky mutations. Default mutating tools to preview-only on free tiers. Onplana ships this: agents see "what it would do" before users explicitly upgrade and re-run.
- Idempotency keys. Hash the canonicalised input + a session id; store as a unique constraint on your audit row. A model retrying the same logical action shouldn't double-create.
Each of those is platform-specific. The template gives you the seam
where they plug in (Dispatcher.callTool); your dispatcher
implements them however your platform encodes those concepts.
Compatibility
- Node.js ≥ 20 (for the server template and CI matrix); ≥ 18 for
the client (uses ambient
fetch). @modelcontextprotocol/sdk@^1.29.0express@^4.18.0orexpress@^5.0.0
Tested against:
- Claude Code (plugin marketplace, or
claude mcp add --transport http) - Claude Desktop (Custom Connector)
- Cursor (
~/.cursor/mcp.json) - ChatGPT custom connectors (where MCP is enabled in your account)
- Gemini CLI + Gemini Code Assist (
~/.gemini/settings.json) - GitHub Copilot in VS Code (
.vscode/mcp.json) - The official MCP Inspector
Install in Claude Code
The repo doubles as a Claude Code plugin marketplace, so installing is two commands:
The plugin brings the server with it, then sign in once:
That walks you through the browser sign-in and checks the connection
with whoami. The MCP server is available on every Onplana plan,
including the free one.
The plugin ships the two Onplana agent skills, invoked as
onplana:<name>:
The plugin declares the server in plugins/onplana/.mcp.json as a
remote HTTP server, so Claude Code connects to it directly with no
stdio shim. If you already added the same URL with claude mcp add,
Claude Code keeps your entry and skips the plugin's, so there is
still one set of tools.
Install in Gemini CLI
The repo ships a gemini-extension.json manifest at the root, so
Gemini CLI installs Onplana with one command:
Restart the gemini CLI (or reload your VS Code / JetBrains window
if you're using Gemini Code Assist). The Onplana tools appear in
/mcp and your GEMINI.md context picks up the usage hints
shipped in this repo.
Contributing
Issues + PRs welcome. The repo is small by design, the goal is for
the transport patterns to be obvious, well-tested, and stable.
Major-version bumps are reserved for breaking changes to the
exported Dispatcher / BearerAuth / handler factory shapes.
Patches and minors are for prompt-injection containment refinements,
new helper utilities, additional test coverage.
License
MIT. © 2026 Onplana
See also
- onplana.com/mcp: public docs page for the production Onplana MCP deployment (full tool catalog, setup instructions, security model)
- onplana.com: Onplana, the AI-native project and portfolio management platform
- Model Context Protocol specification: the MCP standard
- Anthropic prompt-injection guidance: the security pattern this repo's wrap implements
来源:README.md,提交 2d4a25b
工具
0版本历史
2- v0.2.5最新Oct 18, 2026
- v0.2.4Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分