MCP guide

How to connect Claude Code to LinkDrop

One command in a terminal, then sign in from Claude Code. Nothing to paste.

Last updated: October 13, 2026

How Claude Code connects

Claude Code reaches LinkDrop's hosted MCP server over HTTP, so there is nothing to install. One claude mcp add command registers the server, and Claude Code's /mcp menu starts the sign-in. After that Claude Code keeps its own credential and refreshes it by itself.

The command uses --scope user, so LinkDrop is available in every folder you start Claude Code in, not only the one you ran the command from. What your agent does is attributed to Claude Code in your activity feed, for example "Claude Code created a link".

See it end to end: How to send a PDF from Claude Code, a recorded session from the first command to the first reader.

Before you start

  • A LinkDrop account. Connecting an agent works on every plan, Free included.
  • Claude Code installed, and a terminal.
  • A browser on the same machine for the sign-in, or a key for a machine without one.
  1. Add LinkDrop to Claude Code

    Run this in a terminal. No key and no header: Claude Code asks you to sign in. --scope user is in the command deliberately: Claude Code's own default is --scope local, which registers the server against the one directory you run the command in, so a session started anywhere else never lists it under /mcp and nothing says why. The third scope, --scope project, is a real choice: use it instead to check the server into one repo for a whole team.

    claude mcp add --transport http --scope user LinkDrop https://mcp.lnkdrp.com/mcp

    LinkDrop is just the name Claude Code lists this connection under. Change it to whatever you like, and use the same name in every step that mentions it.

  2. Sign in

    Start Claude Code, run /mcp, pick LinkDrop and choose Authenticate. LinkDrop opens in your browser: sign in if you are not already, pick the workspace this agent should work in, and click Allow. Claude Code keeps its own credential from then on and refreshes it by itself.

    /mcp
  3. Verify

    Ask your agent: “Which LinkDrop workspace are you connected to?”

    Back on Agents, the agent is listed as Signed in, and the status turns to Connected on its first call. Revoke it there at any time.

Using a key instead

For a script, a server, or a machine with no browser. A key does everything signing in does; it just has to be pasted, and kept.

  1. Create a key

    Sign in and open Agents, then create a key named for this machine. It is shown once, so copy it right away. Keys start with lnk_ and belong to one workspace.

  2. Add LinkDrop to Claude Code

    Run this in a terminal. --scope user is in the command deliberately: Claude Code's own default is --scope local, which registers the server against the one directory you run the command in, so a session started anywhere else never lists it under /mcp. The third scope, --scope project, is a real choice: use it instead to check the server into one repo for a whole team.

    claude mcp add --transport http --scope user LinkDrop https://mcp.lnkdrp.com/mcp \  --header "Authorization: Bearer lnk_your_key_here"

    Replace lnk_your_key_here with your key.

  3. Check it registered

    Run claude mcp list and look for LinkDrop. Inside a session, /mcp shows the connection state.

    claude mcp list
  4. Verify the key

    Check the key itself from a terminal:

    curl -s https://www.lnkdrp.com/api/agent/whoami \  -H "Authorization: Bearer lnk_your_key_here" \  -H "x-lnkdrp-agent: curl/1"

Disconnect or reconnect

To disconnect, revoke the agent on the Agents page (it stops at once) and remove LinkDrop from Claude Code. To connect again, add it and sign in. To connect a second workspace, add it under another name and pick that workspace when you sign in.

claude mcp remove LinkDrop

More than one workspace

A connection belongs to one workspace, and your client keeps one server per name. To connect another workspace, add LinkDrop again under a different name, any name you will recognize, such as LinkDrop Acme (LinkDrop-Acme in a command), and pick that workspace when you sign in, or use a key created there. Existing connections keep working, and your agent sees them all; lnkdrp_whoami on each says which workspace it acts on.

claude mcp add --transport http --scope user LinkDrop-Acme https://mcp.lnkdrp.com/mcp

Pick that workspace when you sign in. Any name works, as long as each workspace has its own.

Try asking Claude Code

  • “Share ./decks/board-update.pdf as a LinkDrop link and give me the URL.”
  • “Make a link to the Series A memo for Priya that expires in a week.”
  • “Put the password tidewater on the pricing sheet link.”
  • “Swap in ./contracts/msa-v3.pdf on the MSA so the same links show it, and tell me what changed.”
  • “Which of my LinkDrop links were opened this week, and by whom?”
  • “What did my agents do in LinkDrop today?”

Plain requests: your agent picks the LinkDrop tools for each. Checked against LinkDrop's tool list on 2026-10-13. The documents and people in them are examples.

Error messages you may see

  • MCP server "LinkDrop" needs you to sign in again (run /mcp to re-authenticate)

    Shown by Claude Code (seen 2026-10-13)

    Claude Code's sign-in to LinkDrop has lapsed. Run /mcp, pick LinkDrop and choose Authenticate, then sign in in the browser and click Allow.

  • That credential has been revoked. Sign in again from your client, or create a new key at https://www.lnkdrp.com/agents and update this client's Authorization header.

    Shown by LinkDrop's MCP server

    The connection was revoked on the Agents page. Remove LinkDrop from Claude Code (claude mcp remove LinkDrop), add it again and sign in.

  • This workspace is out of AI credits.

    Shown by LinkDrop's MCP server

    Uploads and links still work; the AI summary and other AI actions wait for credits. Add credits on LinkDrop's Credits page, or wait for the monthly reset on Pro.

Troubleshooting Claude Code

LinkDrop does not appear under /mcp in Claude Code.
It was most likely added with Claude Code's default scope, local, which registers it only for the folder the command ran in. Run claude mcp remove LinkDrop, then add it again with --scope user as in step 1.
/mcp lists LinkDrop as needing authentication.
The server is added but the sign-in has not been done. Run /mcp, pick LinkDrop and choose Authenticate, then sign in in the browser, pick the workspace and click Allow.

Claude Code questions

When should I use --scope project instead of --scope user in Claude Code?
Only when you want the LinkDrop server checked into one repository for a whole team. For your own use, --scope user makes it available in every folder.
Does claude mcp remove need the scope?
No. claude mcp remove LinkDrop removes the server from whichever scope it was registered in.
How do I check the LinkDrop connection from inside Claude Code?
Run /mcp to see the connection state, or run claude mcp list in a terminal and look for LinkDrop.

Any client: common problems

My client never opened the sign-in page.
Look for Authenticate, Login or /mcp auth next to LinkDrop in your client. No such option? Use an API key instead.
I signed in but the agent says unauthorized.
It was revoked, or you signed in to another workspace. Remove LinkDrop, add it again and sign in.
My client says LinkDrop already exists.
Changing the key? Remove the old entry, then add it again. Another workspace? Add it under a different name, such as LinkDrop-Acme.
I get 401 unauthorized.
The key was revoked or pasted with a stray space. Create a new one; revoking the old one is safe.
The agent sees the wrong workspace.
Each connection is tied to one workspace. Add LinkDrop again under a name of its own, such as LinkDrop-Acme, for that workspace.
How does LinkDrop know which client connected?
Your agent's app tells LinkDrop its name when it connects.
Can I have more than one key?
Yes, up to 10. One per agent lets you revoke one without touching the rest.

Still stuck? Connect your agent walks through it in full, and How LinkDrop Works covers the rest.