# Fantom MCP

> Fantom MCP is an open-source MCP server. Fantom MCP: 20 real tools to read, check, lint, scaffold, build and run Fantom code. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/mrfentmen/awesome-servers
- **MCP Registry name:** io.github.mrfentmen/fantom-mcp
- **Listing updated:** 2026-11-13

## About

Fantom MCP: 20 real tools to read, check, lint, scaffold, build and run Fantom code.

## Install

### Claude Code (Terminal)

```sh
claude mcp add fantom-mcp -- npx -y @mrfentmen/fantom-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "fantom-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/fantom-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "fantom-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/fantom-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "fantom-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/fantom-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "fantom-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/fantom-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "fantom-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mrfentmen/fantom-mcp"
      ]
    }
  }
}
```

## FAQ

### Is Fantom MCP free?

Yes. Fantom MCP is open source, so you can use and self-host it for free.

### How do I add Fantom MCP to Claude Code?

Run this command in your terminal: claude mcp add fantom-mcp -- npx -y @mrfentmen/fantom-mcp

---
Source: https://ai-powered.com/mcp/fantom-mcp
