Before you begin
You need:
- An Owner or Accountant role in Staple Expense. Standard users can't sign in, because Reports shows spend for the whole organization. If you're not sure of your role, ask an Owner, or check your profile in Staple.
- Your work email, the same one you use for Staple. Sign-in is by emailed link, so there's no new password.
- Your organization's Staple API client ID and secret, only if you're the first person from your organization to set this up. Read access is enough. If you don't have them, ask Staple support for API credentials for your organization.
1. Connect your organization
Once per organization, by the first Owner or Accountant. Everyone after you skips this step.
- Open Connect your organization.
- Enter your work email, then the client ID and client secret.
- We check the credentials with Staple and confirm you're an active Owner or Accountant there, then email you a link.
- Open the link within 10 minutes. That saves the credentials and signs you in. Until you open it, nothing is stored.
The secret is encrypted and never shown again. Any Owner or Accountant can replace or remove it later in Settings → MCP. Removing it disconnects the whole organization until someone connects it again.
2. Sign in
- Open Sign in and enter your work email.
- Open the link we email you within 10 minutes. If it expires, request a new one.
You land on Reports. Your role is checked with Staple every time you load a page, so if an Owner changes your role or deactivates you in Staple, your access here follows within a minute.
3. Reports and Open Items
Reports
Spend for the whole organization, month to date: total spend and daily burn, spend over time, a category breakdown, and your top vendors. Use the month picker to look back up to 24 months.
Press Analyze to have AI review the month. It points out category swings, first-time vendors, unusual spikes and expenses missing an exchange rate, and explains why each one matters. The figures always come from your data, never from the AI.
Open Items
Everything that's submitted or approved but not yet processed, with how long it has been waiting, who submitted it, and whether a receipt is attached. Use it before month-end to see what's holding up the close.
4. Connect your AI
Give your AI assistant access to your organization's expenses, expense reports, members and categories, so you can ask questions in plain language. Staple Agents uses MCP, the open standard for connecting AI tools to data, so this works with Claude and any other MCP client that can send a token. Each person connects with their own token.
Create a personal token
- In Staple Agents, open Settings → MCP.
- Give the token a name (for example “claude.ai”) and choose Create token.
- Copy it now. It starts with
stp_mcp_and is shown only once. If you lose it, revoke it and make another.
claude.ai and Claude Desktop
- In Claude, open Settings → Connectors and choose Add custom connector.
- Name it
Staple, enter this URL:https://agent.staple.jp/mcp, and choose Continue. - Under Authentication, pick No sign-in. Claude may suggest Sign in now, but this server doesn't use one, so that option won't work.
- Under Request headers, add a header named
authorizationwith the valueBearerfollowed by your token, for exampleBearer stp_mcp_…. Include the word Bearer and the space. - Choose Add, then turn on the Staple connector in a new chat.
On a Claude Team or Enterprise plan, an Owner of your Claude organization may need to allow custom connectors first.
Claude Code
After you create a token, Settings offers a Copy Claude Code command button with everything filled in. It looks like this:
claude mcp add --transport http --scope user staple https://agent.staple.jp/mcp \ --header "Authorization: Bearer $STAPLE_MCP_TOKEN"
Prefer another MCP client? See Other MCP clients below.
Other MCP clients
Any MCP client that supports remote servers and custom request headers can connect. Give it:
- Server URL:
https://agent.staple.jp/mcp(Streamable HTTP) - Header:
Authorization: Bearer stp_mcp_…, with your token
Clients that only offer an OAuth sign-in can't connect yet. The MCP reference covers every tool, its arguments, and error codes.
5. Ask your first question
Start a chat with the Staple connector on and ask the way you'd ask a colleague. Your assistant picks the right lookups. A few to try:
| For | Try asking |
|---|---|
| Close prep | “What's submitted or approved but not processed yet? Group it by submitter.” |
| Receipts | “Which expenses over ¥10,000 this month are missing a receipt?” |
| Approvals | “Why is the Shinkansen expense from last week still stuck? Who has it?” |
| Reports | “Which expense reports are still in draft, and how old are they?” |
| Spend | “Compare our travel spend this quarter with last quarter, by category.” |
| Lookups | “What's the account code for Travel? Who are our Accountants?” |
Your assistant sees only your organization, and only what an Owner or Accountant could see in Staple. Amounts come back in each expense's own currency, so ask it to convert to yen when you're totalling a mix.
Access and security
- Your Staple role decides. Only active Owners and Accountants get in, checked against Staple on every request. No separate user list to maintain.
- One organization only. Everything is read through your organization's own Staple API credential, which Staple limits to your organization.
- Your data stays in Staple. It's read live when you look. We keep only your organization's encrypted credential and a hash of each MCP token.
- Tokens follow you. A token stops working as soon as its owner loses Owner or Accountant access. You can also revoke one in Settings → MCP at any time, and it stops immediately.
Troubleshooting
| What you see | What to do |
|---|---|
| No sign-in email | Check spam, and that you used the email on your Staple account. If your organization isn't connected yet, or you're a Standard user, no link is sent. Connect your organization, or ask an Owner to change your role. |
| “That sign-in link has expired” | Links last 10 minutes. Request a new one from the sign-in page. |
| Connect says the credentials don't work | Check the client ID and secret for typos and that they belong to your organization. Ask Staple support if they've been rotated. |
| The connector fails, or returns 401 | The header value must be Bearer, a space, then the whole token. If the token was revoked or lost, create a new one. |
| The connector returns 403 | Your Staple role is no longer Owner or Accountant, or your organization's credentials were removed. Check with an Owner. |
| A month looks empty or low | Reports leaves out rejected expenses and foreign-currency expenses that don't have an exchange rate yet. The note at the bottom of Reports says how many. |