# Alloy MCP

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

## About

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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

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

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

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

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

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

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

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

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

## FAQ

### Is Alloy MCP free?

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

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

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

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