UserHero Docs
MCP Server

MCP Setup

Configure AI assistants to connect to UserHero

MCP Setup

Connect your AI assistant to UserHero in two steps: get an API key, then configure your client.

Step 1: Get Your API Key

  1. Go to UserHero Dashboard → Account Settings → API Keys
  2. Click "Create API Key"
  3. Select the scopes you need (see API Key Scopes below)
  4. Copy the secret key — it's only shown once!

Store your API key securely. Anyone with access can read and modify your feedback data based on the scopes granted.

Step 2: Configure Your Client

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "userhero": {
      "url": "https://mcp.userhero.co/sse",
      "headers": {
        "Authorization": "Bearer sk_live_your_key_here"
      }
    }
  }
}

VS Code (GitHub Copilot)

Add to user settings (~/.vscode/settings.json):

{
  "mcp": {
    "servers": {
      "userhero": {
        "url": "https://mcp.userhero.co/sse",
        "headers": {
          "Authorization": "Bearer sk_live_your_key_here"
        }
      }
    }
  }
}

Cursor

Add to Cursor MCP settings:

{
  "mcpServers": {
    "userhero": {
      "url": "https://mcp.userhero.co/sse",
      "headers": {
        "Authorization": "Bearer sk_live_your_key_here"
      }
    }
  }
}

Windsurf

Add to Windsurf MCP settings:

{
  "mcpServers": {
    "userhero": {
      "serverUrl": "https://mcp.userhero.co/sse",
      "headers": {
        "Authorization": "Bearer sk_live_your_key_here"
      }
    }
  }
}

API Key Scopes

Choose the minimum scopes needed for your use case:

ScopeDescription
workspaces:readList and view workspaces
projects:readList and view projects
projects:writeCreate, update, delete projects
widgets:readList and view widgets
widgets:writeCreate, update, delete widgets
feedback:readList and view feedback
feedback:writeUpdate feedback status, add notes
feedback:deleteDelete feedback items
integrations:readList integrations
integrations:writeCreate and delete integrations
automations:readList and view automations
automations:writeCreate, update, delete, and run automations

Even with all scopes enabled, you can only access resources in workspaces where you're a member. Your workspace role (owner/admin/member/viewer) determines what actions you can perform.

Verify Connection

After configuring, test the connection by asking your AI assistant:

"List my UserHero workspaces"

You should see a list of workspaces you have access to.

Troubleshooting

"Authentication failed"

  • Verify your API key is correct and hasn't been revoked
  • Check the key has the required scopes
  • Ensure the Authorization header format is Bearer sk_live_...

"Permission denied"

  • Your workspace role may not allow the requested action
  • Check RBAC permissions for your role

"Rate limit exceeded"

  • Wait a minute before retrying
  • The limit is 100 requests per minute per API key

On this page