ZuploZuplo
LoginSign Up
  • Documentation
  • API Reference
Introduction
Getting Started
    Develop using the Portal
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth4 - Deploy5 - Dynamic Rate LimitingMCP - Quick start
    Develop Locally
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth
Concepts
Development
Policies
Handlers
API Keys
MCP Server
MCP Gateway
AI Gateway
Developer Portal
    IntroductionLocal DevelopmentUpdating VersionsNode Modules & Customization
    Configuration
    Writing
    OpenAPI
      API ReferenceAPI Catalog
      Supported Extensions
        x-mcpx-mcp-serverx-code-samplesx-tagGroupsx-displayNamex-zudoku-collapsedx-zudoku-collapsiblex-zudoku-playground-enabled
    Authentication
    Integrations
    Guides
    Extending
    Components
Monetization
Deploying & Source Control
Observability
Networking & Infrastructure
Account Management
Programming API
Build with AI
Zuplo CLI
Migration Guides
Platform LimitsSecuritySupportTrust & ComplianceChangelog
powered by Zudoku
Supported Extensions

x-mcp

Use x-mcp to document MCP (Model Context Protocol) server metadata in your OpenAPI description. This extension describes the MCP server capabilities, tools, resources, and prompts at the document root.

Support for rendering x-mcp in Dev Portal is currently in development. For now, if you want to mark individual operations as MCP endpoints with full UI support, use the x-mcp-server extension.

Location

The x-mcp extension is added at the Root Object level — the outermost level of the OpenAPI description.

OptionTypeDescription
x-mcpMCP ObjectMCP server description and configuration

MCP Object

PropertyTypeRequiredDescription
protocolVersionstringYesThe MCP protocol version supported by the server.
servers[Server Object]NoA list of server objects used to add one or more target endpoints for the MCP server.
capabilitiesCapabilities ObjectNoServer capabilities including supported features like logging, prompts, resources, and tools.
tools[Tool Object]NoArray of tools provided by the MCP server.
resources[Resource Object]NoArray of resources provided by the MCP server.
prompts[Prompt Object]NoArray of prompts provided by the MCP server.

Capabilities Object

PropertyTypeDescription
loggingobjectLogging capabilities configuration. Empty object indicates basic logging support.
promptsobjectPrompt capabilities configuration with optional listChanged boolean property.
resourcesobjectResource capabilities configuration with optional subscribe and listChanged boolean properties.
toolsobjectTool capabilities configuration with optional listChanged boolean property.

Tool Object

PropertyTypeRequiredDescription
namestringYesThe name of the tool.
titlestringNoTitle of the tool.
descriptionstringYesDescription of what the tool does.
tags[string]NoTags for the tool.
inputSchemaobjectNoJSON Schema describing the expected input parameters for the tool.
outputSchemaobject or stringNoJSON Schema describing the tool's output, or a reference to a schema component.
security[object]NoSecurity requirements for the tool, following OpenAPI security scheme format.

Resource Object

PropertyTypeRequiredDescription
namestringYesThe name of the resource.
descriptionstringNoDescription of the resource.
uristringNoURI template for accessing the resource.
mimeTypestringNoMIME type of the resource content.

Prompt Object

PropertyTypeRequiredDescription
namestringYesThe name of the prompt.
titlestringNoTitle of the prompt.
descriptionstringNoDescription of the prompt.
arguments[Argument Object]NoArray of arguments for the prompt.

Argument Object

PropertyTypeRequiredDescription
namestringYesThe name of the argument.
descriptionstringNoDescription of the argument.
requiredbooleanNoWhether the argument is required.

Example

The following example shows an OpenAPI description with an x-mcp extension that defines an MCP server with OAuth2 security, multiple tools, and schema components:

Code
openapi: 3.2.0 info: version: 1.0.0 title: API Clients MCP license: name: MIT servers: - url: http://localhost:8080/mcp paths: {} x-mcp: protocolVersion: "2025-06-18" capabilities: logging: {} prompts: listChanged: true resources: subscribe: true tools: listChanged: true tools: - name: clients/get description: Get a list of clients with all scopes in a service domain. inputSchema: type: object properties: clientId: type: string description: The ID of the client to get. outputSchema: $ref: "#/components/schemas/Client" security: - OAuth2: - read - name: clients/list description: Get a list of clients with all scopes in a service domain. inputSchema: type: object properties: paginationToken: type: string description: The pagination token to get the next page of clients. outputSchema: type: object properties: clients: type: array items: $ref: "#/components/schemas/Client" paginationToken: type: string description: The pagination token to get the next page of clients. resources: [] components: securitySchemes: OAuth2: type: oauth2 flows: clientCredentials: tokenUrl: http://localhost:8080/mcp/token scopes: read: Read access write: Write access schemas: Client: type: object properties: clientId: type: number description: The ID of the client. scopes: type: array items: type: string description: The scopes of the client. required: - clientId - scopes
Edit this page
Last modified on May 29, 2026
API Catalogx-mcp-server
On this page
  • Location
  • MCP Object
  • Capabilities Object
  • Tool Object
  • Resource Object
  • Prompt Object
    • Argument Object
  • Example
YAML