mcp

command module
v0.0.0-...-3bfbba1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2025 License: MIT Imports: 7 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL