Productboard MCP Server
by Oschlo
README.md
# Productboard MCP Server
An MCP (Model Context Protocol) server that provides tools for interacting with the Productboard API. Supports both V1 and V2 API endpoints with comprehensive CRUD operations.
## Resources (Context for AI)
The MCP server exposes resources that provide context without requiring tool calls:
### Guide Resources (Static)
| Resource | Description |
|----------|-------------|
| `productboard://guide/overview` | Understanding Productboard concepts and workflows |
| `productboard://guide/hierarchy` | How Products, Components, and Features relate |
| `productboard://guide/okrs` | How Objectives, Key Results, and Initiatives work |
| `productboard://guide/feedback` | How Notes and customer feedback flow into features |
### Data Resources (Live)
| Resource | Description |
|----------|-------------|
| `productboard://data/feature-statuses` | Available feature statuses in workspace |
| `productboard://data/products` | All products in workspace |
| `productboard://data/components` | All components in workspace |
| `productboard://data/initiatives` | Active initiatives in workspace |
| `productboard://data/objectives` | All objectives in workspace |
| `productboard://data/releases` | All releases in workspace |
## Features
### Product Hierarchy
- **Products**: List and get products
- **Components**: Full CRUD - create components under products
- **Features**: Full CRUD - create features under products/components, manage status and timeframes
- **Feature-Release Assignment**: Assign features to releases for roadmap planning
### Strategic Planning (OKRs)
- **Objectives**: Full CRUD with owner and timeframe management
- **Key Results**: Full CRUD with target/current value tracking
- **Objective Links**: Connect objectives to features and initiatives
- **Initiative Links**: Connect initiatives to features and objectives
### Initiatives & Releases
- **Initiatives**: List and get with filtering (archived, owner, status)
- **Releases**: List and get releases
- **Release Groups**: Organize releases into groups
### Custom Fields
- **Field Definitions**: List custom field definitions by type (text, number, dropdown, member, date, multi-select)
- **Field Values**: Get, set, and delete custom field values on hierarchy entities
### Feedback & Notes
- **Notes (V1)**: Full CRUD operations for feedback notes
- **Note Tags**: Add/remove tags on notes
- **Note Links**: Link notes to features/products/components
- **Notes (V2)**: Create notes with type support (simple, conversation, opportunity)
### Webhooks
- **Subscriptions**: Create, list, and delete webhook subscriptions
- **Events**: feature.created, feature.updated, release events, custom field updates
### Users & Companies
- **Users**: List and get users
- **Companies**: List, get, and create companies
### V2 API
- **Entities**: List, create, and update entities with cleaner structure
- **Configuration**: Get field schemas for entity and note types
## Installation
### From Source
```bash
git clone https://github.com/oschlo/productboard-mcp.git
cd productboard-mcp
npm install
npm run build
```
### Using npx (coming soon)
```bash
npx @oschlo/productboard-mcp
```
## Setup
### 1. Get your API Token
Get your API token from Productboard:
**Settings > Integrations > Public API > Access Token**
### 2. Set your API Token
The server supports both environment variable names:
- `PRODUCTBOARD_JWT_TOKEN` (recommended)
- `PRODUCTBOARD_API_TOKEN` (alternative)
Add to your shell config (`~/.zshrc` or `~/.bashrc`):
```bash
export PRODUCTBOARD_JWT_TOKEN="your-jwt-token-here"
```
### 3. Configure your MCP Client
Add the server to your MCP client configuration. For Claude Desktop, edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
```json
{
"mcpServers": {
"productboard": {
"command": "node",
"args": ["/path/to/productboard-mcp/dist/index.js"],
"env": {
"PRODUCTBOARD_JWT_TOKEN": "your-jwt-token-here"
}
}
}
}
```
Or if the token is already in your environment:
```json
{
"mcpServers": {
"productboard": {
"command": "node",
"args": ["/path/to/productboard-mcp/dist/index.js"]
}
}
}
```
### 4. Restart your MCP Client
After configuring, restart your MCP client to load the new server.
## Available Tools (65 total)
### Products & Features
| Tool | Description |
|------|-------------|
| `list_products` | List all products with pagination |
| `get_product` | Get a specific product by ID |
| `list_features` | List features with optional status filter |
| `get_feature` | Get a specific feature by ID |
| `create_feature` | Create a feature under a product or component |
| `update_feature` | Update feature name, description, status, owner, timeframe |
| `delete_feature` | Delete a feature |
| `list_feature_statuses` | List available feature statuses |
| `assign_feature_to_release` | Assign a feature to a release |
| `unassign_feature_from_release` | Remove a feature from a release |
| `get_feature_releases` | Get all releases assigned to a feature |
### Components
| Tool | Description |
|------|-------------|
| `list_components` | List all components |
| `get_component` | Get a specific component by ID |
| `create_component` | Create a component under a product |
| `update_component` | Update component name, description, owner |
| `delete_component` | Delete a component |
### Initiatives
| Tool | Description |
|------|-------------|
| `list_initiatives` | List initiatives with filters (archived, owner, status) |
| `get_initiative` | Get a specific initiative by ID |
| `link_initiative_to_feature` | Link an initiative to a feature |
| `unlink_initiative_from_feature` | Remove initiative-feature link |
| `get_initiative_features` | Get all features linked to an initiative |
| `link_initiative_to_objective` | Link an initiative to an objective |
| `get_initiative_objectives` | Get all objectives linked to an initiative |
### Objectives (OKRs)
| Tool | Description |
|------|-------------|
| `list_objectives` | List all objectives with pagination |
| `get_objective` | Get a specific objective by ID |
| `create_objective` | Create a new objective with owner and timeframe |
| `update_objective` | Update objective name, description, owner, timeframe |
| `delete_objective` | Delete an objective |
| `link_objective_to_feature` | Link an objective to a feature |
| `unlink_objective_from_feature` | Remove objective-feature link |
| `link_objective_to_initiative` | Link an objective to an initiative |
| `get_objective_features` | Get all features linked to an objective |
| `get_objective_initiatives` | Get all initiatives linked to an objective |
### Key Results
| Tool | Description |
|------|-------------|
| `list_key_results` | List key results with optional objective filter |
| `get_key_result` | Get a specific key result by ID |
| `create_key_result` | Create a key result with target/current values |
| `update_key_result` | Update key result progress and details |
| `delete_key_result` | Delete a key result |
### Releases
| Tool | Description |
|------|-------------|
| `list_releases` | List all releases |
| `get_release` | Get a specific release by ID |
| `list_release_groups` | List all release groups |
| `get_release_group` | Get a specific release group by ID |
### Users & Companies
| Tool | Description |
|------|-------------|
| `list_users` | List all users |
| `get_user` | Get a specific user by ID |
| `list_companies` | List all companies |
| `get_company` | Get a specific company by ID |
| `create_company` | Create a new company |
### Notes (Feedback)
| Tool | Description |
|------|-------------|
| `list_notes` | List notes with filters (date, search, feature, company) |
| `get_note` | Get a specific note by ID |
| `create_note` | Create a feedback note (title, content, email, tags, etc.) |
| `update_note` | Update an existing note |
| `delete_note` | Delete a note |
| `add_note_tag` | Add a tag to a note |
| `remove_note_tag` | Remove a tag from a note |
| `link_note_to_entity` | Link a note to a feature/product/component |
| `get_note_links` | Get entities linked to a note |
### Custom Fields
| Tool | Description |
|------|-------------|
| `list_custom_field_definitions` | List custom field definitions by type |
| `get_custom_field_values` | Get custom field values for an entity |
| `set_custom_field_value` | Set a custom field value on an entity |
| `delete_custom_field_value` | Remove a custom field value |
### Webhooks
| Tool | Description |
|------|-------------|
| `list_webhooks` | List all webhook subscriptions |
| `create_webhook` | Subscribe to feature/release events |
| `delete_webhook` | Delete a webhook subscription |
### V2 API Tools
| Tool | Description |
|------|-------------|
| `list_entities_v2` | List entities by type with optional filter |
| `get_entity_configuration` | Get field schema for entity type |
| `create_entity_v2` | Create an entity (initiative, feature, objective) |
| `update_entity_v2` | Update an entity's fields |
| `list_notes_v2` | List notes using V2 API |
| `create_note_v2` | Create note (simple, conversation, opportunity) |
| `get_notes_configuration` | Get field schema for note type |
## Development
```bash
# Install dependencies
npm install
# Build
npm run build
# Watch mode
npm run dev
```
## API Reference
This MCP server is built based on:
- [Productboard API Documentation](https://developer.productboard.com/)
- V1 API endpoints use `X-Version: 1` header
- V2 API endpoints use `/v2/` path prefix
## Troubleshooting
**"PRODUCTBOARD_JWT_TOKEN or PRODUCTBOARD_API_TOKEN environment variable is required"**
- Set one of these environment variables with your API token
**API errors (401, 403)**
- Verify your API token is valid
- Check that your Productboard plan includes API access
- Ensure the token has the required scopes
**Rate limiting (429)**
- The API has rate limits; wait and retry
- Consider adding pagination limits to reduce request volume
**Server not appearing in your MCP client**
- Verify the path in your config is correct
- Run `npm run build` after any code changes
- Restart your MCP client after config changes
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## License
MIT License - see [LICENSE](LICENSE) for details.
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo recent community issues