App MCP – use the app from Claude
Every app built on Sovyn can offer its own app MCP: an MCP server at the address of the app through which its end users work with it from Claude or another AI agent. “Show me my open tickets” or “Report damage for flat 3” then becomes an entry in the app, exactly as if the person had created it in the frontend.
The address is always the address of the environment followed by /api/mcp:
| Environment | Address of the app MCP |
|---|---|
| Production | https://<app>.sovyn.site/api/mcp |
| Development | https://<app>--dev.sovyn.site/api/mcp |
| Custom domain | https://<your-domain>/api/mcp |
The app MCP is not the Sovyn MCP your team uses to build and run apps. It belongs to the app and is for the people who use it.
What the agent may do
Section titled “What the agent may do”- Never more than the person themselves. Every call runs as the signed-in end user, under the access rules of the app. What someone may not see or change in the app, their agent cannot either.
- Only what the manifest offers. You name the operations per collection
(
read,create,update,delete). Collections and operations missing there do not exist for the agent. - Only what the person allows. When connecting, they choose Read only or Read and write.
The agent gets these tools: describe (which collections and fields it may
use), find, create, update and delete, each only as far as the manifest
and the choice made when connecting allow.
An entry an agent creates or changes starts the same automations as one from the frontend, such as an email to the team.
Not available through the app MCP: uploading or reading files, sending arbitrary emails, asking the app’s LLM and calling functions. The app keeps using email and the LLM through its automations.
Set up
Section titled “Set up”-
Add the
mcpblock to the manifest. Insovyn.build.yaml, at the top level:mcp:collections:tickets: [read, create, update]comments: [read, create]Each operation at most once.
applyrejects a collection that does not exist and an operation the access rules allow to nobody. This needs the CLI from version 0.11.0. -
Apply and publish: first
npx @sovyn/build apply, thennpx @sovyn/build deploy(andpromotefor production). Withoutapply,deployrejects the changed manifest. -
Switch it on in the console. Open the app, tab Access, choose the environment at the top and switch on App MCP. Owners and admins can do this, for each environment separately.

-
Share the address. Below the switch is the address to copy. Your end users enter it in Claude as a connector.
In production, the app MCP comes with the Pro plan and above, like own sign-in. While it is on there, the app cannot move to a smaller plan; switch it off first.
Switching off signs out every connected agent of the environment. When
you switch it on again, everyone has to reconnect. If a later deploy removes
the mcp block from the manifest, the app MCP is off until it is back.
Every tool call counts as a request to the app’s data, and anyone who signs in through the app MCP counts as an active user.
For end users: connect
Section titled “For end users: connect”claude.ai and the Claude app
Section titled “claude.ai and the Claude app”-
Open Settings → Customize → Connectors, click Add and choose the custom connector.
-
Enter a name, for example the name of the app, and the address of the app MCP. Click Continue.

-
Set Authentication to Sign in now and OAuth client to Register automatically. Leave Request headers and Advanced empty.

-
Click Connect on the new connector.

In a Claude organization (Team, Enterprise), an owner adds the connector once under Admin settings → Connectors. After that, every member clicks Connect themselves and signs in with their own account. That way everyone works as themselves, with their own rights.
Claude Code
Section titled “Claude Code”claude mcp add --transport http <name> https://<app>.sovyn.site/api/mcpThen run /mcp in Claude Code, pick the entry and choose Authenticate.
Sign in and allow
Section titled “Sign in and allow”After Connect, the sign-in page of the app opens in your browser, with the same sign-in methods as usual: Sovyn login for your team, link or code from an email, company sign-in, Google, Microsoft or GitHub. If you are already signed in to the app, you go straight to the consent page.
It shows which agent wants to connect, where it returns to and which account you are signed in with. Choose Read only or Read and write and click Allow.

After that, ask Claude about your data, for example “Show me my notes”. It only sees what you may see in the app.

Use a different account signs you out of the app so you can choose again. With the Sovyn login, sign out of the Sovyn console first as well; otherwise it signs you straight back in with the same account.
Revoke access
Section titled “Revoke access”As an end user, remove or disconnect the connector in Claude. That deletes the sign-in there; the agent loses access within an hour at the latest.
It takes effect immediately in the console, tab Access:
- For each end user, Connected agents lists their agents with name and right (read only, read and write). Revoke locks the agent out on its next request. Owners and admins can do this.
- Agents of your team members are listed under App roles. Owners and admins revoke any of them, developers their own. Members with the role User ask an admin.
- If you disable an end user, each of their agents loses access at once as well.

To use the agent again afterwards, reconnect it.
If it does not work
Section titled “If it does not work”| Message | Meaning |
|---|---|
This app offers no MCP server here. |
The app MCP is off in this environment, or the manifest has no mcp block. Check the switch in the Access tab. |
The access token is missing, invalid or no longer valid for this app. |
The sign-in expired, was revoked or belongs to another app or environment. Reconnect the connector. |
| The agent does not see a collection | It is missing from the mcp block, or the access rules do not let the person read it. |
| The agent sees only its own entries although the person is an admin | The read rule does not name the role, for example only { owner: … }. Add role:admin to the rule, see App roles. |
| The agent cannot create anything | Read only was chosen when connecting, or create is missing from the mcp block. Reconnect to get write access. |