ibm/fp-go/fp-go-mcp
Claude Code and agent skill by ibm/fp-go
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Use this skill when working with the fp-go MCP (Model Context Protocol) server located in github.com/IBM/fp-go/gen/v2. Trigger on mentions of MCP server, fp-go MCP tools, list_skills, use_skill, search_examples, get_example, configuring fp-go for Claude Desktop, or when the user needs to access fp-go examples and skills programmatically. This skill explains how to configure and use the MCP server to access fp-go documentation, examples, and skills.
Install
npx vskill@latest install ibm/fp-go/fp-go-mcpSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as ibm/fp-go/fp-go-mcp.
fp-go MCP Server
Overview
The fp-go MCP (Model Context Protocol) server provides programmatic access to fp-go skills, examples, and documentation. It's located in github.com/IBM/fp-go/gen/v2 and can be integrated into any MCP-compatible client such as Claude Desktop.
Prerequisite: the working directory must contain a go.mod that lists github.com/IBM/fp-go/gen/v2 as a tool dependency (added via go get -tool). The server is launched with go tool gen mcp and uses stdio transport, so no global installation is needed.
The fp-go MCP server exposes four tools:
- `list_skills` — List all available fp-go skills
- `use_skill` — Retrieve the full content of a specific skill
- `search_examples` — Search for Go examples using full-text search
- `get_example` — Retrieve a specific example by symbol name
Installation
Add the fp-go generator as a tool dependency in your project:
This makes the tool available via go tool gen without requiring global installation.
Configuration
For Claude Code
Run in the project directory (the one whose go.mod has the tool dependency):
For Claude Desktop (Anthropic)
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
After configuration, restart Claude Desktop to activate the server.
For Other MCP Clients
The server uses stdio transport and follows the MCP specification. Configure your client to:
- Execute:
go tool gen mcp - Use stdio for communication
- Optionally add
--verboseflag for debugging
Available Tools
1. list_skills
Description: List all available fp-go skills with their names, descriptions, and paths.
Parameters: None
Returns:
Example Usage:
Use Cases:
- Discover available skills
- Find skills for specific topics
- Get an overview of fp-go documentation
2. use_skill
Description: Retrieve the full content of a specific skill by name.
Parameters:
name(required): The skill name fromlist_skills(e.g., "fp-go", "fp-go-pipe-flow")
Returns:
Example Usage:
Use Cases:
- Load detailed documentation for a specific topic
- Get best practices and examples
- Reference API patterns
Note: The content excludes the YAML frontmatter header — only the markdown content is returned.
3. search_examples
Description: Search for Go examples using full-text search across example names, symbols, packages, documentation comments, and code.
Parameters:
query(required): a SQLite FTS5 `MATCH` expression, passed verbatim — not free text and not Go syntax (see Query Rules below)package_filter(optional): Filter by package, the path relative to the module root (e.g., "option", "either", "samples/mostly-adequate")
Returns:
Query Rules (violating them yields fts5: syntax error or no such column):
- Bare words only. Identifiers and plain words such as
TraverseArrayorCurry1 reader. - No dots, no package qualifiers.
P.Andorreader.Curry1is a syntax error. Drop the qualifier and put the package intopackage_filter:query="And", package_filter="predicate". - No unquoted punctuation.
. : , ( ) [ ] - + ^are FTS5 operators or invalid (foo-baris read as columnbar). Wrap such text in double quotes to make it a phrase: the query"reader.Curry1"(quotes included) matches the adjacent wordsreaderCurry1. - Words are ANDed.
And predicate negation Notrequires all four words in one example and usually finds nothing. Use 1–3 identifiers, or widen withOR:Not OR And. - Whole-word, case-insensitive matching.
Currydoes not matchCurry1; use the prefix wildcardCurry*. - Operators
AND,OR,NOTmust be uppercase;NOTis binary (Map NOT Option), it cannot start a query.
Search Syntax (the values below are the raw query strings):
- Simple terms:
Map— finds examples mentioning Map - Phrases:
"point free"— exact phrase match (the double quotes are part of the query) - Boolean:
Map AND Option— both terms required (same asMap Option) - Alternatives:
Chain OR FlatMap— either term - Wildcards:
Trav*— matches Traverse, TraverseArray, etc. - Package filter:
query="Map", package_filter="option"— only option package
| Instead of | Use | |
|---|---|---|
P.And predicate negation Not | query="And OR Not", package_filter="predicate" | |
reader.Curry1 Curry curried method | query="Curry*" (add package_filter="reader" only if that package has matching examples) | |
O.Map | query="Map", package_filter="option" | |
to-option | query="ToOption" |
package_filter must equal the package path relative to the module root exactly (option, array, samples/mostly-adequate); if a filtered search returns nothing, retry without the filter — not every package has examples for every function.
For an exact lookup of a known symbol, get_example is simpler than search_examples.
Example Usage:
Use Cases:
- Find examples for specific functions
- Discover usage patterns
- Learn from working code
- Find examples in a specific package
Limits: Returns up to 10 results, ranked by relevance.
4. get_example
Description: Retrieve examples by symbol name. Matches the symbol or example function name exactly or as a substring, across all packages.
Parameters:
symbol(required): Symbol name without package qualifier (e.g., "Map", "Type.Method") or example function name (e.g., "ExampleMap")."Map"also returnsMapLeft,BiMap, … from every package; usesearch_exampleswithpackage_filterto narrow to one package.
Returns:
Example Usage:
Use Cases:
- Get a specific example by name
- Retrieve all examples for a symbol
- Access complete example code with imports and output
Note: A package-qualified name such as Array.Map or O.Map matches nothing, because the stored symbol is Map.
Workflow Examples
Discovering and Using Skills
Finding Examples
Combined Workflow
Troubleshooting
Server Won't Start
Issue: Tool not found or not working
Solution: Ensure the tool is installed in your project:
Then run with:
No Skills Found
Issue: list_skills returns empty list
Solution: The skills are embedded at build time. Update the tool:
Search Returns No Results
Issue: search_examples finds nothing
Solution:
- Check your search query syntax against the Query Rules (SQLite FTS5): no dots, no punctuation, few words
- Try broader terms (e.g., "Map" with
package_filter="option"instead of "Option.Map"), or a prefix (Curry*) - Verify the examples database is embedded (rebuild if needed)
Verbose Logging
Enable verbose mode to see detailed execution:
Logs go to stderr and include:
- Tool registration
- Tool calls with parameters
- Query execution
- Result counts
Best Practices
For AI Assistants
- Start with list_skills — Discover available skills before loading
- Load skills on demand — Use
use_skillwhen needed, not preemptively - Search before get — Use
search_examplesto find relevant examples, thenget_examplefor details - Cache skill content — Skills don't change during a session
- Use package filters — Narrow search results with
package_filter
For Users
- Keep the server running — Configure it in your MCP client for persistent access
- Use verbose mode for debugging — Helps diagnose issues
- Update after changes — Run
go get -tool github.com/IBM/fp-go/gen/v2@latestwhen fp-go or skills are updated - Combine tools — Use skills for concepts, examples for code
Security Considerations
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/fp-go-mcp/SKILL.md
Popularity
- Repository stars
- 2,034
- Repository forks
- 88
- 7-day trend score
- 38
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ibm/fp-go/fp-go-mcp)