Skip to content
MCP server

Deputy MCP

Read Deputy rosters, timesheets and shifts from an AI assistant; writes are off by default

Runs locally

Deputy MCP is an open-source MCP server for productivity. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
Self-hosted, CLI
Runs
Locally
What it can do
Can change data (1 tool)
Version
0.4.2

Similar MCP servers

Install

Add with the CLI

Run in a 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

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

Or share it with your project

Add to .mcp.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 Code setup guide

Add to claude_desktop_config.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.

Claude Desktop setup guide

Add to ~/.cursor/mcp.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.

Cursor setup guide

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

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

Or add to config.toml

Add to ~/.codex/config.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>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "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>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.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

    Antigravity

    Add to ~/.gemini/config/mcp_config.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.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.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.

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "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.

    Junie

    Add to ~/.junie/mcp/mcp.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.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.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.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • DEPUTY_API_TOKENAPI token mode (all tools): a Deputy API token, created with an admin access level. Pair with DEPUTY_BASE_URL. Configure exactly one of the three authentication modes: API token, OAuth, or iCal feed.
  • DEPUTY_BASE_URLAPI token mode: your Deputy install origin, e.g. https://your-company.eu.deputy.com.
  • DEPUTY_OAUTH_CLIENT_IDOAuth mode (all tools, no admin needed): client id of a personal app registered at https://once.deputy.com/my/oauth_clients with redirect URI http://localhost:8823/callback. Run 'deputy-mcp login' once.
  • DEPUTY_OAUTH_CLIENT_SECRETOAuth mode: client secret of the same app.
  • DEPUTY_CALENDAR_URLiCal feed mode (your own roster only, read-only): your personal Deputy calendar link. It contains a private token.
  • DEPUTY_ALLOW_WRITESSet to true to register the write tools (API token and OAuth modes). Read-only by default.
  • DEPUTY_TOKEN_STOREOAuth mode: file path for a plaintext token store, only where no OS keychain is available. Default: the OS keychain.

About Deputy MCP

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.

Tools this server provides (16)

Taken from the project documentation; the running server may differ.

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_rosterName suggests: reads
Returns your roster.
deputy_next_shift
Returns your next shift.
deputy_get_my_timesheetsName suggests: reads
Returns your timesheets.
deputy_get_my_colleaguesName suggests: reads
Lists your colleagues.
deputy_get_my_calendar_urlName suggests: reads
Returns your calendar feed link.
deputy_get_areasName suggests: reads
Lists work areas.
deputy_get_team_rosterName suggests: reads
Team roster for managers.
deputy_who_is_working
Who is on shift now, for managers.
deputy_get_employee_infoName suggests: reads
Employee details for managers.
deputy_search_shiftsName 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_unavailabilityName suggests: changes
Sets unavailability when writes are enabled.
deputy_claim_open_shift
Claims an open shift when writes are enabled.

What it does

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

Pricing

Open source

MIT licensed; requires a Deputy account

Deputy MCP 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.

How AIPoweredBot checks servers