GC

gofs-cli/mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

0 stars 0 forks 质量 35 趋势 0MIT

gofs mcp server

概览

This is a Model Context Protocol server that provides LLM tools such as Claude Code with direct access to the gofs documentation. The tool fetches the documentation markdown from the gofs-cli/web repository using the Github API. To run this MCP locally run the following commands Then either navigate to the directory of the gofs project you want to use claude code with and run to add the mcp to only that project or from any directory run to allow claude to use the mcp in every directory. This server has a caching feature to speed up fetching the documentation as it is static content that doesn't change often. The cache has a TTL of 1 day. To clear the cache you must explicitly ask claude code to clear it with a prompt such as clear the gofs cache or you can clear it manually in the temp folder at

README

gofs-mcp

This is a Model Context Protocol server that provides LLM tools such as Claude Code with direct access to the gofs documentation.

The tool fetches the documentation markdown from the gofs-cli/web repository using the Github API.

Running

Requirements to build and run

Go, Claude Code

Building the MCP server

To run this MCP locally run the following commands

  go install github.com/gofs-cli/mcp@latest

Using the MCP server

Then either navigate to the directory of the gofs project you want to use claude code with and run

  claude mcp add gofs -- $(go env GOPATH)/bin/mcp

to add the mcp to only that project or from any directory run

  claude mcp add gofs --scope user -- $(go env GOPATH)/bin/mcp

to allow claude to use the mcp in every directory.

Cache

This server has a caching feature to speed up fetching the documentation as it is static content that doesn’t change often. The cache has a TTL of 1 day.

To clear the cache you must explicitly ask claude code to clear it with a prompt such as clear the gofs cache or you can clear it manually in the temp folder at

cd $TMPDIR/gofs-mcp
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →