Langdock MCP Server
for AI Agents
Connect your AI agent to StackOne's Langdock MCP server and give it 137 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
137 Agent Actions
Agents can read, write, delete and run operations in Langdock. Extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your Langdock MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every Langdock tool response scanned for prompt injection in about 2.5 ms, with 0.94 F1 on tool-response attacks, all running on a 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 Langdock call.
Tools Discovery →What is the Langdock MCP Server?
A Langdock MCP server lets AI agents read and write Langdock data through the Model Context Protocol, Anthropic's open standard for connecting LLMs to external tools. StackOne's Langdock MCP server ships with 137 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 Langdock MCP Tools
Every StackOne action for Langdock, ready for your agent. Read, write, delete and run operations, scoped to exactly what you need.
Agents
- Create Agent
Create a Langdock agent with its instructions, model, tools and sharing.
- Publish Agent
Publish the draft of a Langdock agent as its new active version.
- List Agents
List the Langdock agents shared with this API key.
- Get Agent
Get the settings of one Langdock agent shared with this API key.
- Update Agent
Change the draft of a Langdock agent, or its sharing.
Included Agent Budgets
- List Included Agent Budgets
List Langdock agents with their monthly budget on a workspace in AI models included billing mode.
- Get Included Agent Budget
Get the monthly budget of one Langdock agent on a workspace in AI models included billing mode.
- Update Included Agent Budget
Change the monthly budget or budget mode of one Langdock agent on a workspace in AI models included billing mode.
BYOK Agent Budgets
- List BYOK Agent Budgets
List Langdock agents with their monthly budget on a workspace in bring your own keys billing mode.
- Get BYOK Agent Budget
Get the monthly budget of one Langdock agent on a workspace in bring your own keys billing mode.
- Update BYOK Agent Budget
Change the monthly budget or budget mode of one Langdock agent on a workspace in bring your own keys billing mode.
Included Groups
- List Included Groups
List Langdock groups with member counts and the per-member extra usage limit on a workspace in AI models included billing mode.
- Get Included Group
Get one Langdock group with its member count and per-member extra usage limit on a workspace in AI models included billing mode.
BYOK Groups
- List BYOK Groups
List Langdock groups with member counts and the per-member monthly budget on a workspace in bring your own keys billing mode.
- Get BYOK Group
Get one Langdock group with its member count and per-member monthly budget on a workspace in bring your own keys billing mode.
Included Billing Settings
- Get Included Billing Settings
Get the extra usage settings of a Langdock workspace in AI models included billing mode.
- Update Included Billing Settings
Change the extra usage settings of a Langdock workspace in AI models included billing mode.
BYOK Billing Settings
- Get BYOK Billing Settings
Get the usage budgets and limits of a Langdock workspace in bring your own keys billing mode.
- Update BYOK Billing Settings
Change the usage budgets and limits of a Langdock workspace in bring your own keys billing mode.
Included Usage Requests
- List Included Usage Requests
List requests from Langdock members for more usage on a workspace in AI models included billing mode.
- Get Included Usage Request
Get one request from a Langdock member for more usage on a workspace in AI models included billing mode.
BYOK Usage Requests
- List BYOK Usage Requests
List requests from Langdock members for more usage on a workspace in bring your own keys billing mode.
- Get BYOK Usage Request
Get one request from a Langdock member for more usage on a workspace in bring your own keys billing mode.
Included Users
- List Included Users
List active Langdock members with their plan and limits on a workspace in AI models included billing mode.
- Get Included User
Get one active Langdock member with their plan and limits on a workspace in AI models included billing mode.
BYOK Users
- List BYOK Users
List active Langdock members with their plan and limits on a workspace in bring your own keys billing mode.
- Get BYOK User
Get one active Langdock member with their plan and limits on a workspace in bring your own keys billing mode.
Compliance Conversations
- List Compliance Conversations
Export the conversations of a Langdock workspace for compliance review, optionally with messages and tool results.
- Get Compliance Conversation
Export one Langdock conversation for compliance review, optionally with its messages and tool results.
Governance Agents
- List Governance Agents
List the agents of a Langdock workspace with their review and compliance status.
- Get Governance Agent
Get one Langdock agent with its review status and compliance rule results.
Unified Users
- List Unified Users
List unified users in a Langdock workspace.
- Get Unified User
Get a unified Langdock user by ID.
Integrations
- Create Integration
Create a custom Langdock integration to add actions and triggers to.
- List Integrations
List the custom API, MCP and A2A integrations in Langdock that this API key can use, with their actions.
- Get Integration
Get one custom Langdock integration with its authentication setup, actions and triggers.
- Update Integration
Rename a custom Langdock integration or change its description, icon or color.
Integration Actions
- Create Integration Action
Add an action that agents can run to a custom Langdock integration.
- Update Integration Action
Change the name, code, input fields or labels of an action on a custom Langdock integration.
- Delete Integration Action
Permanently delete an action from a custom Langdock integration.
Integration Triggers
- Create Integration Trigger
Add a polling trigger that starts workflows to a custom Langdock integration.
- Update Integration Trigger
Replace the name, polling code or input fields of a trigger on a custom Langdock integration.
- Delete Integration Trigger
Permanently delete a trigger from a custom Langdock integration.
Knowledge Bases
- Create Knowledge Base
Create a Langdock Knowledge base and get Editor access to it for this API key.
- List Knowledge Bases
List the Langdock Knowledge bases this API key can already use, with its role and file count on each.
- Search Knowledge Bases
Run a semantic search across every Langdock Knowledge base shared with this API key.
- Update Knowledge Base
Rename a Langdock Knowledge base or change its description.
Knowledge Base Files
- List Knowledge Base Files
List every file in a Langdock Knowledge base with its processing status.
- Get Knowledge Base File
Get one file of a Langdock Knowledge base with its processing status.
- Delete Knowledge Base File
Permanently delete a file and its embeddings from a Langdock Knowledge base.
Prompt Folders
- Create Prompt Folder
Create a folder in the Langdock Prompt Library, private or shared.
- List Prompt Folders
List the Langdock Prompt Library folders this API key can reach.
- Get Prompt Folder
Get one Langdock Prompt Library folder and how it is shared.
- Update Prompt Folder
Rename a Langdock prompt folder or change how it is shared.
- Delete Prompt Folder
Permanently delete a Langdock prompt folder and every prompt in it.
Prompts
- Create Prompt
Create a prompt in the Langdock Prompt Library.
- List Prompts
List the prompts in the Langdock Prompt Library that this API key can reach.
- Get Prompt
Get one prompt from the Langdock Prompt Library.
- Update Prompt
Change the title, content, folder or workspace sharing of a Langdock prompt.
- Delete Prompt
Permanently delete a prompt from the Langdock Prompt Library.
Scheduled Tasks
- Create Scheduled Task
Create a Langdock scheduled task that runs a prompt on a clock or on request.
- List Scheduled Tasks
List the Langdock scheduled tasks owned by this API key's service account or member.
- Get Scheduled Task
Get one Langdock scheduled task with its schedule and run count.
- Update Scheduled Task
Change the prompt, schedule, model, agent or tags of a Langdock scheduled task.
- Delete Scheduled Task
Delete a Langdock scheduled task so it no longer runs.
Skills
- Create Skill
Create a Langdock Skill with its instructions and integrations.
- List Skills
List the Langdock Skills this API key can see, with their instructions.
- Get Skill
Get one Langdock Skill with the list of its stored files.
- Update Skill
Change the name, slug, description, instructions or integrations of a Langdock Skill.
- Delete Skill
Permanently delete a Langdock Skill.
Workflows
- Create Workflow
Create an inactive draft Langdock workflow, optionally shared with editors.
- Publish Workflow
Publish the draft of a Langdock workflow as its new active production version.
- List Workflows
List the Langdock workflows this API key can see, without their graphs.
- Get Workflow
Get one Langdock workflow with its draft and published graph, versions and limits.
- Update Workflow
Change the metadata, limits or draft graph of a Langdock workflow, or pause it.
- Delete Workflow
Permanently delete a Langdock workflow with its draft and published versions.
Workflow Runs
- List Workflow Runs
List the runs of a Langdock workflow with the inputs, outputs, errors and logs of each step.
- Export Workflow Runs
Export the runs of a Langdock workflow in a date range as flat rows, one per step execution.
Other (59)
- Create Agent Completion
Send a conversation to a Langdock agent and get its reply.
- Create OpenAI Chat Completion
Get a model reply to a conversation in the OpenAI Chat Completions format through Langdock.
- Create OpenAI Response
Get a stateless model response in the OpenAI Responses format through Langdock, with function tools.
- Create OpenAI Image
Generate one image from a prompt through Langdock and get it back as base64.
- Create Anthropic Message
Get a model reply in the Anthropic Messages format through Langdock.
- Create Mistral FIM Completion
Fill in the middle of a piece of code with the Mistral Codestral model through Langdock.
- Create OpenAI Embeddings
Turn text into embedding vectors with an OpenAI embedding model through Langdock.
- List Agent Models
List the models a Langdock agent can use, with the id to send as model.
- List Audit Logs
List audit log entries of a Langdock workspace, showing who did what, when and from where.
- Get Billing Mode
Get the Langdock workspace billing mode and currency.
- Get Included Seats
Get paid, assigned and free seat counts per plan on a Langdock workspace in AI models included billing mode.
- Get BYOK Plan Counts
Count active Langdock members on each plan on a workspace in bring your own keys billing mode.
- List Google Models
List the Gemini models of a region that the workspace can use with generate_google_content.
- List Compliance Agent Conversations
Export the conversations held with one Langdock agent for compliance review.
- Get Integration Icon
Get the icon URL of a custom Langdock integration.
- Get Skill File
Read the text contents of one file stored in a Langdock Skill.
- Export User Usage
Export Langdock user usage for a date range as a CSV file and get its download link.
- Export User Usage CSV
Export Langdock user usage for a date range as a CSV file and get its download link.
- Export User Usage JSON
Export Langdock user usage for a date range as JSON rows.
- Export Agent Usage
Export Langdock agent usage for a date range as a CSV file and get its download link.
- Export Agent Usage CSV
Export Langdock agent usage for a date range as a CSV file and get its download link.
- Export Agent Usage JSON
Export Langdock agent usage for a date range as JSON rows.
- Export API Key Usage
Export Langdock api key usage for a date range as a CSV file and get its download link.
- Export API Key Usage CSV
Export Langdock api key usage for a date range as a CSV file and get its download link.
- Export API Key Usage JSON
Export Langdock api key usage for a date range as JSON rows.
- Export Project Usage
Export Langdock project usage for a date range as a CSV file and get its download link.
- Export Project Usage CSV
Export Langdock project usage for a date range as a CSV file and get its download link.
- Export Project Usage JSON
Export Langdock project usage for a date range as JSON rows.
- Export Model Usage
Export Langdock model usage for a date range as a CSV file and get its download link.
- Export Model Usage CSV
Export Langdock model usage for a date range as a CSV file and get its download link.
- Export Model Usage JSON
Export Langdock model usage for a date range as JSON rows.
- Export Workflow Usage
Export Langdock workflow usage for a date range as a CSV file and get its download link.
- Export Workflow Usage CSV
Export Langdock workflow usage for a date range as a CSV file and get its download link.
- Export Workflow Usage JSON
Export Langdock workflow usage for a date range as JSON rows.
- List Roles
List the Langdock system roles and custom roles that can be assigned to members.
- Set Included Group Extra Usage Limit
Set the per-member extra usage limit of a Langdock group on a workspace in AI models included billing mode.
- Set BYOK Group Monthly Budget
Set the per-member monthly budget of a Langdock group on a workspace in bring your own keys billing mode.
- Set Included User Plan
Move a Langdock member to another plan on a workspace in AI models included billing mode.
- Set Included User Extra Usage Limit
Set the extra usage limit of one Langdock member on a workspace in AI models included billing mode.
- Set BYOK User Plan
Move a Langdock member to another plan on a workspace in bring your own keys billing mode.
- Set BYOK User Extra Usage Budget
Set the extra usage budget of one Langdock member on a workspace in bring your own keys billing mode.
- Update Integration Auth
Set how people connect to a custom Langdock integration, with no auth, API key fields, OAuth or a service account.
- Update Knowledge Base Access
Change the role of one person or workspace API key on a Langdock Knowledge base.
- Update User Role
Change a Langdock member's system role and, optionally, their custom roles.
- Delete Attachment
Delete an uploaded Langdock attachment by id.
- Disable Agent
Disable a Langdock agent, or enable it again.
- Decline Included Usage Request
Decline a pending request from a Langdock member for more usage on a workspace in AI models included billing mode.
- Decline BYOK Usage Request
Decline a pending request from a Langdock member for more usage on a workspace in bring your own keys billing mode.
- Bulk Set Included User Plans
Move up to 500 Langdock members to one plan on a workspace in AI models included billing mode.
- Bulk Set BYOK User Plans
Move up to 500 Langdock members to one plan on a workspace in bring your own keys billing mode.
- Generate Google Content
Get a Gemini model reply in the Google generateContent format through Langdock.
- Disable Governance Agent
Turn a Langdock agent off with a stored reason, or turn it back on, as a governance action.
- Grant Knowledge Base Access
Give people or workspace API keys Viewer or Editor access to a Langdock Knowledge base.
- Revoke Knowledge Base Access
Remove the access of one person or workspace API key from a Langdock Knowledge base.
- Pause Scheduled Task
Pause a Langdock scheduled task so it stops running on its clock.
- Resume Scheduled Task
Resume a paused Langdock scheduled task so it runs on its clock again.
- Run Scheduled Task
Queue one run of a Langdock scheduled task now, without waiting for it to finish.
- Invite Users
Invite people to the Langdock workspace by email, with an optional system role each.
- Deactivate User
Remove a member from the Langdock workspace by email.
Set Up Your Langdock MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to Langdock 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>"
]
}
}
}Platform Resources
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, the security risks they share, and when to use one, both or a hybrid.
12 min
MCP vs API: What Hundreds of Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building hundreds of connectors that serve both, here's when each approach wins.
14 min read
FAQ
Langdock MCP Server FAQ
origin_owner_id.