# mcp.AdvertisedPrompts

**MCP concept example** A working example of the core library. It can change without notice.

- **Module:** mcp
- **Package:** github.com/libtmux/libtmux-go/mcp
- **Language:** Go
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-go/blob/cb862ea833eb8617cc05b81faed805a1109adaca/mcp/prompts.go#L244
- **Page:** https://libtmux.org/en/go/latest/mcp/reference/mcp-advertisedprompts/

```
func AdvertisedPrompts() ([]*sdk.Prompt, error)
```

AdvertisedPrompts returns the prompts a server started now would list, from the same startup selection as [AdvertisedTools]. It starts nothing.
