H
mcp-gopls
By hloiseaufcms·Visit Source
用于Go语言服务器协议(LSP)集成的MCP服务器
2025年4月17日
7 days ago
0 Clicks
什么是MCP
这是一个模型上下文协议服务器,将AI助手与Go语言服务器协议(gopls)连接,为Go项目提供高级代码分析功能。
如何使用这个MCP
通过go install安装,然后在兼容MCP的工具中配置,将服务器命令添加到您的配置中。该服务器提供诸如go_to_definition(跳转到定义)、find_references(查找引用)和get_hover_info(获取悬停信息)等工具。
这个MCP的用途
通过直接在AI交互中提供LSP驱动的功能(如代码导航、诊断、悬停信息和补全建议),增强AI助手在Go开发中的能力。
Repository Info
Stars:
79
Forks:
11
Watchers:
79
Last Updated: 8 days ago
Sponsored
Vernclaw Plugins for OpenClaw
Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.
