Skip to content

Quickstart ​

This page is for: advisors, forward-deployed engineers and developers who connect AI tools or the CLI.

Connect Claude Code to your DutyGraph workspace and read your first company.

1. Create a token ​

Sign in as an advisor. Open Settings › MCP access › Connect an AI assistant (MCP).

  1. Enter a name, for example "Claude Code on my laptop".
  2. Keep Read and Write.
  3. Select Create token and copy it now. It starts with dgp_ and is shown once.

2. Add the server ​

sh
claude mcp add --transport http dutygraph https://dutygraph.com/api/mcp \
  --header "Authorization: Bearer $DUTYGRAPH_TOKEN"

Clients that support sign-in, such as Claude.ai and ChatGPT, can skip the token and sign in through the browser. See Sign-in and tokens.

3. Ask for your companies ​

text
List my DutyGraph companies, then show the Company Repo index for the first one.

Claude calls list_companies and get_company_repo_index. Nothing is changed.

4. Make a first change ​

Ask Claude to preview a team import from a CSV file. import_roster_csv previews unless you say apply, and it never invites anyone.

Next ​

DutyGraph. Pages label each feature Built, In review or Planned.