Skip to content

Internet Shortcuts To Csv MCP tool

MCP findutils:internet_shortcuts_to_csv

Turn Windows Internet Shortcut files (.url) into a CSV or a plain list of URLs. Pass each file as { name, content } with the file name and its text. The URL, WorkingDirectory and IconFile keys are read from the [InternetShortcut] section, case-insensitively, with CRLF line endings and a byte order mark tolerated; the name column is the file name without folders or .url. A file without that section or without a URL line, and any binary .lnk shortcut, is listed in skipped with the reason instead of failing the batch. CSV columns: name, url, working_directory, icon_file, quoted where a value holds a comma, quote or line break. format "txt" writes one URL per line. The URLs are copied as written and never fetched; non-web schemes such as file: or javascript: are kept and reported in warnings.

Arguments

application/json
  • files

    array required

    The .url files, in order, at most 5000. Each item is { name, content }: the file name (for example "Docs.url") and the file's text.

  • format

    string optional

    Output: "csv" (default) or "txt", one URL per line. One of csv · txt. Default "csv".

  • include_header

    boolean optional

    CSV only: write the header row. Default true. Default true.

  • dedupe

    boolean optional

    Keep only the first shortcut for each exact URL. Default false. Default false.

Example arguments

Verified
{
  "files": [
    {
      "name": "Docs.url",
      "content": "[InternetShortcut]\r\nURL=https://example.com/docs\r\n"
    }
  ]
}