VS Code Extension
Build semantic models in VS Code or Cursor with the Credible Extension
Credible ships a VS Code extension that works in both VS Code and Cursor. It connects your IDE to the Credible platform, equipping your coding agent with the same governed models, MCP (Model Context Protocol) tools, and open-source skills as every other Credible surface.
The steps below use Cursor as the example, but the same workflow applies to VS Code — and to Claude Code running in a workspace the extension has configured.
Prerequisites
- Cursor, VS Code, or VS Code with Claude Code installed (latest version recommended)
- Credible organization set up by an admin
- Database connections configured by your admin — see Connect a Database
What the Credible Extension Provides
The Credible Extension configures your IDE workspace with everything the agent needs for semantic modeling:
- Modeling MCP tools — A set of MCP tools built specifically for modeling: the agent can discover tables in your warehouse, suggest modeling approaches, and look up Malloy syntax — the same open tools Malloy Publisher provides
- Modeling skills — Slash commands (e.g.,
/malloy-model,/malloy-discover,/credible-publish) that guide the agent through common workflows. These are Credible's open-source skills — the same playbooks the in-app agent runs. The agent uses them automatically based on context - Managed database connections — Access connections configured in the Credible App without storing credentials locally
- Credible Service Panel — Browse your environment and its managed connections, down to individual schemas and tables
Installing the Credible Extension also installs the Malloy extension, which provides:
- Syntax highlighting & compilation checks for
.malloy,.malloynb, and.malloysqlfiles - Schema | Explore | Preview buttons above any source definition
- Run | Show SQL buttons above any query or run statement
Installation
Install the Credible Extension & Sign In
- In Cursor or VS Code, go to the Extensions view (
Cmd+Shift+Xon Mac,Ctrl+Shift+Xon Windows/Linux), search for Credible, and install the extension — select Auto Update when prompted - Open the Explorer (
Cmd+Shift+Eon Mac,Ctrl+Shift+Eon Windows/Linux), expand the Credible panel at the bottom of the sidebar, and click Sign In — then follow the steps in your browser - Back in your IDE, select your organization from the list (if you only belong to one, it's selected automatically), then select your environment
Modeling MCP Tools
The Credible Extension equips your agent with a set of MCP tools specifically for modeling — the same open tools Malloy Publisher provides, paired with the same open-source skills that guide every Credible agent. The extension registers them automatically as an environment-scoped Credible-Modeling MCP server — no manual enabling required. In Cursor, the extension registers the server programmatically; in VS Code, it writes a workspace-scoped .vscode/mcp.json config.
To verify, open Cursor Settings (Cmd+Shift+J on Mac, Ctrl+Shift+J on Windows/Linux) → Tools & MCP. The server appears as extension-Credible-Modeling — Cursor uses this naming convention to indicate it was registered by an extension.
To verify, open the Command Palette (Cmd+Shift+P on Mac, Ctrl+Shift+P on Windows/Linux) and run "MCP: List Servers" — you should see Credible-Modeling in the list.
When you start Claude Code in your workspace, you'll be prompted to allow Claude Code to run in the directory and to accept the Credible-Modeling MCP server. Accept both. Use /mcp at any time to view and manage your MCP servers.
Every time you change environments, the extension updates the MCP config automatically. If the agent can't call MCP tools, reload the window (Cmd+Shift+P → "Reload Window").
Credible Service Panel
The Credible Service Panel shows your current environment and its connections. Find it at the bottom of the Explorer view (Cmd+Shift+E on Mac, Ctrl+Shift+E on Windows/Linux):
The Credible Service Panel is part of the IDE extension, so it's available in Cursor and VS Code only. If you use Claude Code from the terminal, manage your environment with the CLI or the Credible App instead.
Here you can view:
- Your current environment — click it to switch environments
- Connections: Managed database connections in the environment — expand one to browse its schemas and tables
The extension automatically discovers connections in your environment, eliminating the need to store database credentials locally.