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

Lancelot

作者:ayers-software-repair版本 0.3.3i★ –i电脑或云端
注册名称io.github.ayers-software-repair/lancelot

安装

概览

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

An MCP server for search and retrieval over a local LanceDB database

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 电脑或云端
  • 传输方式: stdio, Streamable HTTP
  • 分类: 搜索与 AI 记忆
  • 你需要填写:LANCEDB_PATH, OPENAI_API_KEY

安装

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

安装之前

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

你需要

  • 在云端运行无需安装任何东西,通过互联网连接
  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

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

适用于网页版、桌面版和手机版 Claude:

  1. 打开 Settings → Connectors
  2. 点击 Add custom connector
  3. 粘贴下面的地址,然后点击 Add
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Add2https://…3
https://mcp.ayers.repair/lancelot

或者在你的电脑上运行

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

{
  "mcpServers": {
    "lancelot": {
      "command": "npx",
      "args": [
        "-y",
        "@ayerselectronics/lancelot"
      ],
      "env": {
        "LANCEDB_PATH": "your-value",
        "OPENAI_API_KEY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add --transport http lancelot https://mcp.ayers.repair/lancelot

或者在你的电脑上运行

claude mcp add lancelot --env LANCEDB_PATH=your-value --env OPENAI_API_KEY=your-value -- npx -y @ayerselectronics/lancelot

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

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "lancelot": {
      "url": "https://mcp.ayers.repair/lancelot"
    }
  }
}

或者在你的电脑上运行

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "lancelot": {
      "command": "npx",
      "args": [
        "-y",
        "@ayerselectronics/lancelot"
      ],
      "env": {
        "LANCEDB_PATH": "your-value",
        "OPENAI_API_KEY": "your-value"
      }
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "lancelot": {
      "type": "http",
      "url": "https://mcp.ayers.repair/lancelot"
    }
  }
}

或者在你的电脑上运行

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "lancelot": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ayerselectronics/lancelot"
      ],
      "env": {
        "LANCEDB_PATH": "your-value",
        "OPENAI_API_KEY": "your-value"
      }
    }
  }
}

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

ChatGPT 只能连接互联网上的服务器:

  1. 打开网页版 ChatGPT → Settings → Connectors (Apps)
  2. 点击 Create 或 Add(部分套餐需要先在 Advanced 中开启 Developer mode)
  3. 粘贴下面的地址,起个名字,然后保存
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Create2https://…3
https://mcp.ayers.repair/lancelot

菜单名称可能因套餐和版本不同而略有差异。

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

需要你填写的值

  • LANCEDB_PATH 必填 env
    Folder that holds the LanceDB database. It must exist; Lancelot only reads it.
  • OPENAI_API_KEY 机密 env
    Optional OpenAI key for vector search. Query text is sent to OpenAI; otherwise a saved key is checked before falling back to local text search.

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

它能做什么

工具名称和描述与服务器在 2026年11月6日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。

  • lancedb_search

    Search LanceDB for relevant documents using vector or text search

  • lancedb_query

    RAG query with context retrieval from LanceDB

  • lancedb_status

    Get LanceDB status and statistics

  • lancedb_version

    Show Lancelot version information

基础检查i

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

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 ayers-software-repair 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • ✓ 通过

    端点有响应

    在 605 毫秒内响应(HTTP 200)

  • – 不适用

    使用 OAuth 登录

    无需登录

  • ✓ 通过

    工具描述中没有隐藏指令

    已读取 4 个工具描述,未发现针对 AI 的隐藏指令

与“搜索与 AI 记忆”中的其他服务器比较i

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

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

常见问题

Lancelot 安全吗?

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

它需要哪些密钥或代码?

你需要填写:LANCEDB_PATH, OPENAI_API_KEY

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

两种方式都可以:安装在你的电脑上,或者连接云端版本。

它还在维护吗?

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

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

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

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

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT昨天更新
安装

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

在你的电脑上运行★ 48,148MIT21天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT上个月更新
安装

作者的 README

打开 README

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

Lancelot

Search your documents from any MCP-compatible assistant. Lancelot connects an agent to a local LanceDB database and returns matching passages with their sources.

  • Local text search works without an API key.
  • Vector search uses OpenAI embeddings when configured, with text search as a fallback.
  • Read-only tools retrieve documents and report database status. Indexing is a separate command.
  • Stdio and Streamable HTTP support local clients, shared servers and AWS Lambda.

Quickstart · Install · Index documents · Tools · HTTP hosting · Privacy

Quickstart

