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

Glasir

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

安装

概览

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

A queryable graph of a codebase: impact, callers, tests to run, history. No model, no network.

PopNx MCP 的三大支柱

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

它能帮你做什么

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

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 开发者工具

安装

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

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

你用的是哪个应用?

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

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

{
  "mcpServers": {
    "glasir": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/attackwave/glasir:v0.11.6",
        "serve",
        "/tree"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add glasir -- docker run -i --rm ghcr.io/attackwave/glasir:v0.11.6 serve /tree

在 Cursor 中打开

或者自己复制设置

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

{
  "mcpServers": {
    "glasir": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/attackwave/glasir:v0.11.6",
        "serve",
        "/tree"
      ]
    }
  }
}

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

在 VS Code 中打开

或者自己复制设置

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

{
  "servers": {
    "glasir": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/attackwave/glasir:v0.11.6",
        "serve",
        "/tree"
      ]
    }
  }
}

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

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

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

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

它能做什么

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

基础检查i

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

  • ✓ 通过

    作者与仓库一致

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

  • … 尚未检查

    仍在维护

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

  • … 尚未检查

    有许可证

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

  • – 不适用

    端点有响应

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

  • – 不适用

    使用 OAuth 登录

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

  • … 尚未检查

    工具描述中没有隐藏指令

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

与“开发者工具”中的其他服务器比较i

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

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

常见问题

Glasir 安全吗?

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

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

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

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

它还在维护吗?

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

哪些应用可以使用它?

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

有什么可以替代它?

同一分类中有:GitHub, Desktop Commander, Cloudflare MCP

替代选择

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

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

GitHub

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

作者:github广泛使用★ 3.4万5天前更新

电脑或云端

Desktop Commander

MCP server for terminal commands, file operations, and process management

作者:wonderwhy-er广泛使用↓ 71万/周★ 1万17天前更新

在你的电脑上运行

Cloudflare MCP

Cloudflare MCP servers

作者:cloudflare正在增长★ 444614个月前更新

在云端运行✓ mcp.cloudflare.com

作者的 README

打开 README

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

Glasir

Deterministic code intelligence for repositories. Glasir builds a local, queryable graph of definitions, references, dependencies, and change impact, then serves bounded evidence over MCP. It gives engineering tools structural answers instead of an unfiltered file dump: what calls this, what breaks if it changes, and how two symbols connect.

*Glasir is the tree with golden leaves that stands before Valhalla, "the fairest among gods and men" — a tree whose every branch is visible from the ground.*

One Rust binary. No Python, no Node, no database, no GPU, and no model anywhere in the index or query path — the same tree and the same question always produce the same answer.

Production deployments pair the Core with Glasir Control for tenant policy,

mTLS boundaries, audited administration, cross-repository review, and

provider pull-request checks.

Quickstart

Install with the package manager you already use:

brew install attackwave/glasir/glasir                      # macOS, Linux

scoop bucket add glasir https://github.com/Attackwave/scoop-glasir scoop install glasir # Windows

Or download the archive for your platform from Releases, check it against the .sha256 beside it or its build provenance (gh attestation verify --repo Attackwave/glasir), and put glasir on your PATH:

PlatformArchive
Linux x86_64glasir- -linux-x86_64.tar.gz
Linux ARM64glasir- -linux-arm64.tar.gz
macOS Apple Siliconglasir- -macos-arm64.tar.gz
macOS Intelglasir- -macos-x86_64.tar.gz
Windows x86_64glasir- -windows-x86_64.zip

The Linux binaries are statically linked and run on any distribution, including Alpine and older enterprise releases. A binary downloaded by hand on macOS is not yet notarized, so macOS refuses its first start; clear the flag once, after checking the checksum: xattr -d com.apple.quarantine glasir. Homebrew installs are not affected.

Clients that read the MCP registry list Glasir as io.github.Attackwave/glasir; that entry runs the container image with the repository mounted read-only.

Then, in the repository you want to ask about:

glasir install .

That finds the coding assistants installed on your machine — by their program on PATH, their settings in your home directory, or their files in the project — and registers Glasir with each, in the project's own configuration:

AssistantFile
Claude Code.mcp.json
Codex.codex/config.toml
Gemini CLI.gemini/settings.json
Qwen Code.qwen/settings.json
Antigravity.agents/mcp_config.json
Cursor.cursor/mcp.json
VS Code (Copilot).vscode/mcp.json
OpenCodeopencode.json

The server it registers runs with --watch, so the graph follows your edits while the assistant runs. It also installs git hooks that keep the graph current after a pull, checkout or rebase. For Claude Code it adds a SessionStart hook to .claude/settings.local.json: in an analysed tree, the session starts with a note to load the graph tools, because Claude Code defers MCP tools and an assistant that has not loaded them searches text instead. --no-hook skips both kinds. A registration file it creates holds absolute paths to your machine, so it is added to .gitignore; one your team already tracks is merged into, never replaced, and nothing in your home directory is touched. With no assistant detected it writes a neutral glasir-mcp.json for any MCP client. --platform picks one explicitly.

Several assistants on one tree share one server. What a client starts is a small relay to that tree's backend, which it starts when none runs: one graph, one watcher, whatever number of assistants are open. The backend ends a minute after the last client closes, and is started again when one returns. After ten minutes without a request it lets the graph go and stops watching, and the next request loads it again (--sleep-after , 0 keeps it). A relay a client forgets to close costs a few megabytes and no CPU. glasir servers lists what runs; --stop-replaced ends a server a client replaced without closing it. On Windows each client keeps its own server.

