Skip to content

MCP

Where: Context › MCP, after picking a database
Who can use it: Admins, Owners, and Users. Viewers don't see the Context page.

The MCP tab shows the context that AI assistants such as Claude, ChatGPT, and Copilot receive when they query a database through the Tursio MCP server. Tursio builds that context from the semantic model it trained. You add the business framing and rules the model can't infer, then download a configured MCP server package that runs in your environment and queries Tursio with your API key.

AI assistants send questions to the Tursio MCP server, which queries the Tursio backend Claude, ChatGPT, and Copilot talk to the Tursio MCP server, which sends queries to Tursio.

Review the context for a database

  1. Open Context in the left navigation and pick a database in the selector at the top.
  2. Select the MCP tab. The MCP Context panel lists the sections below.
  3. Edit the Overview. Describe the business and the kind of analysis the data supports.
  4. Check Tables, Columns, and Measures. These are generated from your context and are read-only here. To change one, select here under the section. Tursio opens the matching Context tab, where you edit the description.
  5. Select Save changes in the bar that appears at the bottom. Tursio shows Changes saved. Select Cancel to drop your edits.

MCP context for one database with the Overview and Tables sections (1) Overview, (2) link to edit the table descriptions. The Overview and Tables text are blurred.

The panel has these sections:

Section What it holds Editable
Overview Business context and analytical scope. Yes
Tables Core entities and how they relate. No, edit the table descriptions
Columns Attributes and column definitions. No, edit the column descriptions
Measures Metrics, aggregations, and KPIs. No, edit the measures
Example questions Sample questions. Saved lists the generated ones. Custom holds your own. Custom only
Additional Context Extra notes, business rules, and constraints. Yes

Example questions and Additional Context sections (1) Switch between Saved and Custom example questions, (2) Additional Context.

To undo your edits to Overview or Additional Context, select Reset to default under the section, then Reset. Tursio restores the generated text and shows Section reset successfully. This can't be undone.

Review the context for All Databases

When you pick All Databases, the tab describes one MCP server that covers every database you can access.

  1. Pick All Databases in the selector and select the MCP tab.
  2. Read the Overview. It lists the available databases with the alias an assistant uses for each one. It's read-only.
  3. Edit Additional Context to add instructions that apply across all databases, then select Save changes.

MCP tab for All Databases (1) Read-only Overview of all databases, (2) Additional Context. Database names are hidden in this screenshot.

Global training comes first

The All Databases context exists only after global training has run. Until then, the Overview shows a message asking you to run global training, and Additional Context isn't available. See Training.

Configure MCP

The setup has three steps: Overview, Configure, and Download and Test.

  1. Select the export button at the top right of the MCP Context panel.
  2. Pick your assistant: Claude, ChatGPT, or Copilot. The Connect … to Tursio dialog opens on Overview, which says what the integration does.
  3. Select Continue to go to Configure.

Export menu with Claude, ChatGPT, and Copilot (1) Export button, (2) pick an assistant.

On Configure:

  1. Check the API key. Tursio fills it in from the latest unexpired token of the API agent named default. You can't edit it here. If there's no key, select Create to open Settings and add an API agent named default. See API Agent.
  2. Enter the host url. This is the address of your Tursio portal, for example https://tursio.yourcompany.com.
  3. Select Validate. Tursio sends a test call to that address with the API key and shows Host URL validated. You need to validate whenever you change the URL.
  4. Open Advanced configurations if you want to change how the assistant uses the Tursio tools.
  5. Select Continue. Tursio saves the host URL and any changed tool descriptions.

Configure step with API key, host URL, and Validate (1) API key, (2) host url, (3) Validate, (4) Advanced configurations. The key and URL are hidden in this screenshot.

Continue stays off until there's an API key and a host URL, and until a changed URL passes validation.

Advanced configurations

Advanced configurations holds the instructions the assistant reads for each Tursio tool:

  • Semantic Context Tool Description: how the assistant should fetch and use the context for the database.
  • Search Tool Description: how the assistant should run searches, and when to rephrase a question or ask the user to clarify.

Edit either one to add your own instructions. Each description is saved per assistant. Select Reset to default under a description to restore the original.

Advanced configurations with the two tool descriptions (1) Semantic Context Tool Description, (2) Search Tool Description, (3) Continue.

For All Databases, this section shows the read-only Catalog info instead: the server configuration for all the databases in scope.

Download the MCP server package

  1. Review the Download and Test step. It links to a short video and lists the steps to connect your assistant to an MCP server.
  2. Select Download MCP. Tursio downloads the package and shows MCP downloaded successfully.
  3. Deploy the server from the package. See MCP server.
  4. Connect your assistant to the server: Claude, ChatGPT, or Copilot.

Download and Test step with the Download MCP button (1) Download and Test, (2) Download MCP.

For one database, the file is mcp_export.zip. For All Databases, it's catalog_mcp_<name>.zip.

The package contains your API key

The configuration file in the zip holds the API key from the Configure step. Store and share the zip as you would any credential.

What's in the package

The zip unpacks to an mcp/ folder:

Path Contents
mcp/run.sh Startup script for the server.
mcp/README.md Setup notes.
mcp/server/ The MCP server code and its requirements.txt.
mcp/server/configs/<name>.yaml The server configuration: the Tursio search and context URLs built from your host url, the API key, and the tool descriptions.

The server exposes the semantic_context and tursio_search tools to the assistant. Setup, configuration fields, and troubleshooting are on MCP server.

To track a deployed server's status and logs in the portal, add it as an MCP agent. See MCP Agent.

Tips and limits

  • Overview, Additional Context, and Custom example questions take up to 50,000 characters each.
  • The setup doesn't save as you go. If you close the dialog after the first step, Tursio asks you to confirm in Exit setup, and unsaved changes are lost. Finish the setup in one session.
  • You can go back to Overview or Configure by selecting the step on the left.
  • If the host URL is missing, the download stops with host_url is required for download. Go back to Configure and enter it.
  • If the download fails, Tursio asks you to retrain the database and try again.
  • For All Databases, a host URL change isn't saved. Only Additional Context is.
  • The All Databases context covers only the databases you have access to.
  • Edits to the context on this tab are saved in Tursio, which the server queries, so they don't need a new package. A new host URL, API key, or tool description is written into the package, so download it again after you change those.