Requires Node.js 20 or later. First, create a local LanceDB database from your documents (replace ./docs with a folder containing .md, .txt or .html files):

npx -y --package @ayerselectronics/lancelot lancelot-index ./docs ./lancelot-db

This creates the documents table in ./lancelot-db for local text search; no API key is needed. Running it again replaces that table with the folder's current contents.

Then, from the same directory, add the server to Claude Code using that database's absolute path:

claude mcp add --env LANCEDB_PATH="$PWD/lancelot-db" --transport stdio lancelot -- npx -y @ayerselectronics/lancelot

Ask Claude to search your documents with lancedb_search. For other MCP clients, see Install; for table options, see Index your documents.

Try the hosted server

Connect an MCP client to `https://mcp.ayers.repair/lancelot` to search the public Ayers documentation. This hosted instance does not read your files. To search your own documents, run the local server below.

Install

Requires Node.js 20 or later and a LanceDB database folder. If you do not have a database, index a folder of documents first. Use the database's absolute path in your client configuration.

Claude Code, using the stdio form from the Claude Code MCP documentation:

claude mcp add --env LANCEDB_PATH=/path/to/db --transport stdio lancelot -- npx -y @ayerselectronics/lancelot

--transport stdio sits between the last --env and the server name on purpose: the CLI reads a name that follows --env directly as another variable. Everything after -- runs the server.

For vector search, add --env OPENAI_API_KEY=YOUR_KEY before --transport. Your table must contain vectors created with the configured embedding model. Query text is then sent to OpenAI.

Other MCP clients take the same command in their mcpServers configuration:

{

"mcpServers": { "lancelot": { "command": "npx", "args": ["-y", "@ayerselectronics/lancelot"], "env": { "LANCEDB_PATH": "/path/to/db" } } } }

Install links

Open one of these in a browser or on the command line to add the server to the editor. Set LANCEDB_PATH to your database folder afterwards.

  • VS Code: vscode:mcp/install?%7B%22name%22%3A%22lancelot%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40ayerselectronics%2Flancelot%22%5D%2C%22env%22%3A%7B%22LANCEDB_PATH%22%3A%22%2Fpath%2Fto%2Fdb%22%7D%7D
  • Cursor: cursor://anysphere.cursor-deeplink/mcp/install?name=lancelot&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBheWVyc2VsZWN0cm9uaWNzL2xhbmNlbG90Il0sImVudiI6eyJMQU5DRURCX1BBVEgiOiIvcGF0aC90by9kYiJ9fQ==

The link formats are from the VS Code MCP guide and the Cursor install links documentation.

Registry

MCP Registry identity: io.github.ayers-software-repair/lancelot.

Setup command

lancelot-init asks for the database folder and an OpenAI API key, and stores them for later runs. The key goes to the operating system keychain through keytar, or to an encrypted file when keytar is not available. Run it with npx -p @ayerselectronics/lancelot lancelot-init. Environment variables override what it stored.

Index your documents

lancelot-index builds the table the server reads from a folder of .md, .txt and .html files:

npx -p @ayerselectronics/lancelot lancelot-index ./docs ./db

npx -p @ayerselectronics/lancelot lancelot-index ./docs ./db --table documents

Rebuilding replaces the named table. Keep the original documents and choose a separate database folder for each collection you want to manage independently.

It walks the folder and its subfolders (skipping names that start with a dot), strips HTML to text, and splits each file into chunks of about 1,200 characters on paragraph boundaries. A paragraph longer than that is cut at a space. Each chunk becomes a row { id, path, title, text }: id is the relative path and chunk number, path is the relative path, and title is the first Markdown heading of the file, or the file name. There are no vectors, so search is text search.

--table names the table (default documents). The command replaces that table if it exists, so running it again rebuilds the table from the folder. It is the only part of the package that writes to a database; the server never does. Point LANCEDB_PATH at the database folder afterwards.

Tools

ToolWhat it does
lancedb_searchSearches a table and returns ranked hits with short snippets.
lancedb_queryRetrieves chunks for a question and returns them as one block of context, cut to a character budget.
lancedb_statusReports the connection, the tables with row counts, and whether embeddings are available.
lancedb_versionReports the Lancelot version, the MCP protocol version of the SDK it is built on, and what is enabled.
lancedb_search
ParameterTypeRequiredMeaning
querystringyesThe search text.
limitnumbernoMaximum hits, 1 to 200. Default: LANCEDB_DEFAULT_LIMIT, which is 20.
searchTypevector, text or autonovector embeds the query with OpenAI. text matches words in the text column. auto (the default) uses vector search when an API key is set and text search otherwise.
tablestringnoTable to search. Default: LANCEDB_TABLE.
textColumnstringnoColumn holding the text. Default: LANCEDB_TEXT_COLUMN.
vectorColumnstringnoColumn holding the vectors. Default: LANCEDB_VECTOR_COLUMN.

The reply is JSON. Its searchType field is the search that produced the hits, vector or text. When that is not the search you asked for, a note field says why: no API key, the vector search failed, or (in auto) it found nothing. For vector hits score is the distance, so lower is closer. For text hits score is the share of query words found in the hit, so higher is better.

Text search is a case-insensitive substring match on the words of the query. It does not use a full-text index and does not stem words.

lancedb_query
ParameterTypeRequiredMeaning
questionstringyesThe question to retrieve context for.
contextBudgetnumbernoMaximum characters of context. Default: LANCEDB_CONTEXT_BUDGET, which is 8000.
warmStartbooleannoRetrieve a general project overview instead of answering question. Default: false.
tablestringnoTable to query. Default: LANCEDB_TABLE.
limitnumbernoMaximum chunks to retrieve, 1 to 200. Default: LANCEDB_DEFAULT_LIMIT.

The reply is a Markdown block: a header (mode, search type, query), then one section per chunk with its title, source and text. Chunks that would pass the budget are left out and the block says how many.

lancedb_status
ParameterTypeRequiredMeaning
verbosebooleannoInclude the column names of each table. Default: false.
lancedb_version

No parameters.

Table layout

Lancelot reads the text from the text column (text by default). It reads title for the title, and chunkSource, docSource or path for the source, when a row has them; the first two are the layout AnythingLLM writes, and path is what lancelot-index writes. Other columns come back as metadata. Vector search needs vectors made with the same model as EMBEDDING_MODEL.

HTTP mode

npx -y @ayerselectronics/lancelot --http                      # http://127.0.0.1:3000/mcp

npx -y @ayerselectronics/lancelot --http 8080 npx -y @ayerselectronics/lancelot --http 8080 --host 0.0.0.0 # all interfaces

Without --http the server uses stdio. With it, the server uses MCP Streamable HTTP. The SDK negotiates the protocol version with each client. --http takes an optional port (default 3000). The server binds 127.0.0.1 unless --host names another address, as the specification advises for a local server. The endpoint is /mcp; any other path is 404.

  • Origin. The specification says the server must validate the Origin header. A request that carries an Origin not listed in LANCELOT_ALLOWED_ORIGINS gets 403. With the variable unset, every request that carries an Origin gets 403. A request with no Origin header is allowed; an absent header is not an authentication check; the SDK's own origin check refuses those, so Lancelot does the check itself.
  • Host. LANCELOT_ALLOWED_HOSTS lists the Host header values that may call, for DNS rebinding protection. Left unset on a loopback bind, it defaults to 127.0.0.1: , localhost: and [::1]: . Left unset with --host 0.0.0.0, the Host header is not checked and a warning goes to stderr. A request with a Host not listed gets 403.
  • Stateless. No session id is issued. Each POST gets its own MCP server and transport, closed when the response ends, and answers with one JSON object. GET (the optional event stream) and DELETE (ending a session) answer 405 with Allow: POST, which the specification permits.
  • Limits. A body over 64 KB is 413. A body that is not JSON is 400.
  • Protocol version. The MCP-Protocol-Version header is checked by the SDK: a version it does not support is 400, and a missing header is taken as 2025-03-26, as the specification says.

Both variables take comma-separated lists, for example LANCELOT_ALLOWED_ORIGINS=https://app.example,https://other.example. HTTP mode has no authentication; the tools are read-only, and a server open to a network should sit behind something that has it.

AWS Lambda

dist/lambda.js exports handler(event) for an API Gateway HTTP API with payload format 2.0. It turns the event into the request the SDK's transport expects and returns { statusCode, headers, body }. It reads LANCEDB_PATH, LANCELOT_BASE_PATH (the path the endpoint is served under, such as /lancelot; unset serves every path) and the two allow-list variables. The database connection is opened on the first invocation and reused on warm ones. The function may write only to /tmp, where Lancelot keeps its own settings file.

The Dockerfile builds the container image on the AWS Node.js 24 base image for arm64, with the handler dist/lambda.handler. Build dist first:

docker buildx build --platform linux/arm64 --provenance=false -t lancelot-lambda .

Environment variables

Settings come from, in order: the environment, the file written by lancelot-init, the defaults. A variable that is empty or only whitespace counts as not set; the stored value is checked next. Tex

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

问 PopNx