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