Spendesk MCP Server
for AI Agents
Connect your AI agent to StackOne's Spendesk MCP server and give it 28 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
28 Agent Actions
Create, read, update, and delete across Spendesk — and extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your Spendesk MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every Spendesk tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.
Prompt Injection Defense →Performance
Max Agent Context. Min Cost.
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Spendesk call.
Tools Discovery →What is the Spendesk MCP Server?
A Spendesk MCP server lets AI agents read and write Spendesk data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's Spendesk MCP server ships with 28 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
All Spendesk MCP Tools
Every action from Spendesk's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.
Payables
- Get Payable
Get full details of a specific payable by its ID
- Search Payables
Search payables with advanced filters and cursor-based pagination for large result sets
Payables Snapshots
- Create Payables Snapshot
Start an asynchronous bulk export of payables by creating a snapshot
- Get Payables Snapshot
Check the status of a payables snapshot and retrieve its results when ready
Suppliers
- Create Suppliers
Create one or more supplier (vendor) records in Spendesk
- List Suppliers
List all suppliers (vendors) in Spendesk with optional search, date, and bank filters
- Get Supplier
Get full details of a specific supplier by their ID
- Update Suppliers
Update multiple suppliers in Spendesk
Users
- List Users
List all team members in the Spendesk organization with optional status filter
- Get User
Get details of a specific Spendesk team member by their user ID
Cost Centers
- Create Cost Center
Create a new cost center for budget allocation in Spendesk
- List Cost Centers
List all cost centers (budget allocation units) in the Spendesk organization
- Update Cost Center
Update an existing cost center's name, owner, and co-owners (all fields required)
Chart Of Accounts
- Create Chart Of Account
Create a new general ledger account in Spendesk's chart of accounts
- List Chart Of Accounts
List all general ledger accounts in Spendesk's chart of accounts
Purchase Orders
- Create Purchase Order
Create a new purchase order in Spendesk
- List Purchase Orders
List all purchase orders in Spendesk with optional filters for status and supplier
- Get Purchase Order
Get full details of a specific purchase order by its ID
Other (10)
- List Settlements
List all settlements (payments) in Spendesk with optional filters for date range, state, and supplier
- Get Payable Attachments
List all attachments (receipts, invoices) for a specific payable
- List Analytical Fields
List all custom analytical fields (dimensions) used for expense categorization in Spendesk
- Get Analytical Field Values
List the allowed values for a specific analytical field
- List Companies
List all companies (legal entities) within the Spendesk organization
- Update Settlements State
Mark one or more settlements as exported or failed in Spendesk's accounting workflow
- Update Payables Bookkeeping Status
Mark one or more payables as exported, prepared, or failed in Spendesk's bookkeeping workflow
- Update Suppliers Status
Archive or unarchive suppliers in bulk by providing supplier IDs and archive status
- Cancel Purchase Order
Cancel a purchase order in Spendesk
- Close Purchase Order
Close a purchase order in Spendesk
Spendesk AI Agent Use Cases
Connect your AI agent to Spendesk and help your team scale the finance operations they run by hand today.
Automate invoice processing with AI agents connected to your ERP, accounting software, and AP tools through StackOne.
ViewUse StackOne to connect your AI agent to your accounting, CRM, and messaging systems to automate Accounts Receivable dunning and payment follow-up.
ViewUse StackOne to connect your AI agent to your accounting, email, and document management systems to automate invoice processing and purchase order matching.
ViewSet Up Your Spendesk MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to Spendesk in under 10 lines of code.
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}Check More Accounting MCP Servers
138+ actions
125+ actions
117+ actions
107+ actions
105+ actions
95+ actions
82+ actions
Platform Resources
MCP Code Mode: Keeping Tool Responses Out of Agent Context
Anthropic's code_execution processes data already in context. Custom MCP code mode keeps raw tool responses in a sandbox. 14K tokens vs 500.
11 min
Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
Indirect Prompt Injection Defense for MCP Tools: A Technical Guide
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
MCP vs A2A: Architecture, Security, and When to Use Each
MCP vs A2A: what each protocol standardizes, how they differ, their shared security risks including indirect prompt injection, and when to use one, both, or a hybrid architecture.
12 min
MCP vs API: What 200+ Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building 200+ connectors that serve both, here's when each approach wins.
14 min read
Spendesk MCP Server FAQ
Does StackOne have a Spendesk MCP server?
Spendesk MCP server vs direct API integration — what's the difference?
How does Spendesk authentication work for AI agents?
origin_owner_id.Are Spendesk MCP tools vulnerable to prompt injection?
What is the context bloat of a Spendesk agent and how do I avoid it?
Can I limit which actions my Spendesk agent can access?
Can I create custom agent actions for my Spendesk MCP server?
When should I NOT use a Spendesk MCP server?
What AI frameworks and AI clients does the StackOne Spendesk MCP server support?
Put your AI agents to work
All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.