MCP guide

How to connect Grok to LinkDrop

Add LinkDrop as a tool from Grok's settings. No terminal needed.

Last updated: October 13, 2026

How Grok connects

Grok adds MCP servers from its settings, under Tools, and sends the same header with every request. It cannot sign in to a remote MCP server, so Grok is the one client in these guides that always uses a key: you create one on LinkDrop's Agents page and paste it as a bearer token.

The key does everything a signed-in agent can. It belongs to the workspace it was created in, LinkDrop keeps only a hash of it, and a workspace owner or admin can revoke it on the Agents page at any time, which stops it at once.

Before you start

  • A LinkDrop account. Connecting an agent works on every plan, Free included.
  • Owner or admin role in the workspace, to create the key.
  • Access to Grok's Settings › Tools.
  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. Open Tools

    In Grok, open Settings, then Tools, then Add MCP server.

  3. Enter the server details

    Enter a name for the connection, the URL below as the server address, and your key as a bearer token.

    nameLinkDrop
    urlhttps://mcp.lnkdrp.com/mcp
    authBearer lnk_your_key_here

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

    Replace lnk_your_key_here with your key.

  4. Restart and verify

    Restart Grok so it picks up the new server, then 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"

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

    Back on Agents, the status turns to Connected once the key has been used.

Change the key or remove LinkDrop

Open Grok › Settings › Tools, pick LinkDrop, and either paste the new token or remove the tool.

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.

Grok › Settings › Tools › Add MCP server
nameLinkDrop Acme
urlhttps://mcp.lnkdrp.com/mcp
authBearer lnk_your_key_here

Replace lnk_your_key_here with a key created in that workspace. Any name works, as long as each workspace has its own.

Try asking Grok

  • “Share https://example.com/whitepaper.pdf as a LinkDrop link.”
  • “Make a link to the whitepaper for the Acme team with downloads allowed.”
  • “Has anyone opened the whitepaper link?”
  • “Restore the document I deleted yesterday.”
  • “How many LinkDrop credits do I have left?”

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

  • 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 key was revoked on the Agents page. Create a new key there and paste it in Grok's Settings › Tools as Bearer followed by the key.

  • This agent connection has not been given access to Google Drive yet.

    Shown by LinkDrop's MCP server

    A key uses Google Drive only when Let this key use my Google Drive was ticked. Switch on Google Drive next to the key on the Agents page; no new key is needed.

Troubleshooting Grok

Grok cannot use my Google Drive through LinkDrop.
A key can use Drive only if Let this key use my Google Drive was ticked when it was created. Switch on Google Drive next to the key on the Agents page; you do not need a new key.
Grok's requests to LinkDrop fail with 401.
Check the auth field: it holds Bearer, a space, then the key, with no line break. Keys start with lnk_ and are 36 characters long. If in doubt, create a new key and revoke the old one.

Grok questions

Why does Grok need a key when other clients sign in?
Grok sends a fixed header with each request and cannot open LinkDrop's sign-in page, so it authenticates with a key. A key does everything signing in does.
How do I replace or remove the key in Grok?
Open Grok › Settings › Tools, pick LinkDrop, and paste the new token or remove the tool. Then revoke the old key on the Agents page.
How many keys can a LinkDrop workspace have?
Up to 10 active keys. Use one per agent or machine so you can revoke one without touching the rest.

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.