> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP server

> The hosted user-flow-library MCP server — connection, OAuth, and tool surface.

The hosted MCP server speaks standard MCP over Streamable HTTP with OAuth:

```
https://mcp.userflowlibrary.com/mcp
```

## Connect

> [tab] Claude Code
>
> ```bash theme={null}
> claude mcp add --scope user --transport http user-flow-library https://mcp.userflowlibrary.com/mcp
> ```
>
> Then `/mcp` → select `user-flow-library` → Authenticate.
>
> `--scope user` makes this connection available from every repository.
> Without it, Claude Code defaults to a local connection for the current
> project. Existing project-specific settings can override user settings;
> inspect them before replacing a connection.

> [tab] Cursor / other clients
>
> ```json theme={null}
> { "mcpServers": { "user-flow-library": { "url": "https://mcp.userflowlibrary.com/mcp" } } }
> ```
>
> Add this to the client's user-level configuration for access across
> repositories. The client opens a browser on first connect — sign in and approve.

Use the real account and intended workspace that will own the projects and
billing allowance. Identity verification may require user input. Installing
the skill does not sign in or grant account access.

Once authorized, ask the agent to call `get_account_usage` before rendering.
Confirm the returned account/workspace scope and remaining allowance.

## What you get

* Project/flow/screen CRUD scoped to your account and org
* `ingest_repo_screens` — render repo routes into screens
* `reorganize_screens` — regroup screens into named journeys
* `get_project_share_link` — mint a public share URL
* Screenshot analysis, mermaid diagrams, hotspots, comments

Tokens are `ufl_mcp_` Bearer tokens with 30-day validity, scoped to the
approving account/workspace. Re-authenticate when the token expires.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.