go-common-mcp-server
v2.0.0MCP server for browsing go-common modules, examples, and documentation.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_modules
Returns a list of all root modules in go-common (e.g., db, logger, eventbus).
list_examples
Returns a list of all examples in go-common (e.g., db_mongodb, eventbus).
list_module_files
Returns a list of files for a specific root module.
| Parameter | Type | Description |
|---|---|---|
module_name * | string | The name of the module (e.g., 'db', 'logger'). |
list_example_files
Returns a list of files for a specific example.
| Parameter | Type | Description |
|---|---|---|
example_name * | string | The name of the example (e.g., 'db_mongodb'). |
read_module_file
Reads the content of a specific file inside a root module from GitHub.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | The relative path to the file inside the module (e.g., 'README.md', 'connection.go'). |
module_name * | string | The name of the module. |
read_example_file
Reads the content of a specific file inside an example from GitHub.
| Parameter | Type | Description |
|---|---|---|
example_name * | string | The name of the example. |
file_path * | string | The relative path to the file inside the example (e.g., 'README.md', 'client/main.go', 'config.yaml', or '.env'). |