---
canonical_url: "https://docs.composio.dev/toolkits/stytch_mcp"
markdown_url: "https://docs.composio.dev/toolkits/stytch_mcp.md"
product: "platform"
version: null
last_updated: null
---

# Stytch MCP

Stytch MCP lets authorized agents configure Stytch projects, redirect URLs, SDK settings, email templates, API keys, and other workspace-management resources.

- **Category:** model context protocol
- **Auth:** DCR_OAUTH
- **Composio-managed OAuth available?** No
- **Tools:** 21
- **Triggers:** 0
- **Slug:** `STYTCH_MCP`
- **Version:** 20260924_00

## Tools

### Createemailtemplate

**Slug:** `STYTCH_MCP_CREATE_EMAIL_TEMPLATE`

Creates an custom email template for the project. Either prebuiltCustomization or customHtmlCustomization is required. If Custom HTML is used, it must contain a {{magic_link_url}} placeholder for the magic link.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes |  |
| `project_id` | string | Yes |  |
| `template_id` | string | Yes |  |
| `senderInformation` | object | No |  |
| `prebuiltCustomization` | object | No |  |
| `customHtmlCustomization` | object | No |  |

### Createproject

**Slug:** `STYTCH_MCP_CREATE_PROJECT`

Create new Stytch Project

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `vertical` | string ("CONSUMER" | "B2B") | Yes |  |
| `project_name` | string | Yes |  |

### Createpublictoken

**Slug:** `STYTCH_MCP_CREATE_PUBLIC_TOKEN`

Creates a public token for a project

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `project_id` | string | Yes |  |

### Createredirecturl

**Slug:** `STYTCH_MCP_CREATE_REDIRECT_URL`

Create a redirect URL for your project

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes |  |
| `project_id` | string | Yes |  |
| `valid_types` | array | Yes |  |

### Createsecret

**Slug:** `STYTCH_MCP_CREATE_SECRET`

Create a new secret for a project

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `project_id` | string | Yes |  |

### Deleteemailtemplate

**Slug:** `STYTCH_MCP_DELETE_EMAIL_TEMPLATE`

Delete a specific email template for a project

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `project_id` | string | Yes |  |
| `template_id` | string | Yes |  |

### Deletepublictoken

**Slug:** `STYTCH_MCP_DELETE_PUBLIC_TOKEN`

Delete a specific public token for a project

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `project_id` | string | Yes |  |
| `public_token` | string | Yes |  |

### Deleteredirecturl

**Slug:** `STYTCH_MCP_DELETE_REDIRECT_URL`

Delete a redirect URL for a project

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes |  |
| `project_id` | string | Yes |  |

### Deletesecret

**Slug:** `STYTCH_MCP_DELETE_SECRET`

Delete a specific secret for a project

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `secret_id` | string | Yes |  |
| `project_id` | string | Yes |  |

### Getallemailtemplates

**Slug:** `STYTCH_MCP_GET_ALL_EMAIL_TEMPLATES`

Retrieve all email templates for a project

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `project_id` | string | Yes |  |

### Getallpublictokens

**Slug:** `STYTCH_MCP_GET_ALL_PUBLIC_TOKENS`

Retrieve all active public tokens for a project

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `project_id` | string | Yes |  |

### Getallredirecturls

**Slug:** `STYTCH_MCP_GET_ALL_REDIRECT_UR_LS`

Retrieve all redirect URLs for a project

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `project_id` | string | Yes |  |

### Getb2bsdkconfig

**Slug:** `STYTCH_MCP_GET_B2_BSDK_CONFIG`

Retrieves the SDK Configuration for a B2B project

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `project_id` | string | Yes |  |

### Getconsumersdkconfig

**Slug:** `STYTCH_MCP_GET_CONSUMER_SDK_CONFIG`

Retrieves the SDK Configuration for a Consumer project

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `project_id` | string | Yes |  |

### Getpasswordstrengthconfig

**Slug:** `STYTCH_MCP_GET_PASSWORD_STRENGTH_CONFIG`

Retrieve the password strength configuration for a project

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `project_id` | string | Yes |  |

### Listprojects

**Slug:** `STYTCH_MCP_LIST_PROJECTS`

List all Stytch Projects

### Setpasswordstrengthconfig

**Slug:** `STYTCH_MCP_SET_PASSWORD_STRENGTH_CONFIG`

Set the password strength configuration for a project

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `project_id` | string | Yes |  |
| `password_strength_config` | object | Yes |  |

### Updateb2bsdkconfig

**Slug:** `STYTCH_MCP_UPDATE_B2_BSDK_CONFIG`

Updates the SDK Configuration for a B2B project. This is a DANGEROUS method - when calling this method always call getB2BSDKConfig first to get the current config and then pass the entire config object to this method to avoid overwriting changes unintentionally.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `config` | object | Yes |  |
| `project_id` | string | Yes |  |

### Updateconsumersdkconfig

**Slug:** `STYTCH_MCP_UPDATE_CONSUMER_SDK_CONFIG`

Updates the SDK Configuration for a Consumer project. This is a DANGEROUS method - when calling this method always call getConsumerSDKConfig first to get the current config and then pass the entire config object to this method to avoid overwriting changes unintentionally.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `config` | object | Yes |  |
| `project_id` | string | Yes |  |

### Updateemailtemplate

**Slug:** `STYTCH_MCP_UPDATE_EMAIL_TEMPLATE`

Update an email template for a project. Either prebuiltCustomization or customHtmlCustomization is required. If Custom HTML is used, it must contain a {{magic_link_url}} placeholder for the magic link.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No |  |
| `project_id` | string | Yes |  |
| `template_id` | string | Yes |  |
| `senderInformation` | object | No |  |
| `prebuiltCustomization` | object | No |  |
| `customHtmlCustomization` | object | No |  |

### Updateredirecturl

**Slug:** `STYTCH_MCP_UPDATE_REDIRECT_URL`

Update valid types for a redirect URL for a project

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes |  |
| `project_id` | string | Yes |  |
| `valid_types` | array | Yes |  |
