FerriteDocs

Internal company apps in Claude

Deploy private internal tools on Ferrite and connect your entire Claude Team or Enterprise organization once through Ferrite Apps with Auto-connect.

Companies that build internal tools with Claude run into two operational problems quickly: every new tool asks IT to register another OAuth client and permission model, and connecting twenty separate MCP servers floods Claude’s context window with hundreds of tool schemas.

Ferrite Apps (https://mcp.ferrite.cloud/apps) solves both. You deploy any number of private Rust applications in one Ferrite workspace, assign team members to app-access groups, and connect your Claude Team or Enterprise organization once. Every permitted employee gets instant, zero-login access to the apps allowed for their group through a constant six-tool App Hub surface, while deployment and billing controls remain isolated on the separate builder endpoint (https://mcp.ferrite.cloud/mcp).

Two connectors, two security boundaries

Keep builders and everyday company users on separate connectors:

ConnectorEndpointWho uses itWhat it can do
Ferritehttps://mcp.ferrite.cloud/mcpEngineers building and deploying appsCheck code, deploy releases, view logs, manage previews and secrets
Ferrite Appshttps://mcp.ferrite.cloud/appsEmployees using internal appsDiscover allowed apps, inspect schemas, call read tools, run Code Mode workflows, request owner-approved writes

Employee tokens issued for https://mcp.ferrite.cloud/apps carry the fmca Hub prefix, occupy zero Core account bearer slots, and are refused by /mcp and the Dashboard admin API.

1. Deploy private apps and organize groups

Create a private application (webapp, Alloy, or Rsx templates are private by default) and deploy it into your company workspace:

ferrite new webapp expense-review --private
cd expense-review
ferrite deploy

In the Ferrite Dashboard, open Settings > Groups to define app-access groups (for example engineering, finance, or support) and invite team members by work email. Then open each app’s Settings > Managed sign-in access and choose its visibility:

  • Owner only (owner_only): visible only to the workspace owner; never exposed to non-owner employees.
  • Groups (groups): visible only to members of the selected app-access groups.
  • Account members (account_members): visible to any member in the workspace directory.

When an employee connects through Ferrite Apps, the App Hub filters apps_list, search, describe, call, and execute against the current live deployment generation and group policy on every request.

2. Connect your Claude organization once (Auto-connect)

On a Claude Team or Enterprise plan, choose either Claude as the trusted issuer (zero external IdP setup) or your existing Okta tenant.

Option A: Claude as the trusted issuer (Express Admin Setup)

This path works for Google Workspace, Microsoft Entra ID, and email-based Claude organizations with no Okta or external SSO configuration required.

  1. In Claude Admin (Organization settings > Connectors), select Ferrite Apps (https://mcp.ferrite.cloud/apps) and enable Auto-connect with Claude.
  2. Claude starts an authorization request with the single scope ema_issuer:manage using Claude’s published Client ID Metadata Document and redirects you to Ferrite’s connect page.
  3. Sign in as your Ferrite workspace owner (trial accounts cannot register an organization issuer) and approve the link.
  4. Claude receives a short-lived (5-minute), single-use setup token (fmcs...) and calls PUT https://mcp.ferrite.cloud/ema/trusted-issuer with your organization’s unique Claude issuer URL (https://identity.anthropic.com/issuers/<org-id>).
  5. Ferrite binds that issuer exclusively to your workspace (another workspace attempting to claim the same issuer receives 409 issuer_in_use) and returns your workspace’s tenant identifier (aud_tenant, prefixed ftn_...).

From that moment on, every permitted employee in your Claude organization connects automatically when they ask Claude to use an internal app.

Option B: External IdP (Okta Cross-App Access)

If your company governs SaaS access through Okta XAA, register your Okta issuer URL in the workspace Enterprise Auth settings:

curl --noproxy '*' -X PUT \
  -H "Cookie: <dashboard-session>" \
  -H "X-CSRF-Token: <csrf>" \
  -H "Content-Type: application/json" \
  -d '{
    "enabled": true,
    "issuers": ["https://acme.okta.com/oauth2/default"],
    "scopes": ["apps", "apps:read", "apps:write"],
    "lifetimeS": 3600
  }' \
  https://dashboard.ferrite.cloud/api/v1/accounts/<account>/enterprise-auth

Copy the returned audTenant (ftn_...) into your Okta XAA / Claude connector configuration so assertions are pinned to your workspace. When an invited member connects from Okta, Ferrite links their (iss, sub) identity to their workspace membership so subsequent Okta assertions that omit the email claim still resolve cleanly without creating duplicate users.

3. Optional: Domain-verified JIT provisioning

For Claude-issued Auto-connect, you can avoid pre-inviting every employee individually by verifying your corporate email domain via DNS TXT and assigning newly seen employees to default app-access groups:

  1. Register your corporate domain (consumer free-mail domains such as gmail.com, outlook.com, icloud.com, or proton.me are refused):
curl --noproxy '*' -X POST \
  -H "Cookie: <dashboard-session>" \
  -H "X-CSRF-Token: <csrf>" \
  -H "Content-Type: application/json" \
  -d '{"domain": "acme.example"}' \
  https://dashboard.ferrite.cloud/api/v1/accounts/<account>/enterprise-auth/domains
  1. Publish the returned txtValue (ferrite-verify=<token>) as a DNS TXT record at _ferrite-verify.acme.example.
  2. Trigger live DNS verification:
curl --noproxy '*' -X POST \
  -H "Cookie: <dashboard-session>" \
  -H "X-CSRF-Token: <csrf>" \
  https://dashboard.ferrite.cloud/api/v1/accounts/<account>/enterprise-auth/domains/acme.example/verify
  1. Enable JIT provisioning with default groups in your Enterprise Auth settings ("jitEnabled": true, "jitDefaultGroups": ["employees"]).

Security boundary: JIT provisioning runs only for verified Claude organization issuers whose assertion carries a verified email on a DNS-verified domain owned by that workspace. External IdP assertions never auto-provision unknown users, and deleting a verified domain (DELETE .../domains/acme.example) immediately stops new JIT provisioning on that domain.

4. What employees experience across Claude

Once Auto-connect is enabled, employees never see a Ferrite login screen:

  • Six-tool Code Mode surface. Whether your workspace has 3 internal apps or 50, Claude sees only six compact tools (apps_list, search, describe, call, execute, resume), keeping the context window lean and allowing Claude to combine reads across multiple apps in one isolated QuickJS execute script.
  • Browser identity continuity. When a pre-invited employee connects from Claude, Ferrite preserves their canonical browser provider_sub alongside their EMA identity so app-level records stay unified across browser visits and Claude sessions.
  • Human-approved writes and governed outbound calls. Sensitive writes can require explicit approval in the Dashboard bound to the exact deployment generation, tool name, and arguments, and outbound third-party connectors stay scoped to declared hosts.
  • All Claude surfaces. Auto-connect works across claude.ai, Claude desktop, Claude mobile, Cowork, and Claude Code synced from your organization. In Claude Code, avoid adding a local .mcp.json or claude mcp add entry that duplicates Ferrite Apps, because a local definition shadows the synced organization connector and disables Auto-connect.

5. Revocation and offboarding

  • Single employee offboarding: Remove the person from your Claude organization (or Okta) and remove them from Ferrite Dashboard groups. Short-lived Hub tokens (<= 3600s, no refresh_token) expire automatically, and group policy changes take effect on the very next App Hub dispatch.
  • Issuer or organization kill switch: Set "enabled": false or remove an issuer via PUT /api/v1/accounts/<account>/enterprise-auth. Ferrite re-checks active issuer trust on every /apps call, so existing fmca tokens issued under that trust fail immediately with 401 Unauthorized.

Next steps

Ferrite counts page views on this site. Privacy · Terms · Support