AI Agents (MCP)
Give Claude Code, Codex, Cursor and other AI agents read access to your projects, feature requests, comments and roadmap through the FeaturePortal Model Context Protocol server. Ask “What should I build next?” and your agent answers from real user feedback.
Setup
1. Add the server
The server URL is https://featureportal.com/api/mcp. There's no key to create: agents sign in with OAuth, like they do for Vercel or Stripe.
Claude Code
claude mcp add --transport http -s user featureportal https://featureportal.com/api/mcp
-s user makes the server available in all your projects.
Codex
codex mcp add featureportal --url https://featureportal.com/api/mcp
Cursor, VS Code and other clients
{
"mcpServers": {
"featureportal": {
"url": "https://featureportal.com/api/mcp"
}
}
}2. Approve it in your browser
The first time the agent connects, it opens FeaturePortal in your browser. Sign in if you aren't already, choose Continue, then Allow. The agent stays connected until you disconnect it under Dashboard → AI Agents.
- Claude Code: start Claude Code, run
/mcp, select featureportal and choose Authenticate. - Codex:
codex mcp addopens your browser right away. To sign in again later, runcodex mcp login featureportal.
Agents without OAuth: use an API token
For scripts and for clients that can't sign in with OAuth, create a token under Dashboard → AI Agents. It starts with fp_pat_, is shown only once, and goes in the Authorization header. It is different from a project's API key, which works with the iOS and macOS SDK and web widget.
Codex (~/.codex/config.toml)
# export FEATUREPORTAL_TOKEN="fp_pat_YOUR_TOKEN" [mcp_servers.featureportal] url = "https://featureportal.com/api/mcp" bearer_token_env_var = "FEATUREPORTAL_TOKEN"
Claude Code, with a header
claude mcp add --transport http -s user featureportal https://featureportal.com/api/mcp \ --header "Authorization: Bearer fp_pat_YOUR_TOKEN"
3. Ask away
- “What are the top 10 requests for my iOS app?”
- “Summarize everything users said about sync this month.”
- “What's on my roadmap, and which Up Next item has the most votes?”
- “Read the comments on the dark mode request and draft an implementation plan.”
Tools
All tools are read-only. Statuses are pending, approved (shown as Up Next), in_progress, completed and rejected.
| Tool | What it returns | Parameters |
|---|---|---|
| list_projects | Your projects with feedback counts by status, tags, and roadmap links. | None |
| list_feedback | Browse or search feature requests in one project or across all of them. | projectId, status, tag, query, createdAfter, sort, limit, offset |
| get_feedback | One request in full, with all comments and its status history. | feedbackId |
| get_roadmap | Up Next, In Progress and Completed items for a project. | projectId |
| get_project_stats | Totals, status breakdown, top voted and most discussed requests, tag usage. | projectId, since |
Security
- Access is read-only and limited to projects you own, whether an agent signs in with OAuth or a token.
- With OAuth you approve each agent yourself, and it never sees your password. Disconnect it under AI Agents and it loses access on its next request.
- OAuth sign-in only sends the approval back to an app on your own computer, or to the published callback of a hosted agent: Claude, ChatGPT or Cursor.
- FeaturePortal stores a hash of each API token, never the token itself, so a lost token can't be recovered. Revoke it and create a new one.
- Each agent can make 60 requests per minute. Agents receive the submitter email you collected for a request, but never the email addresses of commenters.