
Connects Claude to Onplana's project portfolio management platform as an alternative to Microsoft Project Online. Supports OAuth and PAT authentication over streamable HTTP. The underlying codebase is a production-hardened TypeScript MCP server template that handles prompt injection containment, stateless Bearer auth, and plan-gate semantics. The repo includes both the server framework and a typed client SDK for calling Onplana's public MCP endpoint. Exposes tools for listing projects, searching organizational knowledge (hybrid semantic and lexical search across tasks, risks, goals, comments, wiki pages), and other PM operations. Reach for this if you're running a PMO and want Claude to query and manipulate project data programmatically, or if you're building your own MCP server and want a reference implementation with security primitives already solved.
Public tool metadata for what this MCP can expose to an agent.
list_projectsList projects in the current organization. Use this to find a project by name before acting on it, or to give the user an overview of their work. Returns up to `limit` projects ordered by most recently updated. Non-admin users only see projects they own or are a member of. [Se...2 paramsList projects in the current organization. Use this to find a project by name before acting on it, or to give the user an overview of their work. Returns up to `limit` projects ordered by most recently updated. Non-admin users only see projects they own or are a member of. [Se...
limitintegerstatusstringPLANNING · ACTIVE · ON_HOLD · COMPLETED · CANCELLEDget_projectGet full detail on one project (team, milestones, task counts) by id. Use this after list_projects to resolve a name → id and pull enough context to reason about the project without a follow-up call. The caller can only see projects they own, are a member of, or have org-admin...1 paramsGet full detail on one project (team, milestones, task counts) by id. Use this after list_projects to resolve a name → id and pull enough context to reason about the project without a follow-up call. The caller can only see projects they own, are a member of, or have org-admin...
projectIdstringlist_tasksList tasks visible to the caller, with optional filters: projectId, status (TODO / IN_PROGRESS / REVIEW / DONE / BLOCKED), assigneeId, dueBefore / dueAfter (ISO dates), overdueOnly. Returns up to 50 tasks per call. For deeper drill-downs use get_task on a specific id. [Securit...7 paramsList tasks visible to the caller, with optional filters: projectId, status (TODO / IN_PROGRESS / REVIEW / DONE / BLOCKED), assigneeId, dueBefore / dueAfter (ISO dates), overdueOnly. Returns up to 50 tasks per call. For deeper drill-downs use get_task on a specific id. [Securit...
assigneeIdstringdueAfterstringdueBeforestringlimitnumberoverdueOnlybooleanprojectIdstringstatusstringTODO · IN_PROGRESS · REVIEW · DONE · BLOCKEDget_taskGet full detail on one task by id (subtasks, dependencies, recent comments). Caller must have visibility into the parent project. Out-of-scope task ids return not_found. [Security note] Free-text fields in this tool's results that originate from end-user input are wrapped in <...1 paramsGet full detail on one task by id (subtasks, dependencies, recent comments). Caller must have visibility into the parent project. Out-of-scope task ids return not_found. [Security note] Free-text fields in this tool's results that originate from end-user input are wrapped in <...
taskIdstringlist_org_membersList active members of the caller's organization with name + role. For OWNER/ADMIN callers, also returns email and 2FA-enabled status. SCIM-deactivated members are excluded - they can't be assigned tasks until reactivated. Optional `role` filter (OWNER/ADMIN/MANAGER/MEMBER/GUE...2 paramsList active members of the caller's organization with name + role. For OWNER/ADMIN callers, also returns email and 2FA-enabled status. SCIM-deactivated members are excluded - they can't be assigned tasks until reactivated. Optional `role` filter (OWNER/ADMIN/MANAGER/MEMBER/GUE...
limitnumberrolestringOWNER · ADMIN · MANAGER · MEMBER · GUESTlist_risksList project risks visible to the caller. Filters: projectId (optional), severity (LOW/MEDIUM/HIGH/CRITICAL), category (SCHEDULE/RESOURCE/BUDGET/SCOPE), includeDismissed (default false). Returns up to 50 risks per call, ordered by severity descending then most-recent first. [S...5 paramsList project risks visible to the caller. Filters: projectId (optional), severity (LOW/MEDIUM/HIGH/CRITICAL), category (SCHEDULE/RESOURCE/BUDGET/SCOPE), includeDismissed (default false). Returns up to 50 risks per call, ordered by severity descending then most-recent first. [S...
categorystringSCHEDULE · RESOURCE · BUDGET · SCOPEincludeDismissedbooleanlimitnumberprojectIdstringseveritystringLOW · MEDIUM · HIGH · CRITICALcreate_projectCreate a new project in the current organization. The caller becomes the project owner. Returns the created project id - pass it to create_task to populate the project with work. Use list_projects first to confirm a similarly-named project does not already exist. [Security not...9 paramsCreate a new project in the current organization. The caller becomes the project owner. Returns the created project id - pass it to create_task to populate the project with work. Use list_projects first to confirm a similarly-named project does not already exist. [Security not...
budgetnumbercolorstringcurrencystringdescriptionstringendDatestringnamestringstartDatestringstatusstringPLANNING · ACTIVE · ON_HOLD · COMPLETED · CANCELLEDtypestringSTRATEGIC · OPERATIONALcreate_taskCreate a task in an existing project. Use `list_projects` first if you only know the project by name. `projectId` and `title` are required; everything else is optional. For multi-step plans, prefer creating the parent task first, then subtasks with `parentId` set to its id. [S...15 paramsCreate a task in an existing project. Use `list_projects` first if you only know the project by name. `projectId` and `title` are required; everything else is optional. For multi-step plans, prefer creating the parent task first, then subtasks with `parentId` set to its id. [S...
assigneeIdstringassigneeNamestringdescriptionstringdueDatestringepicIdstringestimatedHoursnumberisMilestonebooleanparentIdstringprioritystringLOW · MEDIUM · HIGH · CRITICALprogressnumberprojectIdstringsprintIdstringstartDatestringstatusstringTODO · IN_PROGRESS · REVIEW · DONE · BLOCKEDtitlestringupdate_taskPartially update one task. Pass only the fields you want to change: status (TODO/IN_PROGRESS/REVIEW/DONE/BLOCKED), priority (LOW/MEDIUM/HIGH/CRITICAL), dueDate (ISO or null to clear), startDate (ISO or null), assigneeId (user id or null to unassign), progress (0-100). Caller m...7 paramsPartially update one task. Pass only the fields you want to change: status (TODO/IN_PROGRESS/REVIEW/DONE/BLOCKED), priority (LOW/MEDIUM/HIGH/CRITICAL), dueDate (ISO or null to clear), startDate (ISO or null), assigneeId (user id or null to unassign), progress (0-100). Caller m...
assigneeIdstringdueDatestringprioritystringLOW · MEDIUM · HIGH · CRITICALprogressnumberstartDatestringstatusstringTODO · IN_PROGRESS · REVIEW · DONE · BLOCKEDtaskIdstringassign_taskAssign or unassign one task. Pass assigneeId=null to unassign. Caller must have task.assign on the project. Target must be an active member of the organization. [Security note] Free-text fields in this tool's results that originate from end-user input are wrapped in <onplana_u...2 paramsAssign or unassign one task. Pass assigneeId=null to unassign. Caller must have task.assign on the project. Target must be an active member of the organization. [Security note] Free-text fields in this tool's results that originate from end-user input are wrapped in <onplana_u...
assigneeIdstringtaskIdstringmove_task_to_sprintMove one task into a sprint (sprintId=null returns it to the backlog). Sprint must belong to the same project as the task. Caller must have sprint.manage on the project. [Security note] Free-text fields in this tool's results that originate from end-user input are wrapped in <...2 paramsMove one task into a sprint (sprintId=null returns it to the backlog). Sprint must belong to the same project as the task. Caller must have sprint.manage on the project. [Security note] Free-text fields in this tool's results that originate from end-user input are wrapped in <...
sprintIdstringtaskIdstringupdate_projectPartially update one project: name, description, status (PLANNING/ACTIVE/ON_HOLD/COMPLETED/CANCELLED), startDate, endDate, progress (0-100), budget (number or null), color. Only supplied fields change. Caller must have project.edit on the project. [Security note] Free-text fie...9 paramsPartially update one project: name, description, status (PLANNING/ACTIVE/ON_HOLD/COMPLETED/CANCELLED), startDate, endDate, progress (0-100), budget (number or null), color. Only supplied fields change. Caller must have project.edit on the project. [Security note] Free-text fie...
budgetnumbercolorstringdescriptionstringendDatestringnamestringprogressnumberprojectIdstringstartDatestringstatusstringPLANNING · ACTIVE · ON_HOLD · COMPLETED · CANCELLEDadd_project_memberAdd an EXISTING active org member to a project. Pass userId (look up with list_org_members first) and role (OWNER/MANAGER/MEMBER/CONTRIBUTOR/VIEWER). Caller must have project.members.manage on the project. For inviting a brand-new email outside the org, use the invitation UI -...3 paramsAdd an EXISTING active org member to a project. Pass userId (look up with list_org_members first) and role (OWNER/MANAGER/MEMBER/CONTRIBUTOR/VIEWER). Caller must have project.members.manage on the project. For inviting a brand-new email outside the org, use the invitation UI -...
projectIdstringrolestringOWNER · MANAGER · MEMBER · CONTRIBUTOR · VIEWERuserIdstringcreate_milestoneCreate a milestone on one project (zero-duration marker for key dates). Caller must have milestone.create on the project. [Security note] Free-text fields in this tool's results that originate from end-user input are wrapped in <onplana_user_content>...</onplana_user_content>...3 paramsCreate a milestone on one project (zero-duration marker for key dates). Caller must have milestone.create on the project. [Security note] Free-text fields in this tool's results that originate from end-user input are wrapped in <onplana_user_content>...</onplana_user_content>...
dueDatestringprojectIdstringtitlestringcreate_commentPost a comment on a task OR a project (exactly one parent). Useful for AI-generated status updates, follow-ups, or notes. Caller must have visibility into the parent project. [Security note] Free-text fields in this tool's results that originate from end-user input are wrapped...3 paramsPost a comment on a task OR a project (exactly one parent). Useful for AI-generated status updates, follow-ups, or notes. Caller must have visibility into the parent project. [Security note] Free-text fields in this tool's results that originate from end-user input are wrapped...
contentstringprojectIdstringtaskIdstringbulk_update_tasksApply the same partial update to many tasks at once. Pass taskIds (max 50) and any combination of: status (TODO/IN_PROGRESS/REVIEW/DONE/BLOCKED), priority (LOW/MEDIUM/HIGH/CRITICAL), shiftDueDateDays (positive or negative integer to add to each task's dueDate). Per-task failur...4 paramsApply the same partial update to many tasks at once. Pass taskIds (max 50) and any combination of: status (TODO/IN_PROGRESS/REVIEW/DONE/BLOCKED), priority (LOW/MEDIUM/HIGH/CRITICAL), shiftDueDateDays (positive or negative integer to add to each task's dueDate). Per-task failur...
prioritystringLOW · MEDIUM · HIGH · CRITICALshiftDueDateDaysnumberstatusstringTODO · IN_PROGRESS · REVIEW · DONE · BLOCKEDtaskIdsarraycreate_sprint_with_tasksCreate a sprint on a project AND move existing tasks into it in one atomic call. Pass projectId, name, startDate, endDate (ISO), optional goal, and taskIds (existing tasks on the same project to assign - up to 50). Out-of-scope or missing tasks are skipped with reasons; the sp...6 paramsCreate a sprint on a project AND move existing tasks into it in one atomic call. Pass projectId, name, startDate, endDate (ISO), optional goal, and taskIds (existing tasks on the same project to assign - up to 50). Out-of-scope or missing tasks are skipped with reasons; the sp...
endDatestringgoalstringnamestringprojectIdstringstartDatestringtaskIdsarrayanalyze_project_risksRun AI risk analysis on one project - detected risks persist to the project risks table (visible via list_risks). Use this when the user asks "what could go wrong on Project X" or before a sprint planning meeting. Caller must have visibility into the project. [Security note] F...1 paramsRun AI risk analysis on one project - detected risks persist to the project risks table (visible via list_risks). Use this when the user asks "what could go wrong on Project X" or before a sprint planning meeting. Caller must have visibility into the project. [Security note] F...
projectIdstringgenerate_status_reportGenerate a Markdown status report for one project (current state, task counts, top risks, recommendations). Returns the report inline; does NOT email it (user can copy or ask "email this to ..." for a separate explicit step). Caller must have visibility into the project. [Secu...1 paramsGenerate a Markdown status report for one project (current state, task counts, top risks, recommendations). Returns the report inline; does NOT email it (user can copy or ask "email this to ..." for a separate explicit step). Caller must have visibility into the project. [Secu...
projectIdstringfind_similar_projectsFind projects in this org similar to a given description OR to an existing project. Pass either projectId (similar to this project) or description (free-form). Returns up to 5 matches with similarity scores. Useful for "have we done a project like this before?" - requires the...3 paramsFind projects in this org similar to a given description OR to an existing project. Pass either projectId (similar to this project) or description (free-form). Returns up to 5 matches with similarity scores. Useful for "have we done a project like this before?" - requires the...
descriptionstringlimitnumberprojectIdstringsummarize_projectGenerate an executive status summary for one project - covering what changed since `sinceDays` ago (default 7), top risks, current blockers, and recommended next steps. Returns structured fields the model can render. Caller must have visibility into the project. [Security note...2 paramsGenerate an executive status summary for one project - covering what changed since `sinceDays` ago (default 7), top risks, current blockers, and recommended next steps. Returns structured fields the model can render. Caller must have visibility into the project. [Security note...
projectIdstringsinceDaysnumbersearch_org_knowledgeSemantic + lexical hybrid search across this org's indexed content: projects, tasks, risks, goals, comments, and wiki pages. Use this BEFORE listing or scanning when the user asks "find me…" / "what was the rationale for…" / "have we discussed…" — it's an O(1) lookup against t...3 paramsSemantic + lexical hybrid search across this org's indexed content: projects, tasks, risks, goals, comments, and wiki pages. Use this BEFORE listing or scanning when the user asks "find me…" / "what was the rationale for…" / "have we discussed…" — it's an O(1) lookup against t...
limitnumberquerystringscopestringprojects · tasks · risks · goals · comments · wikisearchDiscovery tool for the Onplana org. Returns up to 10 candidate matches across projects, tasks, risks, comments, and wiki pages. Each result has an opaque `id` that can be passed to the `fetch` tool to retrieve full content. Use this BEFORE attempting any list scan — the hybrid...1 paramsDiscovery tool for the Onplana org. Returns up to 10 candidate matches across projects, tasks, risks, comments, and wiki pages. Each result has an opaque `id` that can be passed to the `fetch` tool to retrieve full content. Use this BEFORE attempting any list scan — the hybrid...
querystringfetchRetrieve full content for one resource by id. The id MUST be one previously returned by the `search` tool — opaque strings of the form `<type>:<cuid>` (e.g. `project:abc123…`). Returns title, a single-string content blob (capped at 8 KB with a "more in app" trailer for longer...1 paramsRetrieve full content for one resource by id. The id MUST be one previously returned by the `search` tool — opaque strings of the form `<type>:<cuid>` (e.g. `project:abc123…`). Returns title, a single-string content blob (capped at 8 KB with a "more in app" trailer for longer...
idstringlist_my_tasksList tasks assigned to YOU (the calling user). Resolves "me" server-side — no need to pass an assignee id. Optional filters: status (TODO / IN_PROGRESS / REVIEW / DONE / BLOCKED), overdueOnly (only tasks past due date and not DONE). Default returns 25, max 50. Use list_tasks i...3 paramsList tasks assigned to YOU (the calling user). Resolves "me" server-side — no need to pass an assignee id. Optional filters: status (TODO / IN_PROGRESS / REVIEW / DONE / BLOCKED), overdueOnly (only tasks past due date and not DONE). Default returns 25, max 50. Use list_tasks i...
limitnumberoverdueOnlybooleanstatusstringTODO · IN_PROGRESS · REVIEW · DONE · BLOCKEDlist_overdueList tasks that are past their due date and NOT yet DONE — across every project visible to the caller. Optional projectId filter to narrow to one project. Returns up to 25 tasks ordered by most-overdue first, with a `daysOverdue` field so the model can prioritise response. Use...2 paramsList tasks that are past their due date and NOT yet DONE — across every project visible to the caller. Optional projectId filter to narrow to one project. Returns up to 25 tasks ordered by most-overdue first, with a `daysOverdue` field so the model can prioritise response. Use...
limitnumberprojectIdstringlist_team_membersList members of a SPECIFIC project (NOT the whole organization — use list_org_members for that). Returns user id + name + role (OWNER / MANAGER / MEMBER / CONTRIBUTOR / VIEWER, plus any custom roles your org has defined). The project owner is always included as the first row w...1 paramsList members of a SPECIFIC project (NOT the whole organization — use list_org_members for that). Returns user id + name + role (OWNER / MANAGER / MEMBER / CONTRIBUTOR / VIEWER, plus any custom roles your org has defined). The project owner is always included as the first row w...
projectIdstringlink_dependencyCreate a dependency between two tasks. Type is one of FINISH_TO_START (default — successor starts when predecessor finishes), START_TO_START, FINISH_TO_FINISH, START_TO_FINISH. Lag is in integer days; negative values create lead time (successor starts before predecessor finish...4 paramsCreate a dependency between two tasks. Type is one of FINISH_TO_START (default — successor starts when predecessor finishes), START_TO_START, FINISH_TO_FINISH, START_TO_FINISH. Lag is in integer days; negative values create lead time (successor starts before predecessor finish...
lagnumberpredecessorIdstringsuccessorIdstringtypestringFINISH_TO_START · START_TO_START · FINISH_TO_FINISH · START_TO_FINISHsubmit_timesheetLog hours against a task as a timesheet entry. Records under the calling user, on the specified task within the specified project. Hours: 0.25 (15 minutes) to 24 — fractional values OK. Date: YYYY-MM-DD or ISO 8601. The entry starts in DRAFT status; submission for approval is...5 paramsLog hours against a task as a timesheet entry. Records under the calling user, on the specified task within the specified project. Hours: 0.25 (15 minutes) to 24 — fractional values OK. Date: YYYY-MM-DD or ISO 8601. The entry starts in DRAFT status; submission for approval is...
datestringhoursnumbernotesstringprojectIdstringtaskIdstringOpen-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.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.
The MCP transport is the same for everyone. Most early MCP servers get the security primitives wrong:
"ignore previous instructions" in their own data and the
next agent that reads it follows along.Onplana solved these in production over six months of MCP-server work. Publishing the patterns is high-leverage:
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.
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 + connect command)
├── 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*
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/.
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.
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.
Delete tools are not in the default catalog, and destructive operations
are deny-by-default: an org owner enables them per operation before an
agent can call them. The ones that can be enabled are recoverable, moving
to a recycle bin rather than being destroyed. Prefer update_task over
delete-and-recreate anyway, since Onplana audits every field change and
keeps the history.
The template + SDK get you running. Add these on top:
aiMonthlyCostCapUsd with WARN / BLOCK modes.actorType: 'mcp_agent' so admins can see what AI
agents did in their tenant separately from human activity.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.
fetch).@modelcontextprotocol/sdk@^1.29.0express@^4.18.0 or express@^5.0.0Tested against:
claude mcp add --transport http)~/.cursor/mcp.json)~/.gemini/settings.json).vscode/mcp.json)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 the two Onplana agent skills, invoked as
onplana:<name>:
| Skill | Use it when |
|---|---|
onplana-project-planner | You 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-agent | A 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. |
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.
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.
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.
MIT. © 2026 Onplana