Onplana MCP server

Onplana MCP server

onplana-mcp-server•byonplana

The repository provides a server template for building MCP servers plus a typed client for Onplana's hosted MCP endpoint, which exposes project-management tools.

License: MIT•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •The hosted server exposes a large catalog of project-management tools covering projects, tasks, sprints, milestones, risks, timesheets, wikis and governance, filtered by caller role and organization plan.
  • •Read tools include listing projects and tasks, finding similar projects, hybrid knowledge search, and AI summaries of projects, risks and status reports.
  • •Write tools cover creating projects, tasks, milestones and comments, plus updating, assigning and moving tasks, with destructive operations annotated for gating.
  • •Task lease tools let agents claim, renew and release tasks so multiple agent sessions can share a backlog without conflicting.

BEST FOR

  • •Driving Onplana projects and tasks from code or an agent using the client SDK.
  • •Running autonomous coding agents that claim tasks from a plan, record progress, and hand work back.
  • •Coordinating several coding agents working one board through a manager session.

ABOUT ONPLANA-MCP-SERVER

Onplana MCP server is cataloged as an MCP server attributed to onplana. The repository provides a server template for building MCP servers plus a typed client for Onplana's hosted MCP endpoint, which exposes project-management tools. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Onplana MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does using the hosted Onplana MCP server require a paid plan?

No. The MCP server is available on every Onplana plan, including the free one.

What do the task lease tools solve for agents sharing a backlog?

A lease is keyed to the run rather than the user, preventing one agent session from releasing another's work, and leases expire so a crashed agent frees its task.

上游原版 README

在 GitHub 查看同一版本原文

README.md · be77d99655a1 · 采集于 2026-11-13 13:17:17 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

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 at https://api.onplana.com/api/mcp/v1.

CI MIT License

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:

  1. Other MCP authors get a known-good template instead of reinventing.
  2. 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."
  3. 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

onplana-mcp-server/
├── packages/
│   ├── server-template/        # onplana-mcp-server (npm)
│   │   ├── src/
│   │   │   ├── transport.ts    # Streamable HTTP wiring
│   │   │   ├── auth.ts         # Bearer auth pattern
│   │   │   ├── promptInjection.ts  # wrapUserContent + escape
│   │   │   ├── dispatcher.ts   # Pluggable Dispatcher interface
│   │   │   └── index.ts
│   │   ├── tests/              # promptInjection + auth + transport
│   │   └── README.md
│   └── client/                 # onplana-mcp-client (npm)
│       ├── src/
│       │   ├── client.ts       # OnplanaMcpClient class
│       │   ├── types.ts        # Public type surface
│       │   └── index.ts
│       ├── tests/              # client.test.ts (stub fetch)
│       └── README.md
├── .claude-plugin/
│   └── marketplace.json        # Claude Code marketplace
├── plugins/
│   ├── onplana/                # Claude Code plugin (skills + commands)
│   └── onplana-waiting/        # Claude Code plugin (Waiting on you pane)
├── examples/
│   └── in-memory/              # Runnable demo with 3 toy tools
├── gemini-extension.json       # Gemini CLI manifest
├── mcp.json                    # stdio client config (mcp-remote)
├── server.json                 # MCP registry manifest
└── .github/workflows/
    ├── ci.yml                  # tsc + vitest on PR
    └── publish.yml             # npm publish on tag v*

Quickstart

Build a server

Install:

npm install github:Onplana/onplana-mcp-server @modelcontextprotocol/sdk express

Wire an Express app:

import express from 'express'
import {
  createMcpPostHandler,
  createMcpMethodNotAllowedHandler,
  requireBearerAuth,
  type Dispatcher,
} from 'onplana-mcp-server'

const dispatcher: Dispatcher = {
  async listTools(ctx) { /* return your tool descriptors */ return [] },
  async callTool(name, input, ctx) { /* dispatch to your tools */ return { output: {} } },
}

const auth = async (token: string) => {
  // Validate against your token store. Return AuthContext or null.
  return { userId: 'u', scopes: ['MCP_AGENT'] }
}

const app = express()
app.use(express.json())
app.use('/api/mcp/v1',
  requireBearerAuth({ auth, requiredScope: 'MCP_AGENT' }),
)
app.post('/api/mcp/v1', createMcpPostHandler({ dispatcher }))
app.get('/api/mcp/v1', createMcpMethodNotAllowedHandler())
app.delete('/api/mcp/v1', createMcpMethodNotAllowedHandler())
app.listen(3000)

Full quickstart in packages/server-template/README.md; runnable demo in examples/in-memory/.

Drive Onplana from code

Install:

npm install github:Onplana/onplana-mcp-server

Use:

import { OnplanaMcpClient } from 'onplana-mcp-client'

const client = new OnplanaMcpClient({
  url:   'https://api.onplana.com/api/mcp/v1',
  token: process.env.ONPLANA_PAT!,
})

const projects = await client.listProjects({ status: 'ACTIVE' })

// The differentiator vs other PM-tool MCPs: hybrid semantic + lexical
// search across your org's indexed content (projects, tasks, risks,
// goals, comments, wiki pages).
const { matches } = await client.searchOrgKnowledge({
  query: 'rationale for the 3-week design phase',
  scope: 'all',
  limit: 5,
})

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 aiMonthlyCostCapUsd with 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.0
  • express@^4.18.0 or express@^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:

/plugin marketplace add Onplana/onplana-mcp-server
/plugin install onplana@onplana

The plugin brings the server with it, then sign in once:

/onplana-connect

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 three Onplana agent skills, invoked as onplana:<name>, and the /onplana:manager command, which runs a fleet of coding agents from one Onplana board:

SkillUse it when
onplana-project-plannerYou have a goal or a brief and want an executable plan: a plan document attached to the project, then a task tree with dates, dependencies, owners and test cases.
onplana-autonomous-agentA plan already exists and you want it run: claim a task, work it, record progress and evidence, resolve or hand it back, then take the next one.
onplana-managerYou want several coding agents working one board at once: a manager session that never codes picks tasks by priority, leases each one, names the files it touches, dispatches developer agents, reviews by reading the diff and keeps every status honest. Start it with /onplana:manager.

A second plugin in the same marketplace, onplana-waiting, opens a Waiting on you pane beside the chat (/onplana-waiting): your tasks handed back with "Ready for" and your tasks due today or overdue, each linked, plus a text box where one line becomes a task and a longer text with a task link becomes a comment. Install it with /plugin install onplana-waiting@onplana. It uses only the server's existing tools and lists the same server, which Claude Code runs once; see the pane's README.

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:

export ONPLANA_PAT=pat_paste-your-token-here  # mint at app.onplana.com/integrations
gemini extensions install https://github.com/Onplana/onplana-mcp-server

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

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Onplana MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/onplana-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related productivity work MCP Servers

Alternative and complementary servers in the same category

View all in productivity work →
Tuqui hosted MCP server for Odoo
tuqui-odoo-mcp-for-claude-chatgpt•tuqui-ai

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

Repository stats unavailable
Productivity & Ops