# Deputy MCP

> Deputy MCP is an open-source MCP server for productivity. Read Deputy rosters, timesheets and shifts from an AI assistant; writes are off by default. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** Self-hosted, CLI
- **Repository:** https://github.com/augbastos/deputy-mcp
- **MCP Registry name:** io.github.augbastos/deputy-mcp
- **Categories:** [productivity](https://ai-powered.com/categories/productivity), [hiring and recruiting](https://ai-powered.com/categories/hiring-and-recruiting)
- **Listing updated:** 2026-11-23

## About

Deputy MCP lets an assistant answer questions such as when you work next, how many hours you logged last week or, with manager access, who is on shift right now. It runs locally over stdio and works with an ordinary employee account through a personal OAuth app, with an admin API token, or with a private iCal calendar feed that shows only your own roster.

Safety is the main design point. The action tools for clocking in and out, setting unavailability and claiming an open shift do not exist unless DEPUTY_ALLOW_WRITES=true, and claiming a shift asks you to confirm because it skips Deputy's approval step. If a name matches several people, you get the list instead of a guess. Tokens are only sent to deputy.com hosts, OAuth tokens go to the OS keychain, and errors are scrubbed of secrets.

The README notes that everyday read tools were tested on a real install with an employee account, while manager tools, actions and token refresh are covered by automated tests only. It is MIT licensed and not affiliated with Deputy. A command-line mode offers the same data.

## Features

- **Own roster and next shift:** See when you work next and your upcoming roster.
- **Timesheets:** Check hours worked over a period.
- **Team view:** Managers can see who is working and search shifts.
- **Three sign-in modes:** OAuth, admin API token or a read-only calendar feed.
- **Opt-in actions:** Clock in or out and claim shifts only when writes are enabled.
- **Credential protection:** Keychain storage and secret-scrubbed errors.

## Good for

- Ask when your next shift starts
- Total last week's hours before payroll
- See who is on shift right now as a manager
- Clock in from chat once writes are enabled

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add deputy-mcp --env DEPUTY_API_TOKEN='<DEPUTY_API_TOKEN>' --env DEPUTY_OAUTH_CLIENT_SECRET='<DEPUTY_OAUTH_CLIENT_SECRET>' --env DEPUTY_CALENDAR_URL='<DEPUTY_CALENDAR_URL>' -- uvx deputy-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "deputy-mcp": {
      "command": "uvx",
      "args": [
        "deputy-mcp"
      ],
      "env": {
        "DEPUTY_API_TOKEN": "<DEPUTY_API_TOKEN>",
        "DEPUTY_OAUTH_CLIENT_SECRET": "<DEPUTY_OAUTH_CLIENT_SECRET>",
        "DEPUTY_CALENDAR_URL": "<DEPUTY_CALENDAR_URL>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "deputy-mcp": {
      "command": "uvx",
      "args": [
        "deputy-mcp"
      ],
      "env": {
        "DEPUTY_API_TOKEN": "<DEPUTY_API_TOKEN>",
        "DEPUTY_OAUTH_CLIENT_SECRET": "<DEPUTY_OAUTH_CLIENT_SECRET>",
        "DEPUTY_CALENDAR_URL": "<DEPUTY_CALENDAR_URL>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

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

```json
{
  "mcpServers": {
    "deputy-mcp": {
      "command": "uvx",
      "args": [
        "deputy-mcp"
      ],
      "env": {
        "DEPUTY_API_TOKEN": "<DEPUTY_API_TOKEN>",
        "DEPUTY_OAUTH_CLIENT_SECRET": "<DEPUTY_OAUTH_CLIENT_SECRET>",
        "DEPUTY_CALENDAR_URL": "<DEPUTY_CALENDAR_URL>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "deputy-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "deputy-mcp"
      ],
      "env": {
        "DEPUTY_API_TOKEN": "<DEPUTY_API_TOKEN>",
        "DEPUTY_OAUTH_CLIENT_SECRET": "<DEPUTY_OAUTH_CLIENT_SECRET>",
        "DEPUTY_CALENDAR_URL": "<DEPUTY_CALENDAR_URL>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add deputy-mcp --env DEPUTY_API_TOKEN='<DEPUTY_API_TOKEN>' --env DEPUTY_OAUTH_CLIENT_SECRET='<DEPUTY_OAUTH_CLIENT_SECRET>' --env DEPUTY_CALENDAR_URL='<DEPUTY_CALENDAR_URL>' -- uvx deputy-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.deputy-mcp]
command = "uvx"
args = ["deputy-mcp"]
env = { DEPUTY_API_TOKEN = "<DEPUTY_API_TOKEN>", DEPUTY_OAUTH_CLIENT_SECRET = "<DEPUTY_OAUTH_CLIENT_SECRET>", DEPUTY_CALENDAR_URL = "<DEPUTY_CALENDAR_URL>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "deputy-mcp": {
      "command": "uvx",
      "args": [
        "deputy-mcp"
      ],
      "env": {
        "DEPUTY_API_TOKEN": "<DEPUTY_API_TOKEN>",
        "DEPUTY_OAUTH_CLIENT_SECRET": "<DEPUTY_OAUTH_CLIENT_SECRET>",
        "DEPUTY_CALENDAR_URL": "<DEPUTY_CALENDAR_URL>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e DEPUTY_API_TOKEN='<DEPUTY_API_TOKEN>' -e DEPUTY_OAUTH_CLIENT_SECRET='<DEPUTY_OAUTH_CLIENT_SECRET>' -e DEPUTY_CALENDAR_URL='<DEPUTY_CALENDAR_URL>' deputy-mcp uvx -- deputy-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "deputy-mcp": {
      "command": "uvx",
      "args": [
        "deputy-mcp"
      ],
      "env": {
        "DEPUTY_API_TOKEN": "<DEPUTY_API_TOKEN>",
        "DEPUTY_OAUTH_CLIENT_SECRET": "<DEPUTY_OAUTH_CLIENT_SECRET>",
        "DEPUTY_CALENDAR_URL": "<DEPUTY_CALENDAR_URL>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "deputy-mcp": {
      "command": "uvx",
      "args": [
        "deputy-mcp"
      ],
      "env": {
        "DEPUTY_API_TOKEN": "<DEPUTY_API_TOKEN>",
        "DEPUTY_OAUTH_CLIENT_SECRET": "<DEPUTY_OAUTH_CLIENT_SECRET>",
        "DEPUTY_CALENDAR_URL": "<DEPUTY_CALENDAR_URL>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "deputy-mcp": {
      "command": "uvx",
      "args": [
        "deputy-mcp"
      ],
      "env": {
        "DEPUTY_API_TOKEN": "<DEPUTY_API_TOKEN>",
        "DEPUTY_OAUTH_CLIENT_SECRET": "<DEPUTY_OAUTH_CLIENT_SECRET>",
        "DEPUTY_CALENDAR_URL": "<DEPUTY_CALENDAR_URL>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "deputy-mcp": {
      "command": "uvx",
      "args": [
        "deputy-mcp"
      ],
      "env": {
        "DEPUTY_API_TOKEN": "<DEPUTY_API_TOKEN>",
        "DEPUTY_OAUTH_CLIENT_SECRET": "<DEPUTY_OAUTH_CLIENT_SECRET>",
        "DEPUTY_CALENDAR_URL": "<DEPUTY_CALENDAR_URL>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "deputy-mcp": {
      "command": "uvx",
      "args": [
        "deputy-mcp"
      ],
      "env": {
        "DEPUTY_API_TOKEN": "<DEPUTY_API_TOKEN>",
        "DEPUTY_OAUTH_CLIENT_SECRET": "<DEPUTY_OAUTH_CLIENT_SECRET>",
        "DEPUTY_CALENDAR_URL": "<DEPUTY_CALENDAR_URL>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "deputy-mcp": {
      "command": "uvx",
      "args": [
        "deputy-mcp"
      ],
      "env": {
        "DEPUTY_API_TOKEN": "<DEPUTY_API_TOKEN>",
        "DEPUTY_OAUTH_CLIENT_SECRET": "<DEPUTY_OAUTH_CLIENT_SECRET>",
        "DEPUTY_CALENDAR_URL": "<DEPUTY_CALENDAR_URL>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "deputy-mcp": {
      "command": "uvx",
      "args": [
        "deputy-mcp"
      ],
      "env": {
        "DEPUTY_API_TOKEN": "<DEPUTY_API_TOKEN>",
        "DEPUTY_OAUTH_CLIENT_SECRET": "<DEPUTY_OAUTH_CLIENT_SECRET>",
        "DEPUTY_CALENDAR_URL": "<DEPUTY_CALENDAR_URL>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

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

```json
{
  "mcpServers": {
    "deputy-mcp": {
      "command": "uvx",
      "args": [
        "deputy-mcp"
      ],
      "env": {
        "DEPUTY_API_TOKEN": "<DEPUTY_API_TOKEN>",
        "DEPUTY_OAUTH_CLIENT_SECRET": "<DEPUTY_OAUTH_CLIENT_SECRET>",
        "DEPUTY_CALENDAR_URL": "<DEPUTY_CALENDAR_URL>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 16 tools changes data; 7 names don't say. From the server's own tool labels and tool names; not verified by us.

- `deputy_whoami`: Shows who the credentials belong to.
- `deputy_get_my_roster` (name suggests: reads): Returns your roster.
- `deputy_next_shift`: Returns your next shift.
- `deputy_get_my_timesheets` (name suggests: reads): Returns your timesheets.
- `deputy_get_my_colleagues` (name suggests: reads): Lists your colleagues.
- `deputy_get_my_calendar_url` (name suggests: reads): Returns your calendar feed link.
- `deputy_get_areas` (name suggests: reads): Lists work areas.
- `deputy_get_team_roster` (name suggests: reads): Team roster for managers.
- `deputy_who_is_working`: Who is on shift now, for managers.
- `deputy_get_employee_info` (name suggests: reads): Employee details for managers.
- `deputy_search_shifts` (name suggests: reads): Searches shifts for managers.
- `deputy_login`: Starts the OAuth browser sign-in.
- `deputy_clock_in`: Clocks you in when writes are enabled.
- `deputy_clock_out`: Clocks you out when writes are enabled.
- `deputy_set_unavailability` (name suggests: changes): Sets unavailability when writes are enabled.
- `deputy_claim_open_shift`: Claims an open shift when writes are enabled.

## FAQ

### Can Deputy MCP change my roster?

Not by default. Action tools appear only when DEPUTY_ALLOW_WRITES is set to true.

### Do I need to be an admin?

No. An employee can use OAuth through a personal app; admins can use an API token.

### What if I have no API access?

Use the calendar feed mode, which shows only your own roster, read-only.

### What does Deputy MCP need to run?

Python 3.11 or newer and uv.

### Is Deputy MCP free?

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

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

Run this command in your terminal: claude mcp add deputy-mcp --env DEPUTY_API_TOKEN='<DEPUTY_API_TOKEN>' --env DEPUTY_OAUTH_CLIENT_SECRET='<DEPUTY_OAUTH_CLIENT_SECRET>' --env DEPUTY_CALENDAR_URL='<DEPUTY_CALENDAR_URL>' -- uvx deputy-mcp

### What are the best alternatives to Deputy MCP?

The closest alternatives to Deputy MCP are Ha MCP, Concord MCP, Open Sunsama, Reactive Resume and Dayfile.app.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Ha MCP](https://ai-powered.com/mcp/ha-mcp): Ha MCP is an open-source MCP server for productivity.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.
- [Open Sunsama](https://ai-powered.com/mcp/open-sunsama): Open Sunsama is an open-source MCP server for productivity.
- [Reactive Resume](https://ai-powered.com/mcp/reactive-resume): Reactive Resume is an open-source MCP server for hiring and recruiting.
- [Dayfile.app](https://ai-powered.com/mcp/dayfile-app): Dayfile.app is an open-source MCP server for productivity.
- [note1](https://ai-powered.com/mcp/note1): note1 is an MCP server for productivity.
- [Softspoken](https://ai-powered.com/mcp/softspoken): Softspoken is an MCP server for productivity.
- [OpenRolesDB](https://ai-powered.com/mcp/openrolesdb): OpenRolesDB is an MCP server for hiring and recruiting.

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