MCP server
The DX MCP (Model Context Protocol) server acts as a bridge between your DX instance data and any MCP-compatible AI client such as Claude, Cursor, and Devin Desktop. Connecting it lets your agent query your DX dataset, explore your software ecosystem, analyze Snapshot survey results, and act on failing Scorecard checks directly from the client you already use. It’s available as a remotely hosted service or as a locally run server.
Looking for create/update/delete operations?
The MCP server is intentionally read-only. For enabling your AI agent with more DX capabilities — including creating scorecards, managing entities, creating studio reports, and more — connect it with the DX CLI instead.
Remotely hosted server
The remotely hosted MCP server is available at:
https://ai.getdx.com/mcp
Authentication
Authenticate your MCP requests by providing a bearer token in the Authorization HTTP header. This token can be either an organization token or personal access token.
Authorization
MCP tools only have access to those resources covered by the token’s scopes. For example, the queryData tool requires the datacloud:query scope. A couple of additional details:
- Revocation takes effect immediately. MCP requests are stateless, so once a token is deleted, subsequent requests fail immediately. Access is not retained for the remainder of a long-running session.
- Scope changes apply immediately. Because scopes are evaluated at tool call time (see Authorization), any change to a token’s scopes — or to the scopes the user’s role allows — is enforced on the next tool call.
Configuration
Claude Code
claude mcp add --transport http dx-mcp https://ai.getdx.com/mcp --header "Authorization: Bearer [TOKEN]"
Cursor
Add the following to your Cursor MCP configuration:
{
"mcpServers": {
"dx-mcp": {
"url": "https://ai.getdx.com/mcp",
"headers": {
"Authorization": "Bearer [TOKEN]"
}
}
}
}
Local deployment
If you prefer to run the MCP server locally instead of using the hosted version, you can follow the instructions on the dx-mcp-server GitHub repository.
Rate limiting and audit logging
Because the MCP server utilizes the DX Web API underneath, tool calls are subject to the same limits and are recorded in the audit log just like direct Web API requests.
Available tools
Entities
| Tool | Required scope | Description |
|---|---|---|
listEntities |
catalog:read |
List entities from the DX software catalog, with optional search and type filtering. |
getEntityDetails |
catalog:read |
Get full details for an entity including its metadata, tasks, and scorecard results. |
Scorecards & initiatives
| Tool | Required scope | Description |
|---|---|---|
listScorecards |
scorecards:read |
List all active scorecards. |
getScorecardInfo |
scorecards:read |
Get details about a specific scorecard, including its levels and checks. |
listInitiatives |
scorecards:read |
List all initiatives with summary information. |
getInitiativeDetails |
scorecards:read |
Get initiative details along with its progress report across entities. |
reviewTasks |
Given an entity and a set of check IDs, produces a structured plan or executes fixes for failing scorecard tasks. |
Teams
| Tool | Required scope | Description |
|---|---|---|
listTeams |
snapshots:read |
List all teams in DX. |
getTeamDetails |
snapshots:read |
Get details for a specific team by ID, reference ID, or member emails. |
Snapshots
| Tool | Required scope | Description |
|---|---|---|
listSnapshots |
snapshots:read |
List completed snapshots with participation counts. Use this first to find a snapshot_id for the other snapshot tools. |
listSnapshotBranches |
snapshots:read |
List snapshot branches (survey variants targeted at different audiences). Use the IDs as branch_ids filters. |
listSnapshotTeams |
snapshots:read |
List the teams captured in a snapshot, with manager and parent/child hierarchy fields. Use the IDs as snapshot_team_ids filters or as parent_snapshot_team_id in breakdowns. |
getSnapshotScores |
snapshots:read |
Get aggregate results for one score type (driver, workflow, impact, csat, dxi, or allocation), optionally filtered by team_ids, snapshot_team_ids, group_ids, attribute_ids, and branch_ids. |
getSnapshotScoresBreakdown |
snapshots:read |
Break a single score down by snapshotTeam, group, branch, or attribute. Requires the item ID from getSnapshotScores (except for dxi) and an attribute_group_id when breaking down by attribute. |
compareSnapshotScores |
snapshots:read |
Compare one score type across two snapshots. Returns each item’s current score, previous score, change, direction, and distance from the p75 benchmark, with hidden items listed separately. Accepts the same filters as getSnapshotScores. |
getSnapshotComments |
snapshots:read |
List anonymized driver comments for a snapshot, newest first. Paginates with limit (max 100) and cursor. |
These tools wrap the snapshots.* Web API methods. A few details:
- Results include a
hiddenflag that istruewhen the filtered cohort is below the account’s minimum response threshold. - When filtering
dxiscores bybranch_ids, the main branch must be included. dxiscores do not support thebranchbreakdown dimension.
Data
| Tool | Required scope | Description |
|---|---|---|
queryData |
datacloud:query |
Execute a SQL query against the DX Data Cloud PostgreSQL database. Use information_schema when table/column structure is uncertain. |
Note: The
datacloud:queryscope also requires Data Studio access in addition to the scope itself.
Available prompts
| Prompt | Description |
|---|---|
reviewTasks |
A guided prompt that walks an AI agent through identifying, analyzing, and resolving failing DX scorecard checks for an entity. |
summarizeSnapshot |
Summarizes the latest completed snapshot against the previous one, org-wide or for a single team. Takes an optional team argument. See Snapshot summaries. |
Available skills
Skills are step-by-step playbooks the server publishes as MCP resources under skill://. A prompt points the agent at the skill, and the agent follows it using the tools above.
| Skill | Resource | Description |
|---|---|---|
snapshot-summary |
skill://snapshot-summary/SKILL.md |
Turns the latest completed snapshot into a short, leader-ready summary of scores, changes, and comment themes. |
Snapshot summaries
The summarizeSnapshot prompt and the snapshot-summary skill turn raw Snapshot results into a written summary that a leader or manager can read in a few minutes. The summary compares the latest completed snapshot with the previous one, org-wide or for a single team, and explains the biggest changes using scores and comments.
Note: Requires a token with the
snapshots:readscope. Local deployments needdx-mcp-server1.5.0 or later.
Running a summary
There are two ways to start a summary.
Select the prompt. In clients that list MCP prompts, choose summarizeSnapshot and optionally fill in the team argument. In Claude Code, with the server configured as dx-mcp, the prompt is available as a slash command:
/mcp__dx-mcp__summarizeSnapshot
/mcp__dx-mcp__summarizeSnapshot Platform
Ask in plain language. The skill and tool descriptions are written so that an ordinary request steers the agent into the same workflow. For example:
- “How did the last snapshot go?”
- “Summarize our snapshot.”
- “What changed since the previous snapshot?”
- “How did my team score? I manage the Platform team.”
- “What are developers saying in the snapshot comments?”
Either way, the agent reads the skill resource and follows it. You do not need to supply a snapshot ID. The agent takes the most recently completed snapshot as the current one and the one before it as the comparison.
What you get
The summary uses the same headings every time:
- Context. Snapshot dates and response counts for both snapshots.
- Summary. One paragraph leading with the strongest signals.
- What moved. Gains and Drops with point changes and a reason for each large drop, followed by the workflows furthest from the p75 benchmark.
- Tools. Lowest-scoring internal tools and the biggest changes, with respondent counts.
- What people are saying. Three to five comment themes.
Scoping to a team
Name the team in the request or in the prompt’s team argument.
Driver comments cannot be filtered by team. A team-scoped summary either labels comment themes as org-wide or leaves them out.
If no team matches, the agent lists the closest names instead of falling back to an org-wide summary. If several teams match, it asks which one you meant.
Comparing specific snapshots
To compare two snapshots other than the latest pair, name them in the request, for example “Compare the Q3 snapshot with the Q1 snapshot”. You can also call compareSnapshotScores directly with snapshot_id, comparison_snapshot_id, and a score_type. Leave out comparison_snapshot_id to get a benchmark-only view of a single snapshot.
Follow-up questions
The summary is a starting point. Useful follow-ups include:
- “What are the next steps?” The agent gives up to three recommendations, each tied to a driver or workflow with a metric to check in the next snapshot.
- “Is that drop org-wide or one team?” The agent breaks the score down by snapshot team.
- “Show me the comments for Code review.”
- “Compare against the snapshot from a year ago instead.”
- “Check Data Cloud for review wait time over the same period.” Pairs survey findings with telemetry through
queryData.
Hidden results and anonymity
Items below your account’s minimum response threshold come back as hidden. The summary never treats a hidden item as zero, excludes it from rankings, and mentions it when it limits a finding.
Comments are returned without any identifying fields, and the skill instructs the agent never to name or guess who wrote a comment and to strip names that appear inside comment text.