原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Laserfiche MCP

作者:SamuelSHernandez版本 2.6.1i★ –i在你的电脑上运行
注册名称io.github.SamuelSHernandez/laserfiche-mcp

安装

概览

作者提供的说明(英文原文)

MCP server for self-hosted Laserfiche repositories — search and read documents from Claude.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 文档、表格与办公
  • 你需要填写:LF_REPO_API_URL, LF_REPOSITORY_ID, LF_USERNAME, LF_PASSWORD

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: LF_REPO_API_URL, LF_REPOSITORY_ID, LF_USERNAME, LF_PASSWORD, LF_API_VERSION, LF_READ_ONLY

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "laserfiche": {
      "command": "uvx",
      "args": [
        "laserfiche-mcp"
      ],
      "env": {
        "LF_REPO_API_URL": "your-value",
        "LF_REPOSITORY_ID": "your-value",
        "LF_USERNAME": "your-value",
        "LF_PASSWORD": "your-value",
        "LF_API_VERSION": "your-value",
        "LF_READ_ONLY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add laserfiche --env LF_REPO_API_URL=your-value --env LF_REPOSITORY_ID=your-value --env LF_USERNAME=your-value --env LF_PASSWORD=your-value --env LF_API_VERSION=your-value --env LF_READ_ONLY=your-value -- uvx laserfiche-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "laserfiche": {
      "command": "uvx",
      "args": [
        "laserfiche-mcp"
      ],
      "env": {
        "LF_REPO_API_URL": "your-value",
        "LF_REPOSITORY_ID": "your-value",
        "LF_USERNAME": "your-value",
        "LF_PASSWORD": "your-value",
        "LF_API_VERSION": "your-value",
        "LF_READ_ONLY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "laserfiche": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "laserfiche-mcp"
      ],
      "env": {
        "LF_REPO_API_URL": "your-value",
        "LF_REPOSITORY_ID": "your-value",
        "LF_USERNAME": "your-value",
        "LF_PASSWORD": "your-value",
        "LF_API_VERSION": "your-value",
        "LF_READ_ONLY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • LF_REPO_API_URL 必填 env
    Base URL of your Laserfiche Repository API Server, e.g. https://lf.example.com/LFRepositoryAPI
  • LF_REPOSITORY_ID 必填 env
    Repository name or ID to operate against.
  • LF_USERNAME 必填 env
    Service-account username with read access to the repository.
  • LF_PASSWORD 机密 必填 env
    Service-account password.
  • LF_API_VERSION env
    Repository API version: v1 (default) or v2.
  • LF_READ_ONLY env
    Read-only mode. Defaults to true; set false to register the write tools.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月10日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 SamuelSHernandez 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“文档、表格与办公”中的其他服务器比较i

  • 星标数多于此分类中其他 3677 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 3677 个服务器的 48% 更新
  • 基础检查结果等于或优于此分类中其他 3677 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Laserfiche MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:LF_REPO_API_URL, LF_REPOSITORY_ID, LF_USERNAME, LF_PASSWORD

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(2.6.1)于33天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Agent-Native Calendar

Agent-Native Google Calendar - manage events, sync, and public booking

作者:BuilderIO正在增长★ 76202个月前更新

在云端运行

Excel MCP Server

Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.

作者:haris-musa广泛使用↓ 5万/周★ 4276今天更新

在你的电脑上运行

MCP Server for Excel

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

作者:sbroenne正在增长↓ 4321/周★ 8477天前更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

laserfiche-mcp

Owned by the General Conference of Seventh-day Adventists. Not affiliated with or endorsed by Laserfiche.

Let Claude (Desktop, Code, or any MCP client) search and read documents in a self-hosted Laserfiche repository — and, if you opt in, change them. The same program is also a command-line tool (ls, cat, search, dedupe, ...) for work that needs no AI at all.

Read-only by default. Writes are off until you set LF_READ_ONLY=false, and destructive actions always need a second confirmation step. Current release: v2.6.2 — see the CHANGELOG.

Quick start

uv tool install laserfiche-mcp   # or run ad hoc: uvx laserfiche-mcp

laserfiche-mcp setup # asks for your server + account, then tests the connection laserfiche-mcp ls 1 # list the repository root

Then connect it to Claude. Prefer no terminal? Use the Claude Desktop extension. New to MCP? Read the step-by-step guide (~7 min). Want ready-made prompts and commands? See examples.

What it can do

Once connected, you can ask Claude things like:

  • *"Which leases mention an unpaid balance, and what do they say?"*
  • *"Summarize the newest document in the Onboarding folder."*
  • *"Are these two scans the same record, or is something different?"*
  • *"Find duplicate invoices under 2023 and tell me how much space they take."*
  • *"Set Status to Approved on these five entries."*

Behind that, it can:

Find things

  • Search with native Laserfiche queries or by name pattern — or let Claude draft the query from your repository's own templates and field names, with automatic repair if Laserfiche rejects it.
  • Search inside documents, including scans. Full-text search returns the matching *passages* (page number plus surrounding text) straight from Laserfiche's OCR index, so most "what does it say about X?" questions are answered without downloading anything.
  • Look at images. Claude can view picture files in the repository (PNG, JPEG, GIF, WebP) to describe, label and tag them against your own tag and template standard. Images cost tokens, so you're warned of the estimated cost and asked first; for scans of text it tries Laserfiche's OCR before looking at the picture. Optional laserfiche-mcp[images] adds downscaling.

Read things

  • Browse folders, look up entries by ID or path, and read metadata, template field values, and your repository's field / tag / template / link definitions.
  • Download files, or extract text — PDF, Word, PowerPoint, email, HTML, RTF and plain text (Excel and Outlook .msg need pip install 'laserfiche-mcp[office]') — with page ranges for long documents.

Analyze

  • Compare two entries' metadata and fields, and find byte-identical duplicates (only files whose sizes match are ever downloaded). From the command line you can also inventory a whole folder tree to CSV.

Make changes (opt-in)

  • Create folders, import documents, copy, rename and move entries.
  • Edit fields, tags and links (merge or replace), and assign or clear templates — with required-field checks before Laserfiche sees the request.
  • Delete entries, files, or page ranges. Deletes, renames and moves always show a preview first; folders can be fenced, tools allow-listed, and bulk deletes capped. See Safety.

Run where you need it

  • Locally in Claude Desktop or Claude Code, as a one-click Desktop extension, or as an HTTP server for claude.ai and ChatGPT with per-user sign-in.
  • Self-hosted Laserfiche (Repository API v1 and v2); Cloud support is in beta.
  • As a command-line tool with no AI involved — the same operations from a shell, with --json output for scripts. See docs/cli.md.

Every tool, with details: docs/tools.md.

Install

Claude Desktop extension

No terminal, no config files.

  1. Download the extension (needs Claude Desktop).
  2. Double-click it, click Install, and fill in the form:
FieldWhat to enter
Repository API URLYour server address, e.g. https://your-server/LFRepositoryAPI
Repository nameThe repository you pick when signing in to Laserfiche Web Access
Username / PasswordAn account that can read the repository (the password goes in your OS keychain)

Not sure what to enter? Ask whoever runs Laserfiche at your organization.

  1. Ask Claude something, like *"Find every invoice from March in the Accounting folder."*

More detail: docs/desktop-extension.md.

Python package
uvx laserfiche-mcp            # run directly, no install

pip install laserfiche-mcp # or add it to your environment

Needs Python 3.10+ and a reachable Laserfiche Repository API Server with an account that can read it.

Configure

Run laserfiche-mcp setup, or set these environment variables:

VariableExampleNotes
LF_REPO_API_URLhttps://lf.example.com/LFRepositoryAPIYour Repository API Server
LF_REPOSITORY_IDmy-repo
LF_API_VERSIONv1 (default) or v2Wrong value → 400 UnsupportedApiVersion. Probe with curl {LF_REPO_API_URL}/v1/Repositories and /v2/Repositories; the one that returns a repo list is yours.
LF_USERNAME / LF_PASSWORDA service account
LF_AUTH_MODEpassword
LF_READ_ONLYtrue (default)false turns on the write tools

Everything else — write guardrails, size limits, search tuning, web-client links, logging — is in docs/configuration.md.

[!WARNING]

Laserfiche Cloud support is beta and has never been verified against

a live tenant. If you have Cloud access, please

open an issue

with what worked or broke. Details in

docs/configuration.md.

Connect to Claude

Claude Code

claude mcp add laserfiche -- uvx laserfiche-mcp

Pass settings with --env LF_REPO_API_URL=... flags, or export them in your shell first.

Claude Desktop — add this to claude_desktop_config.json (%APPDATA%\Claude\ on Windows, ~/Library/Application Support/Claude/ on macOS), then restart:

{

"mcpServers": { "laserfiche": { "command": "uvx", "args": ["laserfiche-mcp"], "env": { "LF_REPO_API_URL": "https://lf.example.com/LFRepositoryAPI", "LF_REPOSITORY_ID": "my-repo", "LF_API_VERSION": "v1", "LF_USERNAME": "service-account", "LF_PASSWORD": "replace-me", "LF_AUTH_MODE": "password", "LF_READ_ONLY": "true" } } } }

Try a tool without Claude using the MCP Inspector: npx @modelcontextprotocol/inspector uvx laserfiche-mcp

Web clients (claude.ai, ChatGPT)

By default the server talks over stdio to a local client. Web connectors can't launch a local program, so run it as an HTTP server instead:

laserfiche-mcp --http          # serves http://127.0.0.1:8000/mcp

For anything beyond your own machine you need TLS, authentication (per-user OAuth or a shared token) and a network path to your Laserfiche server. Setup and the security checklist: docs/remote-http.md.

Command line

laserfiche-mcp ls '\HR\Leases'                 # list a folder (by path or entry ID)

laserfiche-mcp get 4821 --to ./lease.pdf # download a document laserfiche-mcp cat 4821 --pages 4-9 # print its text laserfiche-mcp search 'unpaid balance' # full-text search with excerpts laserfiche-mcp manifest 1 --out inventory.csv # inventory a folder tree laserfiche-mcp dedupe 1 # find byte-identical documents

Every command takes --json. More recipes in examples; the full reference is docs/cli.md.

Safety

  • Writes are off by default.
  • When on, you can fence them to specific folders (LF_WRITE_PATHS_ALLOW), limit which write tools exist (LF_WRITE_TOOLS_ALLOWED), and cap folder deletes.
  • delete, rename and move return a preview and a short-lived token; nothing changes until the call is repeated with that token.
  • Start in a sandbox folder: see the recommended write-mode config.

Where your document content goes: Data handling & privacy. All guardrails: docs/safety.md.

Troubleshooting

Start with one command — it tests your login, probes your server, and tells you what's wrong:

laserfiche-mcp diagnose
SymptomLikely causeFix
diagnose says UNREACHABLEWrong URL, VPN down, or an https:// server whose certificate comes from your internal CAFix the URL; for an internal CA set LF_USE_SYSTEM_CA=true (or LF_CA_BUNDLE= ) — not LF_VERIFY_SSL=false, which switches checking off
CERTIFICATE_VERIFY_FAILED ... hostname mismatchThe URL's host isn't a name on the certificate (e.g. short name vs. the full host.domain name)Use the host name on the certificate in LF_REPO_API_URL
diagnose suggests the other API versionLF_API_VERSION mismatchUse the version it names
HTTP 401, or Laserfiche error 9528Bad credentials (9528's "LFDS unreachable" wording is misleading)Re-run laserfiche-mcp setup
A setting seems ignoredA misspelled LF_* name — unknown names are silently skippeddiagnose lists any LF_* variable it doesn't recognize

On Windows, put repository paths in double quotes: laserfiche-mcp list "\HR\Leases". Claude Desktop logs: %APPDATA%\Claude\logs\ (macOS: ~/Library/Logs/Claude/).

When a tool fails it returns a structured error (not a crash) that tells the model whether to retry, ask you, or give up. See docs/error-contract.md.

Documentation

Getting startedSlower walkthrough for people new to MCP
ExamplesPrompts, commands and config you can copy
ConfigurationEvery LF_* setting
ToolsAll tools and how to use them
Command lineCLI conventions, formats and cost savings
Safety modelWrite guardrails and confirmation tokens
Data handling & privacyWhat Claude sees and where data goes
Remote HTTPWeb clients, OAuth, per-user access
Error contractError kinds and codes

Roadmap

  • Cloud verification — needs someone with a Laserfiche Cloud tenant to confirm the auth flow end to end.
  • Per-user access (beta) — LF_AUTH_MODE=oauth_passthrough runs Laserfiche calls as each user instead of a shared account; needs confirming against a live LFDS tenant (details).
  • Audit logging — a server-side log of every write call.
  • v3.0 — remove

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx