Scan your whole stack
From OX Research Newsroom
Are you using functype-mcp-server?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v2.2.0
functype-mcp-server was last scanned on 24 Nov 2026 at version 2.2.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 2.2.0 LATEST | 24 Nov 2026 | No rules fired |
| 2.1.0 | 23 Nov 2026 | No rules fired |
| 2.0.0 | 22 Nov 2026 | No rules fired |
| 1.27.2 | 22 Nov 2026 | Not shown |
| 1.27.1 | 20 Nov 2026 | Not shown |
Findings for v2.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 2.2.0; other versions have their own rules, not their own score.
0 CRITICAL 1 HIGH 0 MEDIUM 0 LOW
The publisher’s own README, as collected from the registry.
MCP server for functype — documentation lookup and compile-time TypeScript code validation for AI editors.
This package is part of the functype monorepo.
search_docs — Search functype documentation by keyword or type nameget_type_api — Detailed API reference for any type (Option, Either, List, IO, etc.)get_interfaces — Interface hierarchy (Functor, Monad, Foldable, Extractable, etc.)validate_code — Type-check functype code snippets using the TypeScript Compiler API, then lint them with eslint-plugin-functype's recommended presetset_functype_version — Switch functype version at runtime (installs + reloads docs and types)The validate_code tool is the killer feature: an LLM writes functype code, calls the tool, gets back type errors and lint errors, and fixes them before showing the user. The lint errors are the ones a project's build reports with the same preset. A snippet can still pass here and fail there: an inline eslint-disable comment is honored here, as in a build; .tsx isn't parsed; and code that doesn't type-check, such as React code without React's types, isn't linted.
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"functype": {
"command": "npx",
"args": ["functype-mcp-server"]
}
}
}
Add to your project's .mcp.json:
{
"mcpServers": {
"functype": {
"command": "npx",
"args": ["functype-mcp-server"]
}
}
}
git clone https://github.com/jordanburke/functype.git
cd functype/mcp-server
pnpm install
pnpm build
Then configure your MCP client to use node dist/bin.js.
search_docsSearch functype documentation. Omit query for a full overview.
query?: string — Type name or keyword (e.g., "Option", "map", "Foldable")
get_type_apiGet detailed API reference for a specific type.
type_name: string — e.g., "Option", "Either", "List", "IO"
include_full_interface?: bool — Include full TypeScript interface definition
get_interfacesGet the interface hierarchy — Functor, Monad, Foldable, Extractable, etc.
No parameters.
validate_codeType-check a functype code snippet using the TypeScript compiler, then lint it with eslint-plugin-functype's recommended preset.
code: string — TypeScript code to validate
auto_import?: bool — Auto-import functype types if no import present (default: true)
lint?: bool — Also run the lint preset once the code type-checks (default: true)
Returns Validation PASSED, or the type errors (line, column, message, TS error code) and the lint errors (line, column, message, rule).
error or off. The type-aware rules run too, such as no-floating-result on a dropped Either and no-array-mutation on a push: the linter reuses the program the type check built.lint: false to check types alone.set_functype_versionSwitch the functype version at runtime. Installs the specified version and reloads all documentation and type definitions.
version: string — Version to install (e.g., "0.47.0", "latest", ...)
Requires functype >= 0.47.0 for full documentation support. Older versions will still work for type-checking via validate_code.
| Variable | Default | Description |
|---|---|---|
TRANSPORT_TYPE |
stdio |
Transport mode: stdio or httpStream |
PORT |
3000 |
HTTP port (when using httpStream) |
HOST |
127.0.0.1 |
HTTP host (when using httpStream). Set 0.0.0.0 to bind all interfaces |
Security note. set_functype_version installs a package and dynamic-imports it, so it is only registered when TRANSPORT_TYPE=stdio (the default). Over HTTP, an unauthenticated caller could otherwise downgrade functype to a vulnerable version. The HTTP listener also defaults to 127.0.0.1 — set HOST=0.0.0.0 explicitly if you really want to bind publicly, and front it with auth.
pnpm validate # format + lint + typecheck + test + build
pnpm test # Run tests
pnpm inspect # Build + launch MCP Inspector
pnpm serve:dev # Dev server with tsx watch
MIT
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.