# Godoc Mcp Server

> A mcp server provide infomation from pkg.go.dev. For all golang programmers

- **Type:** MCP server
- **Install:** `agentstack add mcp-yikakia-godoc-mcp-server`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [yikakia](https://agentstack.voostack.com/s/yikakia)
- **Installs:** 0
- **Category:** [Integrations](https://agentstack.voostack.com/c/integrations)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [yikakia](https://github.com/yikakia)
- **Source:** https://github.com/yikakia/godoc-mcp-server

## Install

```sh
agentstack add mcp-yikakia-godoc-mcp-server
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# godoc-mcp-server

search golang packages and their docs from pkg.go.dev, provide the infomation to llm as mcp server

## Install

You can download the compiled binary from the [releases page](https://github.com/yikakia/godoc-mcp-server/releases/tag/latest).

Or you can install it from source, compile it by yourself:

```shell
go install github.com/yikakia/godoc-mcp-server/cmd/godoc-mcp-server@latest
```

## Usage

just use your client to request. it servers on stdio

## Todo

- localCache
  - [x] use a local cache to avoid search every time(From reddit user)
- searchPackage
  - [x] imported by how many packages
- getPackageInfo
  - [x] fixme: subpackage need new adapter
  - [x] get examples
- release
  - [x] use github actions to release for multiple platforms

## Develop Experience
The description is very important, when describing the param should tell the client how 
to use one tool's output and change the format to match another tool's input.

For example, the output of `searchPackage` contains subpackage's name, but do not contain
the package's name. So if want the llm to use `getPackageInfo` to get the subpackage's info,
I wrote the description for param `packageName` about how to use it to work with `searchPackage`:

> package name for search. if use searchPackages before, and user want to get the 
subpackage info. you should plus them for example, when user query mcp, and it return 
packageName: github.com/mark3labs/mcp-go/mcp and subpackage client, then if user want 
to get the client package info, you should set the packageName to 
github.com/mark3labs/mcp-go/mcp/client rather than client

When using this detail description, the llm will tell you some subpackage's name after 
search. You can just tell it which package you want to get info, or which package and the 
subpackage's name, it will combine them and call `getPackageInfo` to get the info.

So maybe we should make the description configurable by user, to make the tool more useful
and efficiency.

## Library Usage

The exported Go API of this module should currently be considered unstable, and subject to 
breaking changes. In the future, we may offer stability; please file an issue if there is 
a use case where this would be valuable.

## License

This project is licensed under the terms of the MIT open source license. Please refer 
to [MIT](./LICENSE) for the full terms.

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [yikakia](https://github.com/yikakia)
- **Source:** [yikakia/godoc-mcp-server](https://github.com/yikakia/godoc-mcp-server)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-yikakia-godoc-mcp-server
- Seller: https://agentstack.voostack.com/s/yikakia
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
