---
title: "MCP Servers"
description: "Host a workspace MCP endpoint that exposes selected resources as tools."
canonical_url: "https://docs.vettero.com/configuration/mcp-servers"
---
# MCP Servers

> Host a workspace MCP endpoint that exposes selected resources as tools.

**MCP Servers** host an HTTP [Model Context Protocol](https://modelcontextprotocol.io/) endpoint for your workspace. External clients (for example Cursor) call selected Vettero resources as MCP tools. You choose what to expose and require a request auth token on every call.

This is distinct from [MCP Integrations](https://docs.vettero.com/integrations/mcp-integrations) (outbound clients to external MCP URLs) and from **Studio MCP** under Workspace Settings ([Studio](https://docs.vettero.com/build/studio) builder tools for editing the workspace).

## When to use

- Let an external MCP client run workspace agents, APIs, queries, or knowledge-base tools
- Publish a curated, authenticated tool surface instead of sharing full app access
- Prefer secrets in [environment variables](https://docs.vettero.com/configuration/environment-variables) for the request token

## Create an MCP server

Open **Configuration → MCP Servers** and choose **Add MCP Server**.

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Name
      </strong>
    </td>
    
    <td>
      Required display name
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Description
      </strong>
    </td>
    
    <td>
      Optional notes
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Enabled
      </strong>
    </td>
    
    <td>
      When off, the endpoint rejects traffic
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Request token
      </strong>
    </td>
    
    <td>
      Bearer / API-key secret clients must send — literal value or <code>
        env.*
      </code>
    </td>
  </tr>
</tbody>
</table>

After create, open the server to copy the **endpoint URL** and manage exposed tools.

### Configure exposed resources

Choose **Configure resources** and pick tools by category:

<table>
<thead>
  <tr>
    <th>
      Category
    </th>
    
    <th>
      What you expose
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Blocks
      </strong>
      
       / <strong>
        Services
      </strong>
    </td>
    
    <td>
      System and connected-service integration blocks
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        WhatsApp Templates
      </strong>
    </td>
    
    <td>
      Selected <a href="https://docs.vettero.com/templates/whatsapp-templates">
        WhatsApp templates
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Agents
      </strong>
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/agents">
        Agents
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Functions
      </strong>
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/functions">
        Functions
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Workflows
      </strong>
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows">
        Workflows
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Api
      </strong>
    </td>
    
    <td>
      Operations from <a href="https://docs.vettero.com/integrations/apis">
        API schemas
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        KB
      </strong>
    </td>
    
    <td>
      <a href="https://docs.vettero.com/data/knowledge-bases">
        Knowledge base
      </a>
      
       query tools
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Query
      </strong>
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/queries">
        Queries
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        MCP
      </strong>
    </td>
    
    <td>
      Tools from <a href="https://docs.vettero.com/integrations/mcp-integrations">
        MCP Integrations
      </a>
    </td>
  </tr>
</tbody>
</table>

Each exposed tool needs a valid MCP tool **name**: lowercase letters, digits, and underscores; must start with a letter or `_`; max 64 characters; unique across categories on that server.

## Authenticate clients

Clients send the configured request token (Bearer or `X-Api-Key`, depending on client support). Prefer:

```text
env.MCP_AUTH_TOKEN
```

over embedding a raw secret in the server record. See [Environment Variables](https://docs.vettero.com/configuration/environment-variables).

## Limits

- Disabled or deleted servers stop external access immediately.
- Only the resources you explicitly expose are available — nothing else in the workspace is reachable via that endpoint.

## Where MCP servers are used

<table>
<thead>
  <tr>
    <th>
      Place
    </th>
    
    <th>
      How
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        External MCP clients
      </strong>
    </td>
    
    <td>
      HTTP endpoint + auth token
    </td>
  </tr>
</tbody>
</table>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
