---
title: "Stytch MCP server: manage auth projects and users from AI agents"
description: "Add the Stytch MCP server to an Aldena project with a Stytch token, and agents inspect auth projects, users and login settings while they build."
url: "https://aldena.ai/mcp-servers/stytch"
---

# Let agents set up and debug Stytch auth without the dashboard

Stytch MCP server. Add the Stytch MCP server to an Aldena project with a Stytch token, and agents inspect auth projects, users and login settings while they build.

- **Sign-in**: Token header
- **Installs as**: `stytch`
- **Transport**: Streamable HTTP
- **Last verified**: 2026-11-30

Stytch provides authentication and identity for apps, from magic links and passkeys to SSO for business customers, and each app has its own Stytch project with test and live environments. The Stytch MCP server gives an agent access to that workspace: listing projects, reading and changing login settings, managing keys and looking up users, with the token Aldena sends in a request header.

That matters because auth work rarely stops at the code. In an Aldena project, an agent adding a new sign-in page also has to allow its redirect URL, and an agent debugging a failed login needs to see what Stytch recorded for that user. With the server installed, it does both from the same run, in its conversation's sandbox, and opens the pull request through the [GitHub connector](https://aldena.ai/integrations/github) with the settings change described alongside the code.

Changes to a project start on ask in the project's [permissions](https://aldena.ai/features/human-in-the-loop), so a person approves anything that touches a live environment. For the database side of the same app, pair it with the [Supabase MCP server](https://aldena.ai/mcp-servers/supabase) or the [Neon MCP server](https://aldena.ai/mcp-servers/neon), and watch sign-in errors with the [Sentry MCP server](https://aldena.ai/mcp-servers/sentry).

## With Stytch, your agents can

- List Stytch projects and their test and live environments
- Read and update login settings such as redirect URLs
- Look up users while debugging a failed sign-in
- Manage the keys and settings a new environment needs

## Try asking

- “List our Stytch projects and tell me which redirect URLs are set for the test environment of the web app.”
- “Add the new preview domain as an allowed redirect URL in the Stytch test environment and show me the change first.”
- “A user says magic link sign-in fails. Look them up in Stytch and tell me what their account state shows.”

## Server

- **Server URL**: `https://mcp.stytch.dev/mcp`
- **Website**: [stytch.com](https://stytch.com)
- **MCP docs**: [Stytch MCP docs](https://stytch.com/docs/resources/workspace-management/stytch-mcp-server)

## How to connect Stytch

1. **Open Marketplace.** In a project, open Settings → Connectors → MCP servers and press Marketplace.
2. **Install Stytch.** Search for Stytch and press Install. Aldena adds it as `stytch`.
3. **Add your token header.** The install sends no Stytch credentials. Press Edit on the server, turn on Send an authentication header, and enter the Header name and Token the Stytch docs give: often `Authorization` and `Bearer <token>`.
4. **Let agents use it.** Agents find its tools with `mcp_search` and call them with `mcp_call`. Each tool gets its own row in the project's permissions.

## Related MCP servers

- [Supabase MCP server](https://aldena.ai/mcp-servers/supabase): Manage projects, tables, and SQL queries.
- [Tavily MCP server](https://aldena.ai/mcp-servers/tavily): Search the web and extract page content for research.
- [Telnyx MCP server](https://aldena.ai/mcp-servers/telnyx): Send messages and manage voice, numbers, and usage.
- [ThoughtSpot MCP server](https://aldena.ai/mcp-servers/thoughtspot): Ask questions of your data and read liveboards.
- [All MCP servers](https://aldena.ai/mcp-servers)

## FAQ

### Where does the Stytch token go in Aldena?

In a request header on the installed server. Press Edit, turn on Send an authentication header, and enter the Header name and token the Stytch docs give for the MCP server, usually Authorization with Bearer and the token. Each Aldena project keeps its own token.

### Can an agent change live Stytch settings?

Only after a person approves. Tools that change a project or its settings aren't read-only, so they start on ask in Aldena, and the approval shows what will change. Many teams let agents work freely in the test environment and keep live changes on ask.

### What does a Stytch agent do in an engineering project?

It handles the auth setup around the code it writes. When an agent adds a sign-in flow, it reads the project's login settings, adds the redirect URLs the new pages need in the test environment, and checks a failing user's state while it debugs.
