functype-mcp-server
v1.26.0MCP server for functype documentation lookup and TypeScript code validation
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_docs
Search functype documentation by keyword or type name. Omit query for a full overview of all types and categories.
| Parameter | Type | Description |
|---|---|---|
query | string | Type name or keyword to search for. Omit for full overview. |
get_type_api
Get detailed API reference for a specific functype type including methods by category and optionally the full TypeScript interface definition.
| Parameter | Type | Description |
|---|---|---|
type_name * | string | The type name (e.g., Option, Either, List, IO) |
include_full_interface | boolean | Include full TypeScript interface definition |
get_interfaces
Get the functype interface hierarchy — Functor, Monad, Foldable, Extractable, Matchable, etc. — with their methods and inheritance.
validate_code
Type-check a functype code snippet using the TypeScript compiler. Returns PASSED or a list of type errors with line/column/message. Use this to verify functype code is type-correct before presenting to users.
| Parameter | Type | Description |
|---|---|---|
code * | string | TypeScript code snippet using functype to type-check |
auto_import | boolean | Automatically import all functype types if no import statement is present. Default: true |
set_functype_version
Switch the functype version at runtime. Installs the specified version and reloads all documentation and type definitions. Stdio transport only.
| Parameter | Type | Description |
|---|---|---|
version * | string | The functype version to install (e.g., "0.46.0", "latest", "^0.45.0") |