# Apex MCP

> Apex MCP is an open-source MCP server. Apex MCP: 20 real tools to read, check, lint, scaffold, build and run Apex 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/apex-mcp
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

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

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

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

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

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

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

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

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

## FAQ

### Is Apex MCP free?

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

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

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

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