concur-mcp MCP Server
Unofficial SAP Concur MCP for Claude — expense reports, expenses, receipts and trips
concur-mcp scores 66 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 40 tools. Filed under Uncategorized. GitHub shows 0 stars. Package registries report about 143 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
89/100 for listing completeness. Lost points: 3 of 40 tools barely described, short summary, no docs link.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "chrischall-concur-mcp": { "command": "npx", "args": [ "-y", "@chrischall/concur-mcp@0.5.0" ], "env": { "CONCUR_DC": "", "CONCUR_WS_PORT": "", "CONCUR_OUTPUT_DIR": "", "CONCUR_UPLOAD_ROOTS": "", "CONCUR_INLINE_RECEIPTS": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
CONCUR_DC | Optional | Concur datacenter from your signed-in tab's host (e.g. us2, eu2). Defaults to us2. |
CONCUR_WS_PORT | Optional | fetchproxy bridge concentrator port. Defaults to the fleet-shared 37149. |
CONCUR_OUTPUT_DIR | Optional | Where `concur_get_receipt` saves downloaded receipts (never overwriting an existing file). Defaults to ~/Downloads/concur-mcp. |
CONCUR_UPLOAD_ROOTS | Optional | The only folders `concur_upload_receipt` will read from (a path-delimiter-separated list; `~` expanded). A hosted server refuses every path (use `concur_upload_slots` or inline base64). Defaults to ~/Downloads, ~/Documents and ~/Desktop, plus the working directory when it is a folder inside your home directory (never `/` or home itself). |
CONCUR_INLINE_RECEIPTS | Optional | `true` makes `concur_get_receipt` return the image in the result instead of writing a file. Off locally, on when hosted. |
Tools40Tool docs quality grade C
All capabilitiesMissing Receipt Declaration (affidavit) for expenses with no receipt — you certify the receipt is missing; the preview shows your policy's declaration text. No tool removes one (attaching a receipt replaces it)
Add a comment approvers will see
Add a stored image as an extra page of an expense's receipt
Attach a stored image to an expense that has none
Duplicate an expense
Add an expense to an unsubmitted report; any editable form field by label (custom ones, Ticket Number, From/To Location, …); a foreign currency gets Concur's rate for the date
Create an unsubmitted report
Delete available expenses
Delete expenses from a report (card transactions return to available expenses)
Delete an unattached receipt image — cannot be undone
Delete an unsubmitted report and every expense on it
Take the image off an expense
About
SAP Concur MCP
A Model Context Protocol server that connects Claude to SAP Concur: your expense reports, the expenses on them, available (unassigned) expenses, receipts, and Concur Travel trips — read and write, with every write confirmation-gated.
[!WARNING] AI-developed project. This codebase was entirely built and is actively maintained by Claude. No human has audited the implementation. Review all code and tool permissions before use.
[!CAUTION] Unofficial and unsupported. This server does not use Concur's documented partner API. It calls the internal GraphQL API the Concur web app itself uses, authenticated with your own signed-in browser session. It may break without notice, and automated use may conflict with SAP Concur's or your employer's terms. Use it only for your own account, at your own discretion.
What you can do
Ask Claude things like:
- "Which of my Concur reports are still unsubmitted, and what's blocking them?"
- "Show me the card transactions that aren't on a report yet."
- "Create a report called 'Austin offsite' and move last week's Uber and hotel charges onto it."
- "Upload ~/Downloads/dinner.pdf and attach it to the dinner expense."
- "When does my next trip leave, and what hotel am I in?"
Requirements
- Claude Desktop, Claude Code, or any MCP host
- Node.js 22.5 or later
- The ContextMint Bridge browser extension and a signed-in Concur tab (
https://<dc>.concursolutions.com/…)
Installation
Claude Code plugin
claude plugin marketplace add chrischall/concur-mcp
claude plugin install concur@chrischall
Any MCP host (npx)
{
"mcpServers": {
"concur": {
"command": "npx",
"args": ["-y", "@chrischall/concur-mcp"],
"env": { "CONCUR_DC": "us2" }
}
}
}
Claude Desktop (.mcpb)
Install the .mcpb bundle from the latest release. The installer asks for your datacenter (default us2).
How it authenticates
Concur's web app authenticates its API calls with an HttpOnly JWT cookie that the page itself cannot read. This server uses the fetchproxy bridge only to read three session cookies from your signed-in Concur tab: JWT, plus Concur's legacy session cookies OTSESSIONAABQRD and OTSESSIONAABQRN. Every API call is then made from Node with Authorization: Bearer <jwt> and a Cookie header carrying whichever OTSESSION cookies the tab had — the parts of Concur still served by its legacy services (report keys, currencies, available receipts, permissions) answer an error without them. The cookies are held in memory only and never appear in an error or a log; the only thing written under your home directory is the bridge's pairing identity.
The token lives 60 minutes. The server re-reads the cookies (all together) from your tab when the token is within two minutes of expiry, or once on a 401 (one re-read and one retry per call, never a loop). A read that fails the way a stale OTSESSION cookie fails gets the same single re-read and retry. Concur keeps the cookies fresh while a tab is open, so keep a signed-in Concur tab open while you use the tools. concur_healthcheck reports which source supplied the token, how many minutes it has left and whether the legacy session cookie was found — never a cookie value.
Upgrading from an earlier build? The bridge scope grew from
JWTalone toJWT+ the two OTSESSION cookies. The pair grant is per-scope, so an already-paired server must be re-approved once: the next call answers with a new pair code (or a scope-changed notice) — approve it in the ContextMint Bridge popup.
Pairing (once)
- Install ContextMint Bridge (Chrome: load the release zip unpacked) and sign in to Concur in that browser.
- Ask Claude to run
concur_healthcheck. The first call answers with a pair code. - Approve that code in the ContextMint Bridge popup. The trust persists across restarts (it lives in
~/.fetchproxy/identity/).
More than one browser? If ContextMint Bridge is installed in several browsers, each one dials the same local port, and the pair code can be approved in any of them. Approve it in the browser that holds your Concur session — the server pins whichever extension approved it, and only that browser's tab can supply the cookie. Lines like refusing an extension whose identity is not the one this MCP paired with on stderr are the other browser being turned away; they are harmless.
Paired the wrong browser, or changed browsers? Revoke concur-mcp in the ContextMint Bridge popup, clear the server's pinned extension with fpx trust clear concur-mcp (from @fetchproxy/cli; or delete ~/.fetchproxy/identity/concur-mcp.extension-trust.json), restart the server, and pair again from the right browser.
Configuration
| Env var | Default | Purpose |
|---|---|---|
CONCUR_DC | us2 | Your datacenter: the first label of your signed-in tab's host (us2 for us2.concursolutions.com, eu2, …). Must match the session token's issuer, or every call fails with an error that says which value to use. |
CONCUR_WS_PORT | 37149 | The fetchproxy bridge port. The whole fetchproxy fleet and ContextMint Bridge share 37149; override only for local testing (or when a host injects a per-registration port). |
CONCUR_OUTPUT_DIR | ~/Downloads/concur-mcp | Where concur_get_receipt saves downloaded receipts (never overwriting an existing file). |
CONCUR_UPLOAD_ROOTS | ~/Downloads, ~/Documents, ~/Desktop, plus the cwd when it is a folder inside your home directory (never / or home itself — Claude Desktop starts the server in /) | The only folders concur_upload_receipt will read from (a path-delimiter-separated list; ~ expanded). A hosted server refuses every path (use concur_upload_slots or inline). |
CONCUR_INLINE_RECEIPTS | off locally, on when hosted | true makes concur_get_receipt return the image in the result instead of writing a file (over 10 MiB it is saved locally, or a signed link when hosted). |
MCP_USER_TZ | the server's zone | Your IANA time zone (e.g. America/New_York), used for "today" when concur_create_report defaults reportDate. Set it when hosted — a hosted server runs in UTC, so an evening report would otherwise be dated tomorrow. |
CONCUR_DEBUG | off | Log the bridge's role and lifecycle to stderr. |
MCP_CONFIRM_MODE | ask-user | What a write does on a client that cannot show a confirmation prompt — see below. |
MCP_CONFIRM_ELICITATION | on | off never shows a confirmation prompt, so every client takes the MCP_CONFIRM_MODE path (for clients that declare prompts but never render them). |
Confirming writes
Every tool that changes something in Concur (or emails someone) is confirmation-gated:
- Clients that support MCP elicitation show a real confirmation prompt describing exactly what will be sent.
- Elsewhere (claude.ai, Claude Desktop) the first call makes no change: it returns a preview of exactly what would be sent plus a single-use, short-lived
confirmToken. Only a repeat call carrying that token writes, and if anything in the request changed in between, the token is refused.
MCP_CONFIRM_MODE decides who may use that token:
| Value | Behaviour |
|---|---|
ask-user (default) | The model must show you the preview and get your approval in chat before reusing the token. |
auto | The model may use the token itself after seeing the preview. |
refuse | Writes are refused on clients without a confirmation prompt. An unrecognised value is treated as refuse. |
Text that comes back from Concur — vendor names, comments, trip details, emails — is treated as untrusted data: it can never authorise a write.
Tools
Most read tools take view: compact | full | raw (default compact): compact drops the fields you rarely need, full keeps them all, raw is Concur's response unprojected.
Session and lookups
| Tool | What it does |
|---|---|
concur_healthcheck | Which source supplied the token, whether the API accepted it, round-trip time, minutes to expiry |
concur_whoami | Your Concur user id, datacenter, token minutes left, and enabled features |
concur_list_expense_types | Expense types a report's policy allows (id, name, group) |
concur_list_payment_types | Payment types you can put on an expense (cash, company card, …) |
concur_list_currencies | Currencies Concur accepts, optionally filtered |
concur_search_locations | Expense locations by city (optionally country / subdivision) |
Reports and expenses (read)
| Tool | What it does |
|---|---|
concur_list_reports | Your reports by status (ALL, ACTIVE, UNSUBMITTED, SENT_FOR_PAYMENT) and date range |
concur_get_report | One report: header, every expense entry, and its exceptions (blocking ones prevent submission) |
concur_get_report_timeline | A report's timeline (comments and workflow events) and audit trail |
concur_get_expense | One expense: form fields by label, itemizations, receipt, comments, exceptions |
concur_list_available_expenses | Card transactions, e-receipts and mobile captures not yet on a report |
Reports and expenses (write — all confirmation-gated)
| Tool | What it does | Reversible? |
|---|---|---|
concur_create_report | Create an unsubmitted report | yes (concur_delete_report) |
concur_update_report | Change header fields; sends only what changes | yes |
concur_delete_report | Delete an unsubmitted report and every expense on it | no |
concur_add_report_comment | Add a comment approvers will see | no (comments cannot be deleted) |
concur_submit_report | Send a report to your approver | no — it reaches a person; concur_recall_report can pull it back before approval |
concur_recall_report | Recall a submitted, unapproved report | yes |
concur_create_expense | Add an expense to an unsubmitted report; any editable form field by label (custom ones, Ticket Number, From/To Location, …); a foreign currency gets Concur's rate for the date | yes |
concur_update_expense | Change an expense, including those form fields and the exchange rate; sends only what changes | yes |
concur_delete_expenses | Delete expenses from a report (card transactions return to available expenses) | no |
concur_copy_expense | Duplicate an expense | yes |
concur_move_available_expenses_to_report | Move available expenses onto a report | no (Concur has no move-back) |
concur_delete_available_expenses | Delete available expenses | no |
Attendees
| Tool | What it does | Reversible? |
|---|---|---|
concur_search_attendees | Search the attendee directory (colleagues, saved guests) by name or email | read |
concur_set_attendees | Replace an expense's attendee list (you first by default), splitting the amount evenly — confirmation-gated | no (no tool reads the previous list back, or clears it) |
Receipts
| Tool | What it does | Gated? |
|---|---|---|
concur_list_available_receipts | Receipt images in your receipt store that are not attached to an expense | read |
concur_get_receipt | Download a receipt image (≤ 25 MB): to CONCUR_OUTPUT_DIR locally, inline, or — hosted and over 10 MiB — a signed download link valid for an hour | no (nothing changes in Concur) |
concur_upload_slots | Signed upload URLs (with a ready curl) for sending receipt files to a hosted server | no (signs URLs only) |
concur_upload_receipt | Upload a png / jpg / pdf (≤ 25 MB) from an allowed local folder (path, local installs only), as base64 (inline), or from an upload slot (blobKey) | yes |
concur_attach_receipt | Attach a stored image to an expense that has none | yes |
concur_append_receipt | Add a stored image as an extra page of an expense's receipt | yes |
concur_detach_receipt | Take the image off an expense | yes |
concur_add_missing_receipt_declaration | Missing Receipt Declaration (affidavit) for expenses with no receipt — you certify the receipt is missing; the preview shows your policy's declaration text. No tool removes one (attaching a receipt replaces it) | yes |
concur_delete_receipt | Delete an unattached receipt image — cannot be undone | yes |
Travel
| Tool | What it does |
|---|---|
concur_list_trips | Your trips (upcoming by default; past or all), filterable |
concur_get_trip | One trip with its flight, hotel, car and rail bookings |
concur_get_trip_history | A trip's history: changes, approvals, itinerary emails |
concur_send_itinerary | Email a trip's itinerary — sends real email, confirmation-gated |
Escape hatches
| Tool | What it does |
|---|---|
concur_list_operations | The GraphQL operations the Concur web app uses — name, endpoint, purpose, and which dedicated tool already runs it |
concur_graphql_query | Run a raw read-only query (spend or cds endpoint); refuses anything that could write |
concur_graphql_mutation | Run a raw mutation, confirmation-gated with the full document in the preview; refuses the operations listed under Out of scope, including submit (use concur_submit_report) |
Out of scope
These exist in Concur but are deliberately not built. Not built is not the same as refused: the raw escape hatches can still reach anything below that the guard does not name.
Refused by concur_graphql_mutation (matched by operation name and by the field the web app's text selects, so renaming or aliasing does not get through): processApproval, updateWorkItemStatus, startSearch, saveBookingSelections, holdTrip, confirmTrip, commitChange, tryCancelTripOrBooking, and SubmitExpenseReport (use concur_submit_report).
- Approvals — approving or sending back other people's reports (
contextRole: MANAGER). Not built: theapprovalsportal.asppage, theGetApproversListandloadApprovalDetailsreads, and theUpdateTimelineWorkflowcall. Refused: CDSprocessApproval, andupdateWorkItemStatus(updateDelegatesDashboardWorkItemStatus). This server acts only on your own data. - Card-transaction management — the card accounts page and its operations:
/Expense/Client/cardtransactions.asp,GetCardAccounts,GetCardTransaction,MoveCCTransactionsToReport,CreateCBSReportAndMoveCCTransactionsToReport,RefreshYodleeTransactions. (Card charges that already appear as available expenses are covered — list, move to a report, delete.) - Booking or cancelling travel — search, price, book, hold, confirm or cancel (
startSearch,saveBookingSelections,holdTrip,confirmTrip,commitChange,tryCancelTripOrBooking). Trips are read-only apart from emailing the itinerary.
Upgrading
0.5.0 — concur_get_receipt inline output. A non-image receipt returned inline (a PDF) is an embedded resource whose URI is now attachment:///receipt-<imageId>.<ext> (it was concur-receipt:<imageId>). The JSON block also gains via (image, resource, link or disk), and on a hosted server downloadUrl + expiresAt for a signed link. A caller that matched the old concur-receipt: URI should read via instead.
Development
npm install
npm run build # tsc → dist/, then esbuild → dist/bundle.js (the .mcpb entry)
npm test # typecheck + vitest
npm run test:coverage
The API surface this is built on — hosts, auth, every operation used, and what was verified live — is in docs/CONCUR-API.md, with verbatim operation texts in docs/api/.
License
MIT
Frequently asked questions
What is concur-mcp MCP Server?
Unofficial SAP Concur MCP for Claude — expense reports, expenses, receipts and trips
How do I install concur-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. concur-mcp MCP Server runs locally from the npm package @chrischall/concur-mcp with the command npx -y @chrischall/concur-mcp@0.5.0.
Is concur-mcp MCP Server free and open source?
Yes. concur-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does concur-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for concur-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does concur-mcp MCP Server provide?
concur-mcp MCP Server provides 40 tools, including concur_add_missing_receipt_declaration, concur_add_report_comment, concur_append_receipt, and concur_attach_receipt. See the full tool list for descriptions and parameters.
How is concur-mcp MCP Server's trust score calculated?
concur-mcp MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.