Symbols

io.github.p1va由 GitHub 账号 p1va 发布v1.0.0更新于 Oct 24, 2026

MCP server to read, inspect and troubleshoot codebase symbols

已验证STDIO仅桌面知识与记忆开发者工具

概览

AI 生成的概览

一个本地 MCP 服务器,通过连接语言服务器,让助手读取、导航、搜索并重命名代码库中的符号。

可以做什么
列出文件中的代码符号大纲,可选附带一小段代码片段;查看符号的文档、声明与实现位置,包括第三方符号。在整个代码库中搜索匹配的符号,并查找某个符号的所有引用。查看可调用符号的传入与传出调用关系。重命名代码库中某个符号的所有引用。读取指定文件中的活动诊断信息,并获取某位置的上下文补全。重新加载有效配置并应用到正在运行的语言服务器,并以资源形式读取已配置的语言服务器档案及其日志。
适用场景
适合在真实代码库中工作的编码助手,需要符号级导航、交叉引用、调用图和诊断信息,而不是纯文本搜索;也适合排查工作区中语言服务器的配置问题。
运行要求
以本地进程通过 stdio 运行,来自 npm 包 @p1va/symbols,需要 Node.js 和包运行工具。需要为工作区中的语言安装并配置一个或多个语言服务器;README 建议让助手完成安装与配置。未声明认证、环境变量或请求头。
安装前请注意
重命名工具会改动代码库中某个符号的所有引用,接受前应确认影响范围。install-language-server 技能会在机器上安装和配置语言服务器。以资源形式暴露的语言服务器日志可能包含本地路径或其他工作区信息。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Symbols,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Symbols MCP

Read, inspect and navigate through codebase symbols by connecting to Language Servers.

[NPM Version]

Introduction

By connecting to a Language Server of choice this MCP server makes it easy and efficient for coding agents to explore and navigate the codebase and its dependencies. The server offers a minimal set of tools, resources and skills intended to be simple to use and light on the model's context.

Tools

  • outline: returns an outline of code symbols in a file, optionally with a small code snippet
  • inspect: returns docs, declaration and implementation locations for a symbol, including third-party ones
  • search: returns matching symbols across the codebase
  • references: finds all references of a symbol across the codebase
  • call_hierarchy: returns incoming and outgoing call relationships for a callable symbol
  • rename: renames all references of a symbol across the codebase
  • diagnostics: returns active diagnostics in a given file
  • completion: returns contextual completions at a given location
  • reload: reloads the effective config and reapplies it to currently running language servers

Resources

  • language-servers://profiles: returns the configured language servers along with their state.
  • language-servers://profiles/{name}: returns a more detailed view of one language server.
  • language-servers://profiles/{name}/logs: returns the Language Server logs for troubleshooting.

Skills

  • install-language-server: installs, configures, validates, or troubleshoots a language-server profile for the current workspace.
  • language-server-navigation: guides symbol inspection, references, rename, diagnostics, and search through Language Server tools before falling back to text search.

Installation

Codex

bash
codex plugin marketplace add p1va/symbolscodex plugin add symbols@symbols

Then ask Codex:

Please install and configure the language servers relevant to this codebase

Antigravity

bash
agy plugin install https://github.com/p1va/symbols.git

Then ask Antigravity:

Install and configure the language servers relevant to this codebase.

Manual Installation

For manual configuration and language servers examples see here.

Development

  • pnpm lint outputs the lint violations
  • pnpm lint:fix attempts to fix lint violations
  • pnpm format formats the codebase
  • pnpm format:check checks formatting without changing files
  • pnpm dev starts in development mode
  • pnpm build runs the linter and build
  • pnpm start starts the built artifacts
  • pnpm test:unit runs the unit tests
  • pnpm test:integration:{language id} runs the integration tests for a given language

Release

  • pnpm version patch to synchronize generated assets, bump the version, and create a single commit and tag. Use minor or major when appropriate.
  • git push --follow-tags to push the commit and tag.

The version lifecycle checks formatting, mirrors .agents/skills/ into the Antigravity and Codex distributions, and updates the versioned Codex plugin manifest before the commit and tag are created.

来源:README.md,提交 9e39c03

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分