Looking to connect Claude Desktop or other AI assistants? See AI Assistants (MCP) for connecting consumer AI tools to your data.
Authentication Setup
Create a Service Account (CLI)
Coming Soon: Detailed CLI instructions for creating service accounts and issuing API keys will be added here.
- Create a new Group (via CLI) - e.g.,
ai_agents_group
- Grant permissions to the Group (via CLI) - specify what data and operations the group can access
- Create a Service Account (CLI) with your group as the
UserGroupId
- Issue a token - Call
ServiceAccount.issueToken
to generate a JWT token - Store the token securely - Save the token in your application’s secure credential storage
Connecting Your Agent
Using an MCP Client
Here’s an example using Mastra’s MCP client:Authentication Header
All requests to the MCP server must include the API key in the Authorization header:Available MCP Tools
Once connected, your agent has access to Credible’s MCP tools for querying semantic models. The primary tools for data analysis are:- suggestAnalysis - Converts natural language into Malloy queries and retrieves relevant entities from your semantic models
- executeQuery - Run Malloy queries against your semantic models and connected database
Need different authentication setup? We can support custom authentication flows including federated identity, SSO integration, or embedded credentials. Implementation details vary by use case—contact support@credibledata.com to discuss your requirements.