Dark
Get help in the API Community

Setup Claude Code with Wrike MCP

← Back to Wrike MCP server

This guide covers setup for Claude Code — Anthropic's CLI tool for developers. Claude Code supports native OAuth for MCP servers, so no third-party tools like mcp-remote are required.

Prerequisites

  • Claude Code installed on your machine
  • A Wrike app with OAuth credentials (see Authentication setup, Step 1)
  • The redirect URL http://localhost:8080/callback added to your Wrike app

Step 1: Add the Wrike MCP server

Run the following command in your terminal:

claude mcp add --transport http \
  --client-id YOUR_CLIENT_ID \
  --client-secret \
  --callback-port 8080 \
  wrike https://mcp.wrike.com/app/mcp/stream

Replace YOUR_CLIENT_ID with the OAuth Client ID from your Wrike app.

After you press Enter, Claude Code will prompt you to enter your OAuth Client Secret. The secret will be hidden as you type and stored securely in your system keychain.

Step 2: Authorize with Wrike

  1. Start a Claude Code session by running claude in your terminal
  2. Run the /mcp command inside the session to view the connection status
  3. Claude Code will open your browser for OAuth authorization
  4. Log in with your Wrike credentials and approve the connection
  5. The browser will close automatically after authorization completes

Step 3: Verify the connection

In your Claude Code session, try a simple prompt to confirm the connection is working:

What Wrike tasks were assigned to me this week?

If the connection is successful, Claude Code will use the Wrike MCP tools to retrieve and display your recent tasks.

Configuration details

The MCP server configuration is stored in one of these locations:

  • User-level: ~/.claude.json — applies to all your Claude Code sessions
  • Project-level: .mcp.json — applies only to the current project directory

These files contain only non-sensitive configuration metadata. OAuth credentials are stored securely in your system keychain.

Alternative: Permanent Access Token

If you prefer to use a Permanent Access Token instead of OAuth, add the following to your ~/.claude.json or project-level .mcp.json:

{
  "mcpServers": {
    "wrike": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://mcp.wrike.com/app/mcp/stream",
        "--header",
        "Authorization:Bearer YOUR_ACCESS_TOKEN"
      ]
    }
  }
}

Replace YOUR_ACCESS_TOKEN with your Wrike Permanent Access Token. See Alternative Authentication Setup for how to generate one.