Compatible with every major AI agent and IDE
What is the Legito MCP Server?
Connect your Legito workspace to any AI agent to streamline your legal and document automation workflows through natural conversation.
What you can do
- Document Management — List document records, retrieve specific version data, and track document shares across your organization.
- Template Control — Access and list available template suites and categories to quickly identify the right starting point for new contracts.
- User & Group Administration — Manage user groups, list active users, and inspect detailed permissions to ensure secure access control.
- Global Configuration — Query workspace info, supported currencies, timezones, and country-specific legal settings.
- Instant Downloads — Generate and download document versions in formats like PDF or DOCX directly through your agent.
How it works
- Subscribe to this server
- Enter your Legito Workspace URL, API Key, and Private Key
- Start managing your document automation from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Legal Teams — instantly find document records and check sharing statuses without leaving your research flow
- Operations Managers — automate the retrieval of template suites and manage user group access efficiently
- HR & Admin — quickly download generated document versions and verify user permissions during onboarding
Built-in capabilities (31)
Add a user to a user group
Create document version data from a template suite
Create a new user
Create a new user group
Delete a document record
Delete a user
Delete a user group
Download a document version
Get data for a specific document version
Get workspace info
Get shares for a document
Get permissions for a user
List advanced styles
List categories (groups)
List countries (laws)
List supported currencies
List document records
List Legito template suites
List timezones
List user groups (departments)
List users
Remove a document share from a user
Remove a document share from a user group
Remove a user from a user group
Share a document with a user
Share a document with a user group
Update a document record
Update document version data
Update a user
Update a user group
Update permissions for a user
Why OpenAI Agents SDK?
The OpenAI Agents SDK auto-discovers all 31 tools from Legito through native MCP integration. Build agents with built-in guardrails, tracing, and handoff patterns. chain multiple agents where one queries Legito, another analyzes results, and a third generates reports, all orchestrated through Vinkius.
- —
Native MCP integration via
MCPServerSse, pass the URL and the SDK auto-discovers all tools with full type safety - —
Built-in guardrails, tracing, and handoff patterns let you build production-grade agents without reinventing safety infrastructure
- —
Lightweight and composable: chain multiple agents and MCP servers in a single pipeline with minimal boilerplate
- —
First-party OpenAI support ensures optimal compatibility with GPT models for tool calling and structured output
Legito in OpenAI Agents SDK
Legito and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect Legito to OpenAI Agents SDK through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for Legito in OpenAI Agents SDK
The Legito MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 31 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in OpenAI Agents SDK only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
Legito for OpenAI Agents SDK
Every tool call from OpenAI Agents SDK to the Legito MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
Can I download a specific document version in PDF format?
Yes! Use the download_document_version tool by providing the document code and specifying 'pdf' as the format. Your agent will retrieve the download link or data immediately.
How do I see all available template suites in my workspace?
Simply ask the agent to run the list_template_suites action. It will return a complete list of all template suites configured in your Legito environment.
Is it possible to check what permissions a specific user has?
Yes. By using the get_user_permissions tool with a user's identifier, the agent can retrieve the exact permission set assigned to that user in the workspace.
How does the OpenAI Agents SDK connect to MCP?
Use MCPServerSse(url=...) to create a server connection. The SDK auto-discovers all tools and makes them available to your agent with full type information.
Can I use multiple MCP servers in one agent?
Yes. Pass a list of MCPServerSse instances to the agent constructor. The agent can use tools from all connected servers within a single run.
Does the SDK support streaming responses?
Yes. The SDK supports SSE and Streamable HTTP transports, both of which work natively with Vinkius.
MCPServerStreamableHttp not found
Ensure you have the latest version: pip install --upgrade openai-agents
Agent not calling tools
Make sure your prompt explicitly references the task the tools can help with.
Explore More MCP Servers
View all →
Mattermost (Secure Team Collaboration)
10 toolsManage team collaboration via Mattermost — send messages, search channels, and audit team activities.

Open Brewery DB
4 toolsDiscover breweries across the United States — search by name, city, state, or type with addresses, phone numbers, and websites for every location.

Browserbear
10 toolsAutomate browser tasks via Browserbear — take screenshots, scrape data, and run multi-step automations directly from any AI agent.

Logto (Auth Platform)
23 toolsManage users, roles, and organizations in your Logto auth tenant directly from your AI agent.
