Skip to content

MCP Server Setup

This guide walks you through setting up the Tailwind MCP Server with your AI assistant.

Prerequisites

  • A Tailwind account with API access
  • Your Tailwind API key
  • Claude Desktop, Claude Code, Cursor, or another MCP-compatible client

Installation

Claude Desktop connects to MCP servers over stdio. Use mcp-remote to bridge to the Tailwind remote server.

  1. Locate your Claude Desktop config file

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Edit the configuration

    Open the file and add the Tailwind MCP server:

    {
    "mcpServers": {
    "tailwind": {
    "command": "npx",
    "args": [
    "-y",
    "mcp-remote",
    "https://mcp.tailwind.ai",
    "--header",
    "Authorization: Bearer your_api_key_here"
    ]
    }
    }
    }
  3. Restart Claude Desktop

    Quit and reopen Claude Desktop to load the new configuration.

  4. Verify the connection

    Ask Claude: “What Pinterest accounts do I have connected to Tailwind?”

    If configured correctly, Claude will list your accounts.

Troubleshooting

Connection errors

  1. Ensure your API key is correct and starts with tw_pk_
  2. Check that the URL is exactly https://mcp.tailwind.ai
  3. Restart your AI assistant application
  4. For Claude Desktop: verify Node.js is installed (node --version) since mcp-remote requires it

”Unauthorized” errors

  1. Verify your API key is valid in Tailwind settings
  2. Check the key hasn’t been revoked
  3. Ensure the key is correctly copied without extra spaces
  4. Confirm the Authorization header uses the Bearer prefix

Server connects but no tools appear

  1. Wait a few seconds - the server needs to initialize
  2. Try asking about your accounts to trigger the connection
  3. Check your client’s MCP server logs for errors

Viewing Server Logs

Logs are available at:

  • macOS: ~/Library/Logs/Claude/mcp-*.log
  • Windows: %APPDATA%\Claude\logs\mcp-*.log

Verifying Your Setup

Once configured, try these commands to verify everything works:

  1. Check accounts: “List my Pinterest accounts”
  2. View boards: “What boards do I have on [account name]?”
  3. See scheduled posts: “Show me my queued posts”
  4. Create a test draft: “Create a draft pin with the image https://example.com/test.jpg

Security Best Practices

  1. Keep keys private - Never share or commit API keys to version control
  2. Rotate keys periodically - Generate new keys every few months
  3. Use separate keys - Create dedicated keys for the MCP server
  4. Monitor usage - Check your API usage in Tailwind settings

Next Steps