Introducing Virtual MCP Servers
LogoLogo
GithubJoin SlackSignupBook a Demo
  • Documentation
  • Self Hosted
  • Integrations
  • Guides
  • Enterprise
  • Introduction to AI Gateway
  • Supported Models
  • Supported MCP Servers
  • Getting Started
    • Quick Start
    • Working with API
    • Working with Multiple Agents
    • Working with MCPs
    • Working with Headers
    • User Tracking
    • Using Parameters
  • Concepts
    • Thread
    • Trace
    • Run
    • Label
    • Message
    • Virtual Models
    • Virtual MCP Servers
  • Features
    • Tracing
    • Routing
      • Using Router
    • MCP Support
    • Publishing MCP Servers
    • Usage
    • Analytics
    • Guardrails
    • User Roles
    • Cost Control
  • Python SDK
    • Getting Started
  • API Reference
  • Postman Collection
Powered by GitBook
LogoLogo

Social

  • LinkedIn
  • X
  • Youtube
  • Github

Platform

  • Pricing
  • Documentation
  • Blog

Company

  • Home
  • About

Legal

  • Privacy Policy
  • Terms of Service

2025 LangDB. All rights reserved.

On this page
  • Why Use a Virtual MCP?
  • How to Set It Up
  • Install in Cursor / Windsurf / Claude
  • Try it in the playground

Was this helpful?

Export as PDF
  1. Concepts

Virtual MCP Servers

Create Virtual MCP Servers in LangDB AI Gateway to unify tools, manage auth securely, and maintain full observability across workflows

PreviousVirtual ModelsNextTracing

Last updated 20 hours ago

Was this helpful?

A Virtual MCP Server lets you create a customized set of MCP tools by combining functions from multiple MCP servers — all with scoped access, unified auth, and full observability.

Why Use a Virtual MCP?

  • Selective Tools: Pick only the tools you need from existing MCP servers (e.g. Airtable's list_records, GitHub's create_issue, etc.)

  • Clean Auth Handling: Add your API keys o`nly if needed. Otherwise, LangDB handles OAuth for you.

  • Full Tracing: Every call is traced on the LangDB — with logs, latencies, input/output, and error metrics.

  • Easy Integration: Works out of the box with Cursor, Claude, Windsurf, and more.

  • Version Lock-in: Virtual MCPs are pinned to a specific server version to avoid breaking changes.

  • Poisoning Safety: Prevents injection or override by malicious tool definitions from source MCPs.

How to Set It Up

  1. Go to your Virtual MCP server on LangDB Project.

  2. Select the tools you want to include.

  3. (Optional) Add API keys or use LangDB-managed auth.

  4. Click Generate secure MCP URL.

Install in Cursor / Windsurf / Claude

Once you have the MCP URL:

npx @langdb/mcp setup figma https://api.staging.langdb.ai/mcp/xxxxx --client cursor

You're now ready to use your selected tools directly inside the editor.

Try it in the playground

You can also try the Virtual MCP servers by adding the server in the config.

virtual model
Virtual MCP Server - Adding Tools and API keys.
Virtual MCP Server - Using it in Claude, Cursor, Windsurf.
Virtual MCP Server - Usage on cursor
Virtual MCP Server - Usage on LangDB Playground