Connect Stytch to your agents
A trial starts first, then a project installs Stytch from its marketplace.
Stytch MCP server
Let agents set up and debug Stytch auth without the dashboard
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
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 with the settings change described alongside the code.
Changes to a project start on ask in the project's permissions, 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 or the Neon MCP server, and watch sign-in errors with the Sentry MCP server.
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
Things to ask an agent in a project chat once it's installed.
“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
- MCP docs
- Stytch MCP docs
How to connect Stytch
- Open Marketplace
In a project, open Settings → Connectors → MCP servers and press Marketplace.
- Install Stytch
Search for Stytch and press Install. Aldena adds it as
stytch. - 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
AuthorizationandBearer <token>. - Let agents use it
Agents find its tools with
mcp_searchand call them withmcp_call. Each tool gets its own row in the project's permissions.
Related 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.
Ready when you are
Spin up your first project.
One project per client, product, or piece of work, staffed with intake, requirements, build and code review agents.