Releases: theYahia/megaplan-mcp
Release list
v4.0.0
Versioned 4.0.0 to supersede the npm
latest3.0.0 (an earlier 8-tool build
that was never reflected in this repo). This is the first release of the v3
correctness/hardening overhaul on npm.
This release fixes a series of API v3 correctness bugs (the previous request
shapes did not match the real Megaplan v3 API), closes critical HTTP-mode
security holes, expands the tool surface, and hardens the client. It is a
breaking release: request/response shapes changed and --http now requires
a token.
⚠️ Breaking
- List filtering & pagination rewritten. v3 list endpoints use a nested
*FilterJSON object and apageAftercursor — notfilter[field]=value
query params oroffset. Tool params changed:filter_statusnow takes status
code(s) (e.g.["filter_any"]), andoffsetis replaced bypage_after
(a cursor id). - Comments fixed. Endpoint is now the plural
/{entity}/{id}/comments; the
create_commenttext field iscontent(wastext). create_taskdeadline is now sent as aDateTimeobject, not a bare string.create_dealnow sendsprogramas aProgramref (wasDealProgram),
money as aMoneyobject on thepricefield (was a bare number oncost),
andcontactasContractorHuman/ContractorCompany(wasContractor) — see
the newcontact_typeparam.- HTTP mode requires
MCP_HTTP_TOKENand binds to127.0.0.1by default. - Tool output is now a compact summary by default; pass
raw: truefor the
raw API JSON.
Added
- Tools:
get_task,get_deal,get_project(get-by-id);update_task,
update_deal;get_deal_programs,get_deal_program;list_clients,
get_client;get_current_user(experimental). get_deal_programsmakescreate_dealusable: it's how you discover the
requiredprogram_id.- A compact, LLM-friendly output formatter for every tool (with a
rawescape hatch). - HTTP security: bearer auth, loopback bind, DNS-rebinding protection, request
body-size limit, idle-session eviction. - Client robustness: single in-flight auth (no thundering herd), correct 401
re-auth, auth timeout, retries on transient network errors,Retry-After
support, safe JSON parsing,MEGAPLAN_DOMAINvalidation. - ESLint, a
typecheckscript (covering tests too), a CI matrix on Node 18/20/22,
and this changelog.
Fixed
my-tasks-todayprompt now scopes to the current user (viaget_current_user)
instead of returning everyone's tasks.create-deal-wizardprompt now lists pipelines viaget_deal_programs.vitestand@types/expressmoved todevDependencies(they were shipped to
consumers).
Notes
A few items are implemented from official docs/SDKs but could not be confirmed
against a live account (auth body encoding, the search param name, the
current-user endpoint, the task status-change field shape). They are marked
TODO(live-verify) in the source and noted as experimental. See the README.
Install: npx -y @theyahia/megaplan-mcp@4.0.0 · npm
Tag v4.0.0 already existed in the repository; this adds the missing GitHub Release for it.