---
title: "Set Strata Auth"
method: POST
path: "/mcp-server/strata/set-auth"
tags: ["mcp-server"]
---

# Set Strata Auth

`POST /mcp-server/strata/set-auth`

Sets authentication data for a specific integration within a Strata MCP server.

Accepts either API key authentication or general authentication data.

## Request body

- StrataSetAuthRequest
  - `strataId` string, required — The strata server ID
  - `serverName` 'Affinity' | 'Airtable' | 'Asana' | 'Attio' | 'Box' | 'Brave Search' | 'Cal.com' | 'ClickUp' | 'Close' | 'Cloudflare' | 'Coinbase' | 'Confluence' | 'Dialpad' | 'Discord' | 'Doc2markdown' | 'DocuSign' | 'Dropbox' | 'ElevenLabs' | 'Exa' | 'Fathom' | 'Figma' | 'Fireflies' | 'Firecrawl Deep Research' | 'Firecrawl Web Search' | 'Freshdesk' | 'GitHub' | 'GitLab' | 'Gmail' | 'Gong' | 'Google Calendar' | 'Google Docs' | 'Google Drive' | 'Google Jobs' | 'Google Sheets' | 'Hacker News' | 'Heygen' | 'HubSpot' | 'Jira' | 'Klaviyo' | 'MCP Handle ReportGen' | 'Linear' | 'LinkedIn' | 'Markdown2doc' | 'Mem0' | 'Microsoft Teams' | 'Mixpanel' | 'Monday' | 'Moneybird' | 'Motion' | 'Notion' | 'OneDrive' | 'Openrouter' | 'Outlook' | 'PagerDuty' | 'Pipedrive' | 'Plai' | 'Postgres' | 'PostHog' | 'QuickBooks' | 'Resend' | 'Salesforce' | 'SendGrid' | 'Shopify' | 'Slack' | 'Stripe' | 'Supabase' | 'Tavily' | 'Vercel' | 'WhatsApp' | 'WordPress' | 'YouTube' | 'Zendesk' | 'ServiceNow', required
  - `authData` union, required — Authentication data
    - ApiKeyAuth
      - `token` string, nullable — The API key to save (token field)
      - `api_key` string, nullable — The API key to save (api_key field)
    - GeneralAuth
      - `data` object — Any other general authentication data to save

## Response `200`

Successful Response

- StatusResponse
  - `success` boolean, required
  - `message` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/weatherpal-ai/apis/mcp-handle-https-www-mcp-handle-dev.md) · [All operations](https://skmtc.net/weatherpal-ai/apis/mcp-handle-https-www-mcp-handle-dev/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/weatherpal-ai/mcp-handle-https-www-mcp-handle-dev/versions/58fc8af3b578/schema)
