Skip to content
Claude Desktop

dafny mcp for Claude Desktop

io.github.mrfentmen/dafny-mcp

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

client:Claude Desktop transport:stdio runtime:npm

Install dafny mcp in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

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

Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs

dafny mcp in other clients