
Symbols
io.github.p1va由 GitHub 帳號 p1va 發布v1.0.0更新於 Oct 24, 2026
MCP server to read, inspect and troubleshoot codebase symbols
概覽
一個本機 MCP 伺服器,透過連接語言伺服器,讓助理讀取、瀏覽、搜尋並重新命名程式碼庫中的符號。
- 可以做什麼
- 列出檔案中的程式碼符號大綱,可選擇附上一小段程式碼片段;檢視符號的文件、宣告與實作位置,包含第三方符號。在整個程式碼庫中搜尋相符的符號,並找出某個符號的所有參照。檢視可呼叫符號的傳入與傳出呼叫關係。重新命名程式碼庫中某個符號的所有參照。讀取指定檔案中作用中的診斷訊息,並取得某個位置的上下文補全。重新載入有效設定並套用到執行中的語言伺服器,並以資源形式讀取已設定的語言伺服器設定檔及其日誌。
- 適用情境
- 適合在真實程式碼庫中工作的編碼助理,需要符號層級的瀏覽、交叉參照、呼叫圖與診斷資訊,而非純文字搜尋;也適合排查工作區中語言伺服器的設定問題。
- 執行需求
- 以本機程序透過 stdio 執行,來自 npm 套件 @p1va/symbols,需要 Node.js 與套件執行工具。需要為工作區中的語言安裝並設定一個或多個語言伺服器;README 建議請助理完成安裝與設定。未宣告驗證、環境變數或請求標頭。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Symbols,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Symbols MCP
Read, inspect and navigate through codebase symbols by connecting to Language Servers.
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 snippetinspect: returns docs, declaration and implementation locations for a symbol, including third-party onessearch: returns matching symbols across the codebasereferences: finds all references of a symbol across the codebasecall_hierarchy: returns incoming and outgoing call relationships for a callable symbolrename: renames all references of a symbol across the codebasediagnostics: returns active diagnostics in a given filecompletion: returns contextual completions at a given locationreload: 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
Then ask Codex:
Please install and configure the language servers relevant to this codebase
Antigravity
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 lintoutputs the lint violationspnpm lint:fixattempts to fix lint violationspnpm formatformats the codebasepnpm format:checkchecks formatting without changing filespnpm devstarts in development modepnpm buildruns the linter and buildpnpm startstarts the built artifactspnpm test:unitruns the unit testspnpm test:integration:{language id}runs the integration tests for a given language
Release
pnpm version patchto synchronize generated assets, bump the version, and create a single commit and tag. Useminorormajorwhen appropriate.git push --follow-tagsto 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版本歷史
1- v1.0.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分