Link in Seconds

Upload a file and get a shareable link. List your links and see their view stats.

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
97%
命名质量
97%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,089token 数(工具定义)
~1.2 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.85%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "mcp": {
      "url": "https://linkinseconds.com/api/mcp"
    }
  }
}

远程端点

https://linkinseconds.com/api/mcpstreamable-http

它能做什么

工具清单

工具(6)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟡upload_file(filename, content, content_base64, content_type, title, ...)

Publish a file and get a public Link in Seconds URL that opens in any browser (no sign-in for the viewer). Pass the file as text in `content` (HTML, Markdown, CSV, SVG, JSON...) or as base64 in `content_base64` (PDF, images, ZIP...). Up to 3 MB; for bigger files use create_upload_url. The account's plan limits apply.

输入模式

{
  "type": "object",
  "properties": {
    "filename": {
      "type": "string",
      "description": "File name with extension, e.g. report.pdf or index.html."
    },
    "content": {
      "type": "string",
      "description": "The file content as UTF-8 text. Use this OR content_base64."
    },
    "content_base64": {
      "type": "string",
      "description": "The file content, base64-encoded. Use this OR content."
    },
    "content_type": {
      "type": "string",
      "description": "MIME type. Optional: guessed from the extension."
    },
    "title": {
      "type": "string",
      "description": "Optional link title shown on the page."
    },
    "slug": {
      "type": "string",
      "description": "Optional custom link name, the last part of the link address (letters, numbers and dashes). It must be free; reserved words are refused."
    }
  },
  "required": [
    "filename"
  ],
  "additionalProperties": false
}
🟡create_upload_url(filename, size_bytes, content_type)

For files too big to send inline: returns a short-lived upload URL (valid 10 minutes). PUT the raw file bytes to it with the given Content-Type header (for example with curl), then call finish_upload with the returned path.

输入模式

{
  "type": "object",
  "properties": {
    "filename": {
      "type": "string",
      "description": "File name with extension."
    },
    "size_bytes": {
      "type": "integer",
      "minimum": 1,
      "description": "Exact file size in bytes."
    },
    "content_type": {
      "type": "string",
      "description": "MIME type. Optional: guessed from the extension."
    }
  },
  "required": [
    "filename",
    "size_bytes"
  ],
  "additionalProperties": false
}
🟡finish_upload(path, filename, content_type, title, slug)

Call after PUTting the file to the URL from create_upload_url. Checks and scans the file, then returns its public link.

输入模式

{
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "description": "The path returned by create_upload_url."
    },
    "filename": {
      "type": "string",
      "description": "The same file name passed to create_upload_url."
    },
    "content_type": {
      "type": "string",
      "description": "The same content type used for the PUT. Optional."
    },
    "title": {
      "type": "string",
      "description": "Optional link title shown on the page."
    },
    "slug": {
      "type": "string",
      "description": "Optional custom link name, the last part of the link address (letters, numbers and dashes). It must be free; reserved words are refused."
    }
  },
  "required": [
    "path",
    "filename"
  ],
  "additionalProperties": false
}
🟢list_links(limit)

List the links on this Link in Seconds account, newest first, with their URLs and status.

输入模式

{
  "type": "object",
  "properties": {
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "description": "How many to return (default 20)."
    }
  },
  "additionalProperties": false
}
🟢get_link_analytics(slug, range)

Read-only. How one of the account's links performed: views, unique visitors, time on the file, how far readers got (pages for PDFs, watch-through for video and audio, scroll depth for pages), countries, devices, traffic sources and the busiest hour, over a UTC window. Pass the slug or the full link URL.

输入模式

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "description": "The link's slug (the last part of its address), or its full URL."
    },
    "range": {
      "type": "string",
      "enum": [
        "7d",
        "14d",
        "30d",
        "90d",
        "all"
      ],
      "description": "Time window, UTC days: 7d, 14d, 30d (default), 90d or all."
    }
  },
  "required": [
    "slug"
  ],
  "additionalProperties": false
}
🟢get_account_analytics(range)

Read-only. The whole account's analytics over a UTC window: views, unique visitors, time on files, countries, devices, traffic sources, busiest hour and the top links.

输入模式

{
  "type": "object",
  "properties": {
    "range": {
      "type": "string",
      "enum": [
        "7d",
        "14d",
        "30d",
        "90d",
        "all"
      ],
      "description": "Time window, UTC days: 7d, 14d, 30d (default), 90d or all."
    }
  },
  "additionalProperties": false
}

社区

评价此服务器

证据

最近观测

已验证未记录版本6 个工具