Most assistants ask before they start a new server: Claude Code and Qwen Code want the server approved, Codex and Gemini CLI read project settings only in a folder you have trusted, and Antigravity asks before its first use of an MCP tool. install prints the step for each one it wrote.

In Claude Code the plugin does the same without a step per repository, once glasir is on your PATH:

/plugin marketplace add Attackwave/glasir

/plugin install glasir@glasir

It serves whichever git repository a session starts in, and starts nothing elsewhere. Its generated files go into .git/info/exclude, so nothing tracked changes. Use the plugin or glasir install in a tree, not both: each brings its own copy of the server.

Restart the assistant and ask it something about the code: *"what breaks if I change parse_config?"*, *"how does a request reach the database?"*. The answers come from impact, query_graph, shortest_path and twelve more tools listed under What it serves.

glasir status .             # what is registered, what the graph holds

glasir why "your question" # what the search saw, when an answer surprises you glasir view . # the graph as a map in the browser, one region per subsystem glasir review # the uncommitted change as a Markdown review: risk, dependents, tests glasir export . > graph.json # the graph as node-link JSON, for another tool glasir servers # running servers; --stop-replaced ends those a client replaced glasir uninstall . # remove the registration and the hooks

What gets indexed

Everything your .gitignore files leave in, at every level of the tree, minus build output and dependencies (target, node_modules, dot-directories). A .glasirignore beside them uses the same syntax and wins over them, so it can both exclude more and bring back what git ignores:

# .glasirignore

!plan.md # untracked, but worth asking about !/reference/ # git ignores the whole directory ... /reference/scans/ # ... of which only this part stays out

A tree holding a copy of itself, such as an amalgamated header or a vendored snapshot, defines each name twice, and calls to an ambiguous name stay unlinked. overview names such directories; exclude the copy here.

As in git, a file inside an ignored directory comes back only once the directory does (!/reference/ above). Only ignore files inside the tree count — not your global excludes file and not .git/info/exclude — so the same commit gives the same graph on every machine, whatever each developer ignores locally.

Instruction files for coding assistants (AGENTS.md, CLAUDE.md, GEMINI.md and their .local.md variants, COPILOT.md, OPENAI.md, CHATGPT.md) and CONTRIBUTING.md, CHANGELOG.md, CODE_OF_CONDUCT.md are left out by default: they describe how to work on the code in the words a question is asked in, and outrank the code they describe. A project that wants one indexed names it in .glasirignore, e.g. !AGENTS.md. A change to either file takes effect on the next analysis, and immediately under --watch.

Of .github, the workflows, local actions and scripts/ are indexed although it is a dot-directory: a workflow's jobs are symbols, needs connects them, and uses: ./… and the scripts a step runs connect the job to those files, so impact on a script and review of a workflow see each other.

Why a graph

Search finds text. A graph preserves the relationships that make a repository behave as a system.

For example, answering "what is affected if authorize changes?" with search requires finding candidate files, interpreting each call site, and repeatedly reconstructing transitive dependencies. impact follows stored, provenance-labelled edges and returns affected symbols grouped by distance. Likewise, shortest_path shows the evidence-backed route between two symbols instead of asking a caller to infer one from unrelated file excerpts.

NeedSearch and file readingGlasir
Find text mentioning a nameUsefulUseful
Find direct callersManual interpretation requiredDirect graph query
Assess transitive impactReconstruct dependencies repeatedlyBounded traversal with edge provenance
Explain how A reaches BInfer a path from excerptsReturn a concrete path

The graph does not claim to translate arbitrary natural language. Search uses deterministic identifier and text matching; unresolved or ambiguous symbols remain visible as such rather than being guessed.

Benchmarking

Glasir ships regression benchmarks, not vendor-comparison claims. They compare the checked-in corpus with a documented grep-and-read baseline and fail when a configured recall floor regresses. Results change as the corpus, questions and implementation change, so this README intentionally does not publish static percentages or token counts.

glasir benchmark .

glasir benchmark . --check python3 bench/scale.py target/release/glasir --check # 100k vs 1M lines

Benchmark methodology defines the corpus, baseline, token estimate, limits, and interpretation. It also explains why results from this repository are not a substitute for an evaluation on a customer's code.

Performance

Indexing and query latency depend on source shape, parser tier, storage, hardware, and the requested graph traversal. The analyse command reports the measured cold-index time and graph size for a repository; running it a second time measures snapshot reuse. Evaluate performance with the exact release, repository shape, and deployment limits that will be used in production.

Snapshots are stored beside the source tree and validated before reuse. A warm start maps the stored graph instead of reparsing the full tree, provided the source and extraction configuration still match.

What it serves

Fifteen MCP tools, over stdio for a local editor or Streamable HTTP for a remote agent:

  • overview — the subsystems of an unfamiliar tree and the way into each; in a Rust workspace its crates, and each subsystem named by its crate
  • query_graph — the subgraph relevant to a question; given a file's path, every definition in that file
  • shortest_path — how one symbol reaches another
  • explain_node — callers, callees and subsystem of one symbol
  • impact — what breaks if this changes, grouped by distance
  • cycles — dependency cycles, compiler-resolved edges only by default
  • get_code_snippet — the source a symbol names, from the range the parser recorded, so nothing has to open the file or guess a line; a Markdown section returns that section, not the whole document, and following: N reads on through the next N definitions. An assembly routine that branches or falls into another says where it continues
  • find_callers — the direct callers of one symbol, as one list, and the definitions that use it by name without calling it (a type in a signature, a constant re

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

问 PopNx