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 Vercel AI SDK?
The Vercel AI SDK gives every Legito tool full TypeScript type inference, IDE autocomplete, and compile-time error checking. Connect 31 tools through Vinkius and stream results progressively to React, Svelte, or Vue components. works on Edge Functions, Cloudflare Workers, and any Node.js runtime.
- —
TypeScript-first: every MCP tool gets full type inference, IDE autocomplete, and compile-time error checking out of the box
- —
Framework-agnostic core works with Next.js, Nuxt, SvelteKit, or any Node.js runtime. same Legito integration everywhere
- —
Built-in streaming UI primitives let you display Legito tool results progressively in React, Svelte, or Vue components
- —
Edge-compatible: the AI SDK runs on Vercel Edge Functions, Cloudflare Workers, and other edge runtimes for minimal latency
Legito in Vercel AI SDK
Legito and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect Legito to Vercel AI 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 Vercel AI 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 Vercel AI 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 Vercel AI SDK
Every tool call from Vercel AI 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 Vercel AI SDK connect to MCP servers?
Import createMCPClient from @ai-sdk/mcp and pass the server URL. The SDK discovers all tools and provides typed TypeScript interfaces for each one.
Can I use MCP tools in Edge Functions?
Yes. The AI SDK is fully edge-compatible. MCP connections work on Vercel Edge Functions, Cloudflare Workers, and similar runtimes.
Does it support streaming tool results?
Yes. The SDK provides streaming primitives like useChat and streamText that handle tool calls and display results progressively in the UI.
createMCPClient is not a function
Install: npm install @ai-sdk/mcp
Explore More MCP Servers
View all →
Mercury
10 toolsEquip your AI agent with direct access to Mercury — check account balances, review transactions, and manage recipients without opening the banking dashboard.

Flotiq
10 toolsManage headless content via Flotiq — create and search content objects, handle media assets, audit schemas, and track tenant limits directly from any AI agent.

ProspectX
17 toolsFind and verify B2B prospect data with AI-powered enrichment that builds targeted outreach lists for your sales team.

Jawg Maps (Location & Routing)
10 toolsBuild with location data via Jawg Maps — search places, calculate routes, compute distance matrices, and get elevation data.
