[Docs](https://linkinseconds.com/docs)AI agents and MCP

# MCP server

Connect ChatGPT, Claude Code, Cursor or any MCP client to Link in Seconds so your AI assistant can publish files and hand you the link.

The Model Context Protocol (MCP) is how AI assistants call outside tools. Our MCP server gives your assistant one new ability: **publish a file and hand you the link**. Ask ChatGPT or Claude to “put this report online” and it uploads the file to your account and replies with a `lisview.com/…` URL that opens in any browser.

1You ask

“Publish this page as a link”

2Your assistant

Calls upload_file

3Link in Seconds

Checks, scans, publishes

4You get the link

Ready to share

## Connection details

| Setting | Value |

| Server URL | `https://linkinseconds.com/api/mcp` |

| Transport | Streamable HTTP (stateless, JSON responses) |

| Authentication | OAuth sign-in (ChatGPT), or the header `Authorization: Bearer lis_…` with your [API key](https://linkinseconds.com/docs/api/authentication) (developer tools) |

| Tools | upload_file, create_upload_url, finish_upload, list_links, get_link_analytics, get_account_analytics |

## Set up your client

[ChatGPT Add it as a plugin and sign in. No key.](https://linkinseconds.com/docs/mcp/chatgpt)[Claude Code One command in your terminal.](https://linkinseconds.com/docs/mcp/claude-code)[Cursor Add it to mcp.json.](https://linkinseconds.com/docs/mcp/cursor)[VS Code Agent mode with .vscode/mcp.json.](https://linkinseconds.com/docs/mcp/vs-code)[Other clients Any remote MCP client, with OAuth or headers.](https://linkinseconds.com/docs/mcp/other-clients)

The fastest path, if you use Claude Code (in ChatGPT, follow the [ChatGPT guide](https://linkinseconds.com/docs/mcp/chatgpt)):

Shell

```
claude mcp add --transport http linkinseconds https://linkinseconds.com/api/mcp \
  --header "Authorization: Bearer lis_YOUR_KEY"
```

## What you can ask

- “Build a one-page summary of this data as HTML and publish it as a link.”

- “Upload report.pdf and give me a link I can send to the client.”

- “Publish this Markdown file and call the link ‘Release notes’.”

- “What links did I publish this week?”

Files up to 3 MB go inline. For bigger files the assistant gets a short-lived upload URL and sends the file directly, if it can run commands (like Claude Code). Details in the [tools reference](https://linkinseconds.com/docs/mcp/tools).

## Same rules as the website

The MCP server is a thin layer over the same upload pipeline as the website. Your plan's limits apply, every file is type-checked and scanned, and Free accounts can make up to 30 uploads an hour with a key. Your assistant can not change link settings or delete links; you do that in the [dashboard](https://linkinseconds.com/dashboard).

Treat the key like a password

The key in your MCP config can publish to your account. Use a separate key per client, keep config files with keys out of git, and delete a key on the [API keys page](https://linkinseconds.com/dashboard/api-keys) if a laptop or repo is exposed. Apps you connected with OAuth, like ChatGPT, are listed on the same page under Connected apps, where you can disconnect them.

[Tools reference Inputs and outputs for every tool.](https://linkinseconds.com/docs/mcp/tools)[Agent discovery How agents find this server on their own.](https://linkinseconds.com/docs/agents)

[PreviousAPI reference](https://linkinseconds.com/docs/api/reference)[Next ChatGPT](https://linkinseconds.com/docs/mcp/chatgpt)

Last updated 21 October 2026. Something unclear or missing? [Tell us](https://linkinseconds.com/contact).

Source: https://linkinseconds.com/docs/mcp
