Oneflow MCP Server
for AI Agents
Connect your AI agent to StackOne's Oneflow MCP server and give it 98 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
98 Agent Actions
Create, read, update, and delete across Oneflow — and extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your Oneflow MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every Oneflow 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 Oneflow call.
Tools Discovery →What is the Oneflow MCP Server?
A Oneflow MCP server lets AI agents read and write Oneflow data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's Oneflow MCP server ships with 98 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 Oneflow MCP Tools
Every action from Oneflow's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.
Contracts
- Create Contract
Create a new contract based on a selected template
- Publish Contract
Publish a contract and send it to participants
- Import Contract
Import a contract into Oneflow
- List Contracts
Retrieve a list of contracts from your Oneflow account
- Get Contract
Retrieve a specific contract by its ID
- Update Contract
Update a specific contract by its ID
- Delete Contract
Delete a specific contract by its ID
Contract Partys
- Create Contract Party
Create a party in a Oneflow contract
- Get Contract Party
Retrieve a specific party from a Oneflow contract by its ID
- Update Contract Party
Update a party in a Oneflow contract
- Delete Contract Party
Delete a specific party from a Oneflow contract by its ID
Contract Participants
- Create Contract Participant
Add a new participant to an existing contract party
- Get Contract Participant
Retrieve a specific participant from a contract party by its ID
- Update Contract Participant
Update a participant in a Oneflow contract
- Delete Contract Participant
Delete a specific participant from a contract party by its ID
Contract Data Fields
- List Contract Data Fields
Retrieve the list of data fields for a specific Oneflow contract
- Get Contract Data Field
Retrieve a specific data field from a Oneflow contract by its ID
- Update Contract Data Fields
Update one or multiple data field values in a Oneflow contract
- Update Contract Data Field
Update a single data field value in a Oneflow contract
Contract Files
- Upload Contract File
Upload a file to a specific file group in a Oneflow contract
- List Contract Files
Retrieve the list of all files available for a specific Oneflow contract
- Download Contract File
Download a specific file from a Oneflow contract by its ID
Contract Products
- List Contract Products
Retrieve the list of products in a specific Oneflow contract
- Get Contract Product
Retrieve a specific product from a Oneflow contract by its ID
- Update Contract Product
Update a specific product in a Oneflow contract by its ID
Templates
- List Templates
Retrieve a list of templates available in your Oneflow account
- Get Template
Retrieve a specific template by its ID
Template Types
- Create Template Type
Create a new template type in your Oneflow account
- List Template Types
Retrieve a list of template types available in your Oneflow account
- Get Template Type
Retrieve a specific template type by its ID
Tags
- Create Tag
Create a new tag in your Oneflow account
- List Tags
Retrieve a list of all tags for your Oneflow account
- Get Tag
Retrieve a specific tag by its ID
- Update Tag
Update a specific tag by its ID
- Delete Tag
Delete a specific tag by its ID
Webhooks
- Create Webhook
Create a new webhook in your Oneflow account
- List Webhooks
Retrieve the list of webhooks from your Oneflow account
- Get Webhook
Retrieve a specific webhook by ID
- Update Webhook
Update an existing webhook by ID
- Delete Webhook
Delete a webhook by ID
Contacts
- Create Contact
Create a new contact within a workspace
- List Contacts
Retrieve the list of contacts in a workspace
- Get Contact
Retrieve a specific contact by ID
- Update Contact
Update an existing contact by ID
- Delete Contact
Delete a contact by ID
Workspaces
- List Workspaces
Retrieve the list of workspaces available for the authenticated user in your Oneflow account
- Get Workspace
Retrieve a specific workspace by its unique ID from your Oneflow account
Other (51)
- Create Participant Access Link
Create an access link to a contract for a specific participant
- List Contract Parties
Retrieve the list of parties for a specific Oneflow contract
- List Users
Retrieve a list of all users from your Oneflow account
- Get Account
Retrieve information about the current Oneflow account
- Mark Contract As Signed
Mark a contract as signed by all users
- Decline Contract
Decline a contract by its ID
- Active Check
Responds with 200 OK to any Oneflow webhook delivery that does not carry a usable event.
- Contract Create
Triggered by the Oneflow "contract:create" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Contract Publish
Triggered by the Oneflow "contract:publish" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Contract Sign
Triggered by the Oneflow "contract:sign" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Contract Decline
Triggered by the Oneflow "contract:decline" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Contract Delete
Triggered by the Oneflow "contract:delete" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Contract Restore
Triggered by the Oneflow "contract:restore" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Contract Content Update
Triggered by the Oneflow "contract:content_update" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Contract Signature Reset
Triggered by the Oneflow "contract:signature_reset" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Contract Signing Period Expire
Triggered by the Oneflow "contract:signing_period_expire" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Contract Signing Period Revive
Triggered by the Oneflow "contract:signing_period_revive" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Contract Workspace Update
Triggered by the Oneflow "contract:workspace_update" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Contract Ai Extract Complete
Triggered by the Oneflow "contract:ai_extract:complete" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Contract Draft Approval Flow Start
Triggered by the Oneflow "contract:draft_approval_flow:start" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Contract Draft Approval Flow Complete
Triggered by the Oneflow "contract:draft_approval_flow:complete" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Contract Draft Approval Flow Reset
Triggered by the Oneflow "contract:draft_approval_flow:reset" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Contract Lifecycle Settings Update
Triggered by the Oneflow "contract:lifecycle_settings:update" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Contract Lifecycle State Start
Triggered by the Oneflow "contract:lifecycle_state:start" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Contract Lifecycle State New Period
Triggered by the Oneflow "contract:lifecycle_state:new_period" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Contract Lifecycle State Cancel
Triggered by the Oneflow "contract:lifecycle_state:cancel" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Contract Lifecycle State Terminate
Triggered by the Oneflow "contract:lifecycle_state:terminate" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Contract Lifecycle State End
Triggered by the Oneflow "contract:lifecycle_state:end" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Contract Lifecycle Reminder New
Triggered by the Oneflow "contract:lifecycle_reminder:new" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Contract Lifecycle Reminder End
Triggered by the Oneflow "contract:lifecycle_reminder:end" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Participant Create
Triggered by the Oneflow "participant:create" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Participant Publish
Triggered by the Oneflow "participant:publish" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Participant Sign
Triggered by the Oneflow "participant:sign" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Participant Decline
Triggered by the Oneflow "participant:decline" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Participant Signature Reset
Triggered by the Oneflow "participant:signature_reset" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Participant Update
Triggered by the Oneflow "participant:update" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Participant Delegate
Triggered by the Oneflow "participant:delegate" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Participant Delete
Triggered by the Oneflow "participant:delete" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Participant Delivery Failure
Triggered by the Oneflow "participant:delivery_failure" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Participant First Visit
Triggered by the Oneflow "participant:first_visit" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Participant Draft Approval Flow Approve
Triggered by the Oneflow "participant:draft_approval_flow:approve" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Participant Draft Approval Flow Reset
Triggered by the Oneflow "participant:draft_approval_flow:reset" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Party Create
Triggered by the Oneflow "party:create" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Party Update
Triggered by the Oneflow "party:update" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Party Delete
Triggered by the Oneflow "party:delete" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Product Create
Triggered by the Oneflow "product:create" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Product Update
Triggered by the Oneflow "product:update" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Product Delete
Triggered by the Oneflow "product:delete" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Data Field Update
Triggered by the Oneflow "data_field:update" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Comment Create
Triggered by the Oneflow "comment:create" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
- Reminder Expire
Triggered by the Oneflow "reminder:expire" event when the webhook is subscribed to it via the filters EVENT_TYPE rule. Retrieve the contract with get_contract using the eventId (contract.id).
Set Up Your Oneflow MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to Oneflow 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 eSignature MCP Servers
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
Oneflow MCP Server FAQ
Does StackOne have a Oneflow MCP server?
Oneflow MCP server vs direct API integration — what's the difference?
How does Oneflow authentication work for AI agents?
origin_owner_id.Are Oneflow MCP tools vulnerable to prompt injection?
What is the context bloat of a Oneflow agent and how do I avoid it?
Can I limit which actions my Oneflow agent can access?
Can I create custom agent actions for my Oneflow MCP server?
When should I NOT use a Oneflow MCP server?
What AI frameworks and AI clients does the StackOne Oneflow 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.