Connecting Claude

Connect Claude to your Lineout account so it can draw, change and explain your diagrams. There are no API keys: you approve the connection once in your browser.

Where you use ClaudeWhat you addSteps
Claude Code, in a terminal, VS Code or the desktop app's local sessionsThe Lineout plugin: the MCP server and the diagrams skillClaude Code
claude.ai, the Claude desktop and mobile apps, and CoworkA custom connectorClaude on the web and desktop

Either way, Claude acts as you: it sees and changes only what you can. You need a Lineout account, and signing in while you connect creates one.

Claude Code#

1. Install the plugin#

In your terminal:

claude plugin marketplace add lineout-app/plugins
claude plugin install lineout@lineout

This installs the plugin lineout from the marketplace lineout, for you, in every project. Start Claude Code, or run /reload-plugins in a session that's already running.

Or, from inside Claude Code:

/plugin marketplace add lineout-app/plugins
/plugin install lineout@lineout

Then choose Install for you (user scope).

2. Connect your account#

  1. Run /mcp, select plugin:lineout:lineout and choose Authenticate.
  2. Your browser opens Lineout's consent page. Check the account and click Allow.

The server shows as connected. Claude Code renews the connection by itself, so you only authenticate again after disconnecting it in Lineout or after 90 days without use.

3. Check that it works#

  1. Run /mcp: plugin:lineout:lineout is connected, with its tools.
  2. Ask "List my Lineout teams and diagrams."
  3. Ask "Draw a Lineout diagram of an API Gateway that invokes a Lambda function, which writes to a DynamoDB table. Put it in my Examples project." Open the link Claude replies with.

4. Optional: install the CLI#

With the lineout CLI, Claude renders the pages it draws to check their layout, and saves images for you. See Installing the CLI.

uv tool install "lineout-cli[jpg]"

The package is lineout-cli. The PyPI package named lineout is unrelated to Lineout.

Remove a server you added by hand#

If you added Lineout's server with claude mcp add before installing the plugin, remove that copy. Otherwise Lineout's tools can show up twice, or Claude Code uses your copy and Lineout can't tell you when the plugin is out of date.

claude mcp list
claude mcp remove lineout

Add --scope user, or the scope it's in, when the name exists in more than one. Then disconnect the older connection under Settings → Connected apps in Lineout.

Claude on the web and desktop#

A connector you add on claude.ai also works in the Claude desktop app, in Cowork and in the mobile apps. Lineout's server address:

https://dashboard.lineout.app/api/mcp
  1. Open Customize → Connectors, click Add and choose a custom connector.
  2. Enter Lineout as the name and the address above as the URL, and click Continue.
  3. Under Authentication, choose Sign in now. Under OAuth client, keep Use Claude's published identity.
  4. Click Add, check the account on Lineout's consent page and click Allow.

Keep Use Claude's published identity. Register automatically can run into Lineout's registration limits, and Use your own OAuth client doesn't work, because Lineout doesn't hand out client IDs or secrets.

Every Claude plan can add custom connectors, and the Free plan allows one. If you chose to sign in later, click Connect next to Lineout under Customize → Connectors.

To check it, turn Lineout on for a chat under + → Connectors and ask "List my Lineout teams and diagrams." Claude reads without asking and asks before it changes anything. Adjust that per tool under Customize → Connectors → Lineout → Permissions.

Team and Enterprise plans#

An owner adds Lineout once for the organization under Organization settings → Connectors, with the same settings. On Enterprise, people whose role includes Manage access to Libraries can add it too. Each member then clicks Connect under Customize → Connectors and allows it with their own Lineout account.

The connector has all of Lineout's tools. The Claude Code plugin also adds the diagrams skill, with Lineout's layout rules, and renders pages with the lineout CLI so Claude can check its layouts.

Both setups end on Lineout's consent page in your browser. If you aren't signed in, Lineout asks you to sign in first. The page shows:

  • Connect and the app's name.
  • "It wants to use Lineout as" and the account Claude will act as.
  • What it can do: see your teams, projects, members and diagrams; rename teams; create, edit, move and delete projects and diagrams; and create and revoke share links.
  • "You'll return to" and the address that gets your answer. For Claude Code it's http://localhost with a port: Claude Code, waiting on your computer.

Wrong account? Click Deny, sign out of Lineout in that browser and connect again. If the browser can't open the localhost address after you answer, for example because Claude Code runs on another computer, copy the full address from the address bar into Claude Code's prompt.

If the page says Can't connect this app, see Troubleshooting.

Other AI assistants#

Any MCP client connects the same way: add a remote MCP server at https://dashboard.lineout.app/api/mcp with the Streamable HTTP transport, and allow it on the consent page. See Connecting MCP clients.

Disconnect#

Removing Lineout from Claude doesn't revoke its access in Lineout. To revoke it, click Disconnect next to the connection under Settings → Connected apps, which takes effect at once. See Connected apps.

To uninstall the plugin from Claude Code, run the commands below. The second one is only needed if you don't use other plugins from the marketplace.

claude plugin uninstall lineout@lineout
claude plugin marketplace remove lineout

In the Claude apps, remove Lineout under Customize → Connectors.

Next, see Working with Claude for requests that work well.