symbols-mcp
Symbols MCP
通过连接到语言服务器来读取、检查和导航代码库符号。
简介
通过连接到选定的语言服务器,此 MCP 服务器使编码代理能够轻松高效地探索和导航代码库及其依赖项。 该服务器提供了一组最小化的工具、资源和技能,旨在简单易用且对模型的上下文占用较小。
工具
outline:返回文件中代码符号的大纲,可选择包含一小段代码片段inspect:返回符号的文档、声明和实现位置,包括第三方符号search:返回代码库中匹配的符号references:查找代码库中符号的所有引用call_hierarchy:返回可调用符号的传入和传出调用关系rename:重命名代码库中符号的所有引用diagnostics:返回给定文件中活动的诊断信息completion:返回给定位置的上下文补全reload:重新加载有效配置并将其重新应用于当前运行的语言服务器
资源
language-servers://profiles:返回已配置的语言服务器及其状态。language-servers://profiles/{name}:返回某个语言服务器的更详细视图。language-servers://profiles/{name}/logs:返回用于故障排除的语言服务器日志。
技能
install-language-server:为当前工作区安装、配置、验证或排查语言服务器配置文件。language-server-navigation:在回退到文本搜索之前,通过语言服务器工具引导符号检查、引用、重命名、诊断和搜索。
Related MCP server: Serena
安装
代理安装
安装 MCP 服务器、通过插件和扩展安装代理技能,然后要求代理为代码库安装任何相关的语言服务器。
添加扩展:
gemini extensions install p1va/symbols询问 Gemini:
Please install the language servers relevant to this codebase
添加 MCP 服务器:
codex mcp add language-servers -- npx -y @p1va/symbols@latest start添加语言服务器技能:
npx skills add p1va/symbols -a codex询问 Codex:
Please install the language servers relevant to this codebase
手动安装
有关手动配置和语言服务器示例,请参阅 此处。
开发
pnpm lint输出 lint 违规信息pnpm lint:fix尝试修复 lint 违规pnpm format格式化代码库pnpm dev以开发模式启动pnpm build运行 linter 和构建pnpm start启动构建后的产物pnpm test:unit运行单元测试pnpm test:integration:{language id}运行给定语言的集成测试
发布
pnpm sync:skills将.agents/skills/同步到:Gemini 扩展的
skills/Codex 插件的
plugins/symbols/skills/。
pnpm version patch增加版本号并创建标签。然后:pnpm sync:version更新插件和扩展清单。git push --follow-tags推送提交和标签。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Ask a codebase what calls what: search, blast radius, paths between symbols, and diffs.
Lean 4 MCP server: compile, prove theorems, and formalize math with Mathlib.
Code intelligence for coding agents: semantic, AST, graph, and full-text search. 279+ languages.
Ground-truth code graph for your codebase: exact callers, callees, symbols & dependencies.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceRuns a language server and provides tools for communicating with it. Language servers excel at tasks that LLMs often struggle with, such as precisely understanding types, understanding relationships, and providing accurate symbol references.1,586BSD 3-Clause
- AlicenseAqualityAmaintenanceA fully featured coding agent that uses symbolic operations (enabled by language servers) and works well even in large code bases. Essentially a free to use alternative to Cursor and Windsurf Agents, Cline, Roo Code and others.2928,582MIT
- AlicenseBqualityCmaintenanceProvides Java development capabilities through Eclipse JDT.LS, enabling symbol navigation, code diagnostics, workspace searching, and Javadoc access across Java projects.10MIT
- AlicenseNot gradedqualityDmaintenanceExposes Language Server Protocol (LSP) features as MCP tools, enabling IDE-grade semantic navigation including go-to-definition, find references, hover info, and symbols across multiple programming languages (Python, Rust, C/C++, TypeScript/JavaScript, React, HTML, CSS).3MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/p1va/symbols'
If you have feedback or need assistance with the MCP directory API, please join our Discord server