MCP Server
Give AI assistants full knowledge of all Pullwish SDK packages via the Model Context Protocol.
@pullwish/mcp
@pullwish/mcp is a Model Context Protocol server that gives AI editors — Claude, Cursor, Windsurf, VS Code Copilot — complete, accurate knowledge of all Pullwish SDK packages without leaving your editor.
The MCP server is not installed as a local npm dependency. It runs via npx and is registered in your editor's config file as pullwish-docs. Keep any existing pullwish entry that points at the hosted MCP (https://www.pullwish.com/api/mcp, canonical; https://featurely.no/api/mcp and https://www.featurely.no/api/mcp still work) — that name belongs to the remote Pullwish MCP.
Quick setup via CLI
The fastest way to configure the MCP server is with the Pullwish CLI:
npx @pullwish/cli@latest mcp setupThis detects installed editors and writes the correct config automatically. The server is registered as pullwish-docs (an older featurely or featurely-docs entry that launched the docs server is removed and replaced by that pullwish-docs entry, which runs @pullwish/mcp). An existing pullwish entry for the hosted MCP (https://www.pullwish.com/api/mcp, canonical, or the still-supported https://featurely.no/api/mcp and https://www.featurely.no/api/mcp) is left unchanged, as are other servers. Running setup again updates pullwish-docs in place and does not create a duplicate. Supported editors: Claude Desktop, Cursor, VS Code Copilot, Windsurf.
Manual configuration
Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"pullwish-docs": {
"command": "npx",
"args": ["-y", "@pullwish/mcp@latest"]
}
}
}Cursor
.cursor/mcp.json (project-level) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"pullwish-docs": {
"command": "npx",
"args": ["-y", "@pullwish/mcp@latest"]
}
}
}This registers the local docs server. The hosted Pullwish MCP — the one that reads and writes your project — is configured separately. See Hosted MCP endpoint.
Windsurf
~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"pullwish-docs": {
"command": "npx",
"args": ["-y", "@pullwish/mcp@latest"]
}
}
}VS Code (Copilot)
.vscode/mcp.json:
{
"servers": {
"pullwish-docs": {
"command": "npx",
"args": ["-y", "@pullwish/mcp@latest"]
}
}
}After saving the config, restart your editor.
Available tools
Once connected, your AI assistant can call five tools:
| Tool | Description |
|---|---|
list_packages | List all Pullwish SDK packages with a short description and install command |
get_package_docs | Complete docs for a package: overview, installation, full API reference, and examples |
get_installation_guide | Installation and quick-start guide for a specific package |
get_api_reference | Full API reference — constructor config, all methods, all types |
get_code_examples | Runnable code examples including React and Next.js integrations |
All tools accept a package parameter:
| Value | Package |
|---|---|
"error-tracker" | @pullwish/error-tracker |
"feature-reporter" | @pullwish/feature-reporter |
"site-manager" | @pullwish/site-manager |
"i18n" | @pullwish/i18n |
"logger" | @pullwish/logger |
Team invitations
@pullwish/mcp does not invite teammates. Invitations are created in the dashboard and through POST /api/projects/{projectId}/members. The team-member limit is per account. €99/mo includes 5 team members, additional members €15/mo each. A person in several projects counts once. An invitation expires 7 days after it is created. The API stores only a hash of the link, and the link works once. The API rejects another new person at that limit until an extra seat is paid, and the paid seat count comes from the Stripe subscription webhook rather than from the client. Accepting any invite needs a sign-in whose verified email matches the invite after trimming and lowercasing. A signed-out request is rejected with 401. An unverified or different email is rejected with 403. An expired, used, or unknown token returns the same 404 and does not include the project name or the email. Before login, a live invite returns only its status and timestamps. Existing invites must be re-sent. The membership role comes from the stored invite and cannot be owner.
Requirements
- Node.js 18 or later
npx(included with Node.js)
The package is run via npx -y @pullwish/mcp@latest, so no global installation is needed. That always pulls the most recent version.
@pullwish/mcp 1.0.9 depends on @modelcontextprotocol/sdk 1.32.1. Install that release (or newer) so the docs server does not pull the critical proxy-addr advisory or the high fast-uri, hono, and ip-address advisories that came in with SDK 1.29.0. The tool names above are unchanged.
Hosted MCP endpoint
The docs server above does not read or write your project. Connect Cursor, Claude, and other remote MCP clients to the hosted server at:
https://www.pullwish.com/api/mcp
That URL is the canonical endpoint. https://featurely.no/api/mcp and https://www.featurely.no/api/mcp stay on those hosts (they are not redirected) and remain supported alternate endpoints.
Cursor (.cursor/mcp.json):
{
"mcpServers": {
"pullwish": {
"url": "https://www.pullwish.com/api/mcp"
}
}
}OAuth discovery (/.well-known/oauth-protected-resource) advertises a per-host Descope agentic authorization_servers entry for featurely.no, www.featurely.no, pullwish.com, and www.pullwish.com. Access tokens must carry the iss for the Host you call and an aud equal to that host's MCP resource URL (https://<host>/api/mcp). A token minted for one host is rejected on another.
Hosted MCP tools and scopes
The hosted server uses OAuth. At consent you choose Read only or Read & write per project—or enable All current & future projects to cover existing and newly created projects automatically (editable later under Connected apps in the dashboard). Read only grants features:read, bugs:read, errors:read, tasks:read, analytics:read and translations:read. Read & write adds features:write, bugs:write, errors:write, tasks:write and translations:write. Tools that take a feature or bug id need the features:* scope for a feature and the bugs:* scope for a bug.
| Tool | Scope |
|---|---|
list_projects | none (lists the projects and scopes of the connection) |
list_features, list_bugs, get_feature, list_workflow_statuses | features:read or bugs:read |
list_releases, get_roadmap, get_changelog, get_feature_votes | features:read |
list_comments | features:read or bugs:read |
list_errors, get_error, list_event_logs | errors:read |
list_tasks | tasks:read |
get_project_analytics | analytics:read |
create_feature, post_comment | features:write or bugs:write, by type |
update_feature_status, post_status_message | features:write or bugs:write, by type |
publish_changelog | features:write or bugs:write, by type |
unpublish_changelog | features:write or bugs:write, by type |
update_error | errors:write |
create_task, update_task_status | tasks:write |
list_translation_keys, upsert_translation_keys | translations:read, translations:write |
get_ai_workflow_context, get_workflow_memory, get_decisions, list_open_decisions, list_plans, get_designs | features:read |
upsert_workflow_memory, create_decision, create_plan, update_plan_phase, upload_design, update_design | features:write |
Project memory tools (add_memory, /api/v1/memory/*) exist behind the ai_memory_v1 feature flag and need the separate memory:read and memory:write scopes, which are never granted automatically. Use list_projects first so the assistant does not guess project ids.
Hosted MCP and AI Workflow (/dashboard/ai-workflow)
The hosted MCP gives AI coding agents a structured collaboration loop with humans across four pillars in Dashboard → AI Workflow: General Rules & Memory, Decisions, Plans, and Designs.
Recommended Agent Protocol
- Bootstrap Context First (
get_ai_workflow_context): Callget_ai_workflow_context({ projectId, featureArea?, pageName?, query?, tags? })at the start of a session. In one call it returns:activeRuleChecklist: Enabled project rule checkboxes (fromboxKey: "rule_checklist").generalRules: Overview (app_overview), guardrails (rules), conventions (conventions), architecture (architecture), environment (environment), and pitfalls (pitfalls).designRules: General design system rules (boxKey: "design_rules"orcategory: "design").featureGuides: Feature documentation boxes (category: "feature") matching the activefeatureAreaortags.decisions:openBlockingdecisions,opendecisions, andansweredConstraints(past decisions to respect).plans: Multi-phase implementation plans matching the feature/query.designs: Named page designs (pageName, HTML/Tailwind/JSX code, images/PDFs, and open revision requests).
- Search Decisions by Metadata (
get_decisions): When working on a specific feature (e.g.,"Bug reports"), callget_decisions({ projectId, featureArea: "Bug reports", tags: ["bugs", "bug-reports"] })to check past decisions and open blocking questions. When a new architectural or UX trade-off arises, callcreate_decisionwithmetadata({ featureArea, scope, tags }) and optionalpublicVotingEnabled: true. - Check Design Rules & Named Page Designs (
get_designs): Before creating or modifying a page (e.g.,"Dashboard"), callget_designs({ projectId, pageName: "Dashboard", includeDesignRules: true })to inspect the project's general design rules, existing page designs (both images/PDFs and HTML/Tailwind/React prototypes), and any open revision tasks added by humans (e.g., "Change the color of the save button"). - Keep Plans & Revisions Updated (
update_plan_phase,update_design): Check off plan checklist items as phases progress, and mark design revision tasks"done"viaupdate_designonce addressed.
AI Workflow Tool Reference
| Tool | Scope | Description |
|---|---|---|
get_ai_workflow_context | features:read | Returns active Rule Checkboxes, General Rules, Design Rules, Feature Guides, Decisions, Plans, and Named Page Designs filtered by featureArea, pageName, query, or tags. |
get_workflow_memory | features:read | Reads General Rules, Rule Checklists (rule_checklist), Design Rules (design_rules), Feature Guides (category: "feature"), and memory boxes. Filter by category, query, featureArea, or tags. |
upsert_workflow_memory | features:write | Creates or updates a rule box, feature guide (category: "feature"), design rule (boxKey: "design_rules"), or rule checklist (boxKey: "rule_checklist"), with metadata: { featureArea?, scope?, tags? }. |
get_decisions | features:read | Searches decisions (open, answered, superseded, all) by query, featureArea, tags, featureId, or taskId. |
list_open_decisions | features:read | Lists open decisions awaiting human input across one or all accessible projects, sorted by blocksWork and deadline. |
create_decision | features:write | Proposes a decision card with options, recommendedOptionId, blocksWork, metadata (featureArea, scope, tags), and optional publicVotingEnabled (for public voting on /projects/{projectId}). |
create_plan | features:write | Creates a multi-phase implementation plan with checklists and metadata (featureArea, scope, priority, targetRelease, tags). |
list_plans | features:read | Lists and searches plans by featureId, query, featureArea, or tags. |
update_plan_phase | features:write | Updates phase status (pending, in-progress, done), checklist items, or plan metadata. |
get_designs | features:read | Lists designs grouped by pageName (e.g. "Dashboard"), filtered by query, featureArea, or tags, along with the project's General Design Rules. |
upload_design | features:write | Uploads or creates a design using HTML/Tailwind/JSX code (codeContent, codeFormat), base64 image/PDF (imageData, imageMimeType including application/pdf), or both (designType: "hybrid"), grouped under pageName, with optional A/B options and publicVotingEnabled. |
update_design | features:write | Updates design code/metadata, adds a revision task (addRevision), or updates a revision task's status (updateRevision: { revisionId, status: "done" }). |
Hosted MCP and internal
The hosted MCP's create_feature and update_feature_status tools accept an optional internal boolean.
| Tool | internal |
|---|---|
create_feature | Optional. Features and bugs default to true when projectId is the Pullwish platform project (iGBUmKRzcovPHJAP1Z6Y). Every other project defaults to false. An explicit true or false always wins. Widget and SDK submissions are not this tool; they stay public. |
update_feature_status | Optional. Set false to show the item on the public board, feeds, and public APIs again. Set true to hide it. Omit the field to leave the flag unchanged. |
get_api_reference for feature-reporter documents the same internal field on POST /api/public/v1/features. Public reads never return internal items. A direct request for one returns 404.
Hosted MCP and metadata
Feature and task tools accept optional planning metadata validated atomically before any database write (errors name the offending field and write nothing):
| Tool | Metadata fields |
|---|---|
create_feature, update_feature_status | priority (critical, high, medium, low, or null to clear), estimatedEffort (xs, s, m, l, xl, or null), expectedImpact (low, medium, high, very-high, or null), tags (up to 20 strings), segments (up to 20 strings), assignees ({ type: "member", userId, name } or { type: "text", name }). |
create_task | priority, assignees, dueDate (YYYY-MM-DD or ISO-8601 datetime, or null). |
update_task_status | status (optional when updating metadata; at least one of status, priority, assignees, or dueDate is required), priority, assignees, dueDate (null clears). Tasks do not have tags. |
Member assignees (type: "member") must refer to an active (non-suspended) member of projectId.
Free-text assignees (type: "text") are stored as given. Their name is a label, not a user, and is not checked against the project's members. A member assignee's name is also stored as sent; only its userId is checked. update_feature_status returns updatedFields with only the fields whose value actually changed, and both create_feature and update_feature_status log their activity as mcp:<grantId>.
Hosted MCP and changelogs
The hosted MCP can publish a changelog entry and take it down again.
| Tool | Scope | Description |
|---|---|---|
publish_changelog | features:write (feature) or bugs:write (bug) | Publishes the changelog entry for a feature or bug, with summary, optional description, and optional ISO publishedAt. |
unpublish_changelog | features:write (feature) or bugs:write (bug) | Takes a published entry off the public changelog. Takes projectId and featureId. Sets published: false and updates updatedAt. |
unpublish_changelog never deletes the entry. Its summary, description, title and original publish date stay as they were, so publish_changelog can publish the same entry again. When republishing a previously unpublished entry, publishedAt updates to the republish timestamp (or the explicit publishedAt if provided); edits to an already-published entry preserve its existing publishedAt. The unpublish result is { id, projectId, published: false, changed }, where changed is false when the entry was already unpublished.
Access.
- The connection can only unpublish entries in a project it was granted. Another project's entry, or an id that does not exist, returns HTTP
404with no further detail. - It needs the same scope as
publish_changelog, decided by the entry's saved type:bugs:writefor a bug,features:writefor a feature. A connection without that scope, including a read-only one, gets HTTP403. - A missing or invalid token returns
401.
Audit. Every unpublish that changes published from true to false (changed: true) writes an audit log entry (changelog.unpublish) on the project with the connection id (keyId) and the entry id. No-op unpublish retries (changed: false) do not write an audit entry, and the summary, description and title are never logged.
Hosted MCP and translations
The hosted MCP can read and write translation keys, so an AI assistant can add keys and translate them without opening the dashboard.
| Tool | Scope | Description |
|---|---|---|
list_translation_keys | translations:read | Lists keys with default text and per-locale translations, plus the project's default and supported locales. Filter with namespace, query, or missingLocale to find keys that still need a translation for one locale. Paged with limit (max 200) and offset. |
upsert_translation_keys | translations:write | Creates keys and adds translations in bulk (max 200 keys per call). |
upsert_translation_keys takes projectId, keys and an optional overwrite flag. Each item in keys has:
| Field | Required | Description |
|---|---|---|
key | Yes | Letters, digits, dots, underscores and hyphens, max 200 characters |
defaultText | Yes | The source text, max 5000 characters |
namespace, category | No | Namespace for lazy-loaded bundles, and a free-form category |
translations | No | Locale code to text, for example { "no": "Hjem", "de": "Startseite" } |
Missing keys are created. Existing keys are only filled in: default text, namespace, category and locale values that are already set are kept, unless overwrite is true. Locale values are merged per locale, so sending one locale never removes another. The result lists the keys that were created, updated and unchanged, and any unsupportedLocales that are not enabled for the project. Those are still stored, so enable them under Translations in the dashboard to serve them.
Existing connections do not have the translation scopes yet. Reconnect the MCP server and choose read or write access again to enable these tools.
Hosted MCP blog admin tools (platform only)
These tools are for the Pullwish team, not for customers. They let an assistant set blog covers, X text and og fields without UI admin access.
| Tool | Description |
|---|---|
list_blog_posts | Lists blog posts, newest first, with cover, dark cover, xText, og and excerpt fields. Filter with query (title or slug) and published. Paged with limit (max 100) and offset. |
get_blog_post | Gets one post by postId or slug, including content. |
update_blog_post | Updates only coverImageUrl, coverImageDark, ogImageUrl, xText, excerpt, metaTitle and metaDescription. null or "" clears a field. |
There is no delete, no publish or unpublish, and no content, title or slug editing. There is no upload tool: images must already exist.
Access. The connection needs the blog:write scope on the Pullwish platform project, and the person who authorized it must be a platform superadmin. Superadmin is checked live on every request. The blog:write part of a grant has no age limit; it lasts until the grant is revoked. Without all of this, the tools are not listed, and calling one returns HTTP 403. A missing or invalid token returns 401. blog:write on any other project is refused at consent and grants nothing.
Validation.
coverImageUrl,coverImageDarkandogImageUrlmust be a Pullwish Blob upload (the strictisOwnBlobUrlcheck: https, the exact store host,blog-covers/, no query, port or encoded separators) or a site-relative header path/blog/headers/<name>-light.pngor-dark.png, where<name>is one of the shipped per-post headers or built-in variants (SLUG_HEADER_COVERSandBLOG_COVER_VARIANTSinlib/blog-covers.ts). A well-formed but unknown name is rejected. Other hosts, other Blob stores and lookalike hosts are rejected.xText(max 280),excerpt(max 500),metaTitle(max 120) andmetaDescription(max 300) are plain text.<and>are rejected, so no HTML is stored.- A slug with a built-in cover assignment keeps that cover unless a Blob upload or a per-post
/blog/headers/file is stored.
Audit. Every update writes an audit log entry (blog.update) on the platform project with the connection id (keyId) and the names of the changed fields. Values are never logged.
Key setup
Hosted MCP connections use OAuth, not a static API key. The "key" is the connection grant that Marius creates when he authorizes the client.
- In the MCP client, add
https://www.pullwish.com/api/mcpand start the connection. The browser opens the Pullwish consent page. - Sign in as the superadmin (Marius) in your own browser. Set the Pullwish project to Read only or Read & write, then tick Blog admin (blog:write). The checkbox is only shown to superadmins.
- Click Authorize. The grant appears under Settings → Connected apps.
Recommendations:
- Expiry: blog access does not expire by itself. It lasts until you revoke the grant under Settings → Connected apps, or until the person who authorized it is no longer a superadmin. Review the grant regularly and revoke it when it is no longer needed.
- Revocation: revoke any time under Settings → Connected apps → Revoke. Removing the person from superadmins also cuts blog access straight away.
- Delivery: the OAuth flow keeps the credentials inside the MCP client. If a bot ever needs a bearer token, put it only into the bot's environment through a masked secret field. Never paste it in chat, email, tickets or the repo.