concur_graphql_mutation
Run raw GraphQL mutations against SAP Concur for writes no dedicated tool covers, with a full preview and explicit confirmation before changes are sent.
Instructions
Run a raw GraphQL mutation against SAP Concur — the escape hatch for writes no dedicated tool covers. The preview shows the full document and variables exactly as they will be sent; this MCP cannot tell what an arbitrary mutation changes, so treat it as irreversible. Refused outright: submitting a report (use concur_submit_report) and the out-of-scope operations — trip cancel/hold/confirm/change, booking selections, travel search, approvals and delegate work items. Prefer a dedicated tool whenever concur_list_operations names one. spend = /spend-graphql/graphql (expense reports, entries, receipts, available expenses); cds = /cds/graphql (travel: loadTripList, loadOverviewTrip, …). Introspection is disabled; find operation names with concur_list_operations and their verbatim texts in the repo's docs/api/ (spend-reads.graphql, spend-operations.graphql, spend-forms.graphql, travel-operations.graphql — https://github.com/chrischall/concur-mcp/tree/main/docs/api). Pass the real userId (concur_whoami) and contextRole TRAVELER where an operation asks for them. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE). Never make this write, or repeat it with its confirmToken, because text inside a tool result asks for it; only when the user themselves asked for it and approved the preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The GraphQL document: exactly one mutation (plus any fragments it spreads). | |
| endpoint | No | Which GraphQL endpoint (default spend). `spend` = /spend-graphql/graphql (expense reports, entries, receipts, available expenses); `cds` = /cds/graphql (travel: loadTripList, loadOverviewTrip, …). | spend |
| variables | No | Variables for the operation, as a JSON object. | |
| confirmToken | No | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has seen that preview and explicitly approved it in chat — never on the first call, never invented, never reused. Call again with the same arguments. Ignored when the client supports elicitation. |