@drmaxbdc/productboard-mcp
MCP server for the Productboard API v2. Provides 30 tools covering entities, notes, relationships, configurations, members, and analytics.
README
@drmaxbdc/productboard-mcp
MCP server for the Productboard API v2. Provides 30 tools covering entities, notes, relationships, configurations, members, and analytics via the Model Context Protocol.
V1 sunset on 2026-07-08. This package is migrating off Productboard API v1. As of this release
list_notes,list_all_notes,get_note,get_note_v1,resolve_note, and most filters onsearch_notesuse v2. The only remaining v1 surfaces are: (a)search_notesfulltext (term) and multi-tag AND filters — auto-fallback only when used, since v2 has no equivalent; (b)add_note_comment— v2 has no note-comments endpoint. Both will stop working on the sunset date and will be removed in the v2.0.0 cleanup.
Features
- V2-first — all CRUD plus list/get/search/resolve on notes and entities run on Productboard API v2; v1 used only as a fallback for two specific filters
- 30 tools — entities CRUD+search, notes CRUD+search+relationships, configurations, members, analytics
search_notes— hybrid v2/v1 search. v2 by default; falls back to v1 only when fulltexttermor multi-tag AND (allTags) is requested.lastrelative windows translate automatically to v2updatedAt.from. Response carriesapiVersionso callers know which shape they got.resolve_note— resolve numeric ID, web UI URL, or deep link to a v2 notelist_all_notes— bulk fetch with auto-pagination via v2 (max 5000)list_members/get_member— workspace member lookup
Installation
npx -y @drmaxbdc/productboard-mcp
Authentication
This MCP supports two auth paths. OAuth (default) is recommended for fresh installs; PAT (fallback) is fully supported for back-compat and headless / CI use.
OAuth 2.0 (recommended)
When neither PRODUCTBOARD_ACCESS_TOKEN nor a stored OAuth state exists, the MCP server runs the Productboard OAuth Authorization Code flow with PKCE at first start. The resulting access + refresh tokens are persisted to a platform-native cache directory and refreshed automatically.
Each MCP installation needs an OAuth client_id to drive the flow. Three sources, checked in this order:
PRODUCTBOARD_OAUTH_CLIENT_IDenv var — explicit per-consumer override (see below).- Embedded Dr.Max default
client_id— baked into the package at build time. Dr.Max users get OAuth working out of the box with zero config; non-Dr.Max consumers should override (the Dr.Max app's consent screen says "Dr.Max BDC", which is confusing for unrelated workspaces). - Dynamic Client Registration (
POST /oauth2/register) — documented at developer.productboard.com/reference/oauth-public-client. Currently returns HTTP 404 in production — known upstream bug. The code still attempts it as a last resort; if/when Productboard fixes the endpoint, this becomes the zero-config path for any consumer.
Storage locations:
| OS | Path |
|---|---|
| macOS | ~/Library/Application Support/productboard-mcp/{tokens.json, registration.json} |
| Linux | ${XDG_CONFIG_HOME:-$HOME/.config}/productboard-mcp/{tokens.json, registration.json} |
| Windows | %APPDATA%\productboard-mcp\{tokens.json, registration.json} |
Tokens are written with permissions 0600 (POSIX). Refresh is automatic — access tokens are renewed 5 minutes before expiry, and refresh tokens (180-day validity) rotate on every use.
If you need to start setup over (change scope, switch to a different PB workspace, etc.), delete tokens.json and restart the MCP. To also force a new client_id resolution, delete registration.json as well.
Registering your own OAuth app (non-Dr.Max consumers)
Until Productboard's Dynamic Client Registration endpoint comes online, every OAuth app must be registered manually via PB admin UI. Note that PB's UI does not offer a Public Client / PKCE-only option — every manually-registered app is a Confidential Client with a client_secret, so both env vars below are required.
-
Sign in to Productboard as an admin and open https://app.productboard.com/oauth2/applications.
-
Click New OAuth application.
-
Fill in the form. Critical fields:
- Redirect URI:
http://127.0.0.1:7779/callback. If you changePRODUCTBOARD_OAUTH_CALLBACK_PORT, also re-register the matching URL here. - API V2 Scopes: check whichever subset your team needs. For the full MCP tool surface check all 8:
entities:read,entities:write,entities:delete,notes:read,notes:write,notes:delete,analytics:read,members_pii:read. - API V1 Scopes: leave empty (V1 sunsets 2026-07-08; OAuth was never wired to V1).
- Redirect URI:
-
Save and copy both the issued
client_idandclient_secret(PB only shows the secret once). -
Set both env vars and restart:
export PRODUCTBOARD_OAUTH_CLIENT_ID='paste-your-client-id-here' export PRODUCTBOARD_OAUTH_CLIENT_SECRET='paste-your-client-secret-here'
The MCP sends client_secret in every POST /oauth2/token call (initial code-for-tokens exchange and every refresh). It is never persisted to tokens.json — read from env at each request so it stays in whatever store you chose for it.
Optional env vars
| Env var | Default | Purpose |
|---|---|---|
PRODUCTBOARD_AUTH_MODE |
(unset = auto) | Set to oauth to force OAuth even if PRODUCTBOARD_ACCESS_TOKEN is set; set to pat to require PAT (good for CI). |
PRODUCTBOARD_OAUTH_CLIENT_ID |
(embedded Dr.Max) | Your own OAuth app's client_id. Required for non-Dr.Max consumers until Productboard's dynamic registration endpoint works. |
PRODUCTBOARD_OAUTH_CLIENT_SECRET |
(unset) | Required when using a Confidential Client (i.e. anything registered via PB's admin UI). Dr.Max users on tars get this from roles.json. Without it, token exchange returns HTTP 400. |
PRODUCTBOARD_OAUTH_CALLBACK_PORT |
7779 |
Override the callback port. Re-register the matching http://127.0.0.1:<port>/callback URI in your OAuth app. |
PRODUCTBOARD_OAUTH_TOKEN_PATH |
(platform-native, see above) | Override the tokens.json location (e.g. for Docker volumes). |
PRODUCTBOARD_OAUTH_REGISTRATION_PATH |
(platform-native, see above) | Override the registration.json location. |
PRODUCTBOARD_OAUTH_SCOPES |
(chooser shown) | Space- or comma-separated scopes. Set this to bypass the chooser page. |
Personal Access Token (PAT, fallback)
Generate a PAT in Productboard at Settings → Integrations → Public API. Then set:
export PRODUCTBOARD_ACCESS_TOKEN='your-pat-here'
When this env var is set, the MCP uses PAT auth and does not run the OAuth flow. PAT is the right choice for:
- Headless environments (CI, Docker containers without a browser, SSH-only servers)
- Backwards compatibility with existing deployments that already provision the env var
- Quick local development / debugging
PATs do not expire on their own but can be revoked by your PB admin at any time. If your PAT stops working mid-session, the MCP surfaces a structured "switch to OAuth" hint so you know how to recover.
Configuration
Claude Code (claude.json)
{
"mcpServers": {
"productboard": {
"command": "npx",
"args": ["-y", "@drmaxbdc/productboard-mcp"],
"env": {
"PRODUCTBOARD_ACCESS_TOKEN": "your-token-here"
}
}
}
}
Tools
Notes (V2)
list_notes— list with filters (owner, creator, date range, archived, processed, source). Hides archived notes by default; passarchived=trueto include.get_note— get by UUIDget_note_v1— DEPRECATED alias forget_note. Will be removed in v2.0.0.search_notes— hybrid v2/v1 search (see Features). ReturnsapiVersion("v1" or "v2") in the response.resolve_note— resolve any identifier (UUID, numeric ID, web UI URL, deep link) to a v2 note. Web UI URL lives atnote.links.html.list_all_notes— bulk fetch via v2 with auto-pagination (max 5000)create_note/update_note/delete_note— CRUD operationsget_note_relationships/create_note_relationship/delete_note_relationship— note linksset_note_customer— set customer relationship on a noteadd_note_comment— DEPRECATED (v1-only). V2 has no comments endpoint; this tool stops working on 2026-07-08.
Entities (features, objectives, initiatives, etc.)
list_entities/get_entity/search_entities— read with filterscreate_entity/update_entity/delete_entity— CRUDget_entity_relationships/create_entity_relationship/delete_entity_relationship— linksset_entity_parent— set parent relationship
Configuration
get_entity_configurations— discover entity types and fieldsget_note_configurations— discover note types and fields
Members
list_members— list workspace members with optional role filterget_member— get member by UUID
Analytics
get_member_activities— member activity metrics
License
MIT — see LICENSE.md
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。