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

PremAgentic

作者:premagentic版本 0.1.0i★ –i在你的电脑上运行
注册名称io.github.premagentic/premagentic

安装

概览

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

On-premises knowledge retrieval, with the rules you set enforced before anything is retrieved.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 搜索与 AI 记忆
  • 你需要填写:PREM_API_URL, PREM_AGENT_TOKEN

安装

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

安装之前

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

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

你需要

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "premagentic": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PREM_API_URL",
        "-e",
        "PREM_AGENT_TOKEN",
        "-e",
        "SSL_CERT_FILE",
        "ghcr.io/premagentic/premagentic-mcp:0.1.0"
      ],
      "env": {
        "PREM_API_URL": "your-value",
        "PREM_AGENT_TOKEN": "your-value",
        "SSL_CERT_FILE": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add premagentic --env PREM_API_URL=your-value --env PREM_AGENT_TOKEN=your-value --env SSL_CERT_FILE=your-value -- docker run -i --rm -e PREM_API_URL -e PREM_AGENT_TOKEN -e SSL_CERT_FILE ghcr.io/premagentic/premagentic-mcp:0.1.0

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

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "premagentic": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PREM_API_URL",
        "-e",
        "PREM_AGENT_TOKEN",
        "-e",
        "SSL_CERT_FILE",
        "ghcr.io/premagentic/premagentic-mcp:0.1.0"
      ],
      "env": {
        "PREM_API_URL": "your-value",
        "PREM_AGENT_TOKEN": "your-value",
        "SSL_CERT_FILE": "your-value"
      }
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "premagentic": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PREM_API_URL",
        "-e",
        "PREM_AGENT_TOKEN",
        "-e",
        "SSL_CERT_FILE",
        "ghcr.io/premagentic/premagentic-mcp:0.1.0"
      ],
      "env": {
        "PREM_API_URL": "your-value",
        "PREM_AGENT_TOKEN": "your-value",
        "SSL_CERT_FILE": "your-value"
      }
    }
  }
}

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

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

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

需要你填写的值

  • PREM_API_URL 必填 env
    The PremAgentic API's address, such as https://prem.example.org:8443. Plain http:// only for localhost.
  • PREM_AGENT_TOKEN 机密 必填 env
    The token of a registered agent, issued with 'prem tokens issue '. It begins with prem_agt_.
  • SSL_CERT_FILE env
    Only for an API whose certificate prem setup signed itself: that certificate's path inside the container, mounted read-only.

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

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

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

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

常见问题

PremAgentic 安全吗?

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

它需要哪些密钥或代码?

你需要填写:PREM_API_URL, PREM_AGENT_TOKEN

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

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

它还在维护吗?

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

哪些应用可以使用它?

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

有什么可以替代它?

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

替代选择

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

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

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT3天前更新
安装

Codebase Memory

作者:DeusData

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

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

Exa

作者:exa-labs

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

在云端运行★ 5,213MIT44天前更新
安装

作者的 README

打开 README

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

PremAgentic

On-premises, for agents: the name says what it is. Governed knowledge retrieval that runs entirely inside a customer's own network. Point it at a folder of Markdown, text, PDF, Word or Excel files (the last three through first-party extensions an administrator allows), write down who may read which folders, and its people and agents get cited answers out of them, with those rules enforced before anything is retrieved.

*PremAgentic decides what the model is allowed to know. Every answer is a cited passage, marked with its trust, authorship and freshness.*

the customer's folders of documents -> connector -> chunk -> embed (locally)

-> plain PostgreSQL -> access, lifecycle, trust and freshness gates -> lexical search in PostgreSQL + exact vector search in process, fused -> cited answers -> a golden set that proves it works on THIS corpus

At runtime, with the default local embedding provider, PremAgentic makes no outbound call, needs no third-party API key, and sends no document anywhere on its own. An assistant that runs on a hosted model does receive the passages each search returns: PremAgentic asks where each agent's model runs, writes the answer on every audit row, and can keep a folder from every agent registered as using one (see Connect an assistant). PremAgentic calls out to nothing else unless an administrator selects the optional openai embedding provider or installs and allows an extension that does; a reminder sink that sends mail is a sample, not a built-in. With an HTTPS certificate issued by a certificate authority, the runtime's TLS stack may also fetch the certificate's revocation status (OCSP) and missing intermediate certificates, more than once; the self-signed certificate setup makes by default names no such address.

How that claim is tested, and what installing needs from the internet once, is on What PremAgentic is.

What it reads

Markdown and plain text files are read by built-in readers. PDF, Word (.docx) and Excel (.xlsx and .xlsb) files are read by three first-party extensions in this repository, extensions/pdf-reader, extensions/docx-reader and extensions/xlsx-reader. They are built with the solution and, like any extension, load only once an administrator puts each one's build output in the extensions folder and allows it with prem extensions allow. All three read text and nothing else: no link, script, macro or embedded file in a document is followed or run, and a file that crosses a limit is reported with the limit it crossed, never read in part. A PDF passage is cited by its page, a Word passage by the document's own headings, and an Excel passage by its sheet. A file a reader recognizes and will not index is counted with its reason, such as .pdf (no text layer), .doc (legacy .doc) or .docm (macro-enabled), and a file no reader claims is counted by its extension, so a folder of them does not look like an empty run. Before any reader sees a file, the run reads no more than 256 MB of it, and one file the index cannot store never stops a run.

tests/Premagentic.Benchmark times the search path on a synthetic index, and anyone can rerun it on a throwaway database; every table it prints names the machine it ran on and which of its two modes it ran in (Measuring it yourself).

What it does not do

  • It does not write to the source.
  • It does not generate prose.
  • It does not recognize text in pictures or scanned pages.

The first two are explained under What it does not do; what it reads is above. Sign-in through a company directory is next in PremAgentic for Teams.

Quick start

# 1. Local stock PostgreSQL 17, on 5434 to stay clear of any PostgreSQL already on 5432 or 5433

docker compose up -d

2. Use the local development database for this shell. PremAgentic connects to

nothing unless told where; this switch names the compose instance.

$env:PREM_DEV_DATABASE = "1" # Linux or macOS: export PREM_DEV_DATABASE=1

3. One time: fetch the local embedding model (all-MiniLM-L6-v2 ONNX, ~90 MB)

./scripts/download-model.ps1 # Windows; on Linux or macOS: ./scripts/download-model.sh

4. Create the two groups the sample corpus and golden set name

dotnet run --project src/Premagentic.Cli -- groups add hr dotnet run --project src/Premagentic.Cli -- groups add engineering

5. Ingest the sample corpus. Each folder gets its own rule, so the two go in

separately with different audiences.

dotnet run --project src/Premagentic.Cli -- ingest ./sample-docs/open --public --prefix open dotnet run --project src/Premagentic.Cli -- ingest ./sample-docs/hr --principals group:hr --prefix hr

6. Ask it something

dotnet run --project src/Premagentic.Cli -- search "how long do I have to file an expense claim" --as group:engineering

7. Prove the gate. HR reaches the salary bands; engineering does not.

dotnet run --project src/Premagentic.Cli -- search "band four compensation review" --as group:hr dotnet run --project src/Premagentic.Cli -- search "band four compensation review" --as group:engineering

8. Run the golden set, which asserts both of those outcomes. It is the starter

profile's own file, so the questions are the ones the profile applies.

dotnet run --project src/Premagentic.Cli -- eval samples/profiles/starter/golden-set.json eval/report.md

Tests (unit plus a Testcontainers end-to-end slice; Docker required)

dotnet test

The same setup is a profile. On a fresh database, prem profile apply ./samples/profiles/starter creates the two groups, registers the two sources with their rules and sets the golden set in one step; applying it again changes nothing and says so. See Profiles.

The command line explains itself, with no database configured:

prem --help                  every command, with every option explained

prem --help one command's part prem --version the version, with the commit it was built from prem reminders run [--plan] what each source owner is reminded of: stale documents and the review queue

The full list is on The prem command, which is generated from the program.

Connect an assistant

Agents connect over MCP at /mcp in the same process, with their token. They get two read-only tools, search_knowledge and get_document_section, and no tool that writes, stores or remembers anything. For an agent that only speaks stdio, Premagentic.McpServer is a bridge. How to connect one: Connect an assistant.

A person can connect their own assistant at /portal/connect: the agent it makes acts as that person and nothing more, its token is shown once beside the configuration for the assistant they use, and they can revoke it there. An administrator bounds how many each person may have with agents.self_service_max (0 turns it off) and can reword any configuration with connect.snippets. An administrator can give every assistant the deployment's own instructions with prem settings set mcp.instructions " ": a client that reads what a server sends at connect receives them, they are served as the resource premagentic://instructions, and the connect page shows them for pasting into AGENTS.md, CLAUDE.md or a client's own instructions.

See it

*Folder rules decide who may read what. The first entry that names the caller decides, and no match is a deny.*

*Ask why for any person and any document, and PremAgentic shows the rule and every gate. Here a contractor is held back from the greenhouse notes.*

*Every agent carries where its model runs. Move one to a hosted model and the folders kept from hosted-model agents close to it on its next call.*

*The audit shows who asked, under which policy, where the model ran and every passage served, filtered here to what went to hosted-model agents.*

Documentation

  • Start: What PremAgentic is, Getting started, Connect an assistant
  • How it decides: Access, Lifecycle, trust and freshness, Administration
  • Operate: Installing, Running it, Upgrading and removing, Configuration, Storage, The fully local stack
  • Extend: Sources, readers and chunkers, Extensions, Writing an extension, Connectors, Profiles, Tuning and the golden set
  • Reference: Surfaces, The prem command, Known state, Roadmap

The index of all of them, with what each covers, is docs/README.md.

Get involved

To contribute see CONTRIBUTING.md; your first pull request asks you to sign the contributor license agreement, once. Questions and ideas go to the repository's Discussions, a first change starts with an issue labeled good first issue, and what comes next is on Roadmap.

Support

Support comes with PremAgentic for Teams, from Agave Information Solutions, LLC: help installing and upgrading, sizing the hardware, mapping an organization's directory and permissions into PremAgentic, and answers from the maintainers. Write to premagentic@agaveis.com.

Questions go to the repository's Discussions and bugs to its issues, where the maintainers read and triage them. Security reports are always answered; see SECURITY.md.

License

PremAgentic is free software under the GNU Affero General Public License, version 3 only (AGPL-3.0-only). See LICENSE and NOTICE. Dependency and model licenses are listed in THIRD-PARTY-NOTICES.md.

Agave Information Solutions, LLC also offers PremAgentic under a commercial license, for building it into a closed product, or running a changed copy for its users without offering them its source. Write to premagentic@agaveis.com.

PremAgentic for Teams is what an organization adds to run PremAgentic for many people. It carries directory group mapping, and audit retention and export. Next in it: sign-in through Microsoft, Google or another OIDC provider, with group sync; connectors that read a source's own permissions, for SharePoint, OneDrive and Windows file shares; the administration API; and a signed installer. Support comes with it.

The add-on installs as one extension on the same extension host, allowed by hash like any other, and it is free for a deployment of up to 10 users. Customers can read the add-on's source.

The

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

问 PopNx