The grounded data layer for any LLM: governed SQL, metrics, lineage and catalog over your data.
MCPpedia last refreshed this data
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"matih": {
"env": {
"MATIH_MCP_TOKEN": "<your Matih bearer token>"
},
"args": [
"-y",
"@matihlabs/mcp",
"https://<slug>.app.matih.ai/api/v1/mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Connect AI clients (Claude Desktop, ChatGPT, Cursor, …) to the Matih data platform over the Model Context Protocol. Write SQL, profile tables, run analyses + charts, manage dashboards, and upload files — all through MCP tools, with OAuth/PKCE auth and PII-safe egress.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in analytics
An MCP server that provides [describe what your server does]
MCP server that enables AI agents to perform comprehensive web audits using Google Lighthouse with 13+ tools for performance, accessibility, SEO, and security analysis.
MCP server for Dynatrace Managed to access logs, events, and metrics.
Access Dynatrace observability data: logs, metrics, problems, vulnerabilities via DQL and Davis AI
MCP Security Weekly
Get CVE alerts and security updates for ai.matih/mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Connect AI clients (Claude Desktop, ChatGPT, Cursor, …) to the Matih data platform over the Model Context Protocol. Write SQL, profile tables, run analyses + charts, manage dashboards, and upload files — all through MCP tools, with OAuth/PKCE auth and PII-safe egress.
New here? See QUICKSTART.md for a step-by-step customer guide — create a token, connect Claude Desktop / Cursor, and copy-paste
curlsmoke tests — plus a troubleshooting table.
Add to your client's MCP config. The token is delivered via the environment — never as a CLI flag (which leaks into the OS process list):
{
"mcpServers": {
"matih": {
"command": "npx",
"args": ["-y", "@matihlabs/mcp", "https://<slug>.app.matih.ai/api/v1/mcp"],
"env": { "MATIH_MCP_TOKEN": "<your Matih bearer token>" }
}
}
}
The bridge turns the remote Matih HTTP MCP endpoint into a local stdio MCP server,
forwarding every tools/call, resources/read, and prompts/get to Matih.
Endpoint: replace
<slug>with your workspace slug — your Matih app lives athttps://<slug>.app.matih.ai(the bareapp.matih.aihost does not resolve). Get amat_agt_…token from Settings → Developer Tokens. See QUICKSTART.md for the full walkthrough.
import { McpClient, MatihTools, StaticTokenProvider } from "@matihlabs/mcp";
const client = new McpClient({
endpoint: "https://<slug>.app.matih.ai/api/v1/mcp",
tokenProvider: new StaticTokenProvider(process.env.MATIH_MCP_TOKEN!),
});
// discovery-first: fetch the LIVE tool surface (auto-initializes + caches)
const live = await client.tools();
console.log(live.map((t) => t.name));
// call ANY tool generically — including Beta tools with no typed wrapper
const hot = await client.callTool("get_hot_context", {});
// typed convenience wrappers for the 34 STABLE tools
const graph = await new MatihTools(client).exploreGraph({ query: "orders", depth: 2 });
const matih = new MatihTools(client);
const result = await matih.runSql({ connection_id: "<id>", sql: "select 1" });
import { McpClient, OAuthTokenProvider } from "@matihlabs/mcp";
const tokenProvider = new OAuthTokenProvider({
resourceMetadataUrl: "https://<slug>.app.matih.ai/.well-known/oauth-protected-resource/api/v1/mcp",
clientId: "<registered client id>",
acquire: async ({ metadata, clientId, resource }) => {
// open metadata.authorization_endpoint (PKCE S256, resource=<resource>),
// capture the code at your redirect_uri, return { code, verifier, redirectUri }.
},
});
The provider runs RFC 9728 → RFC 8414 discovery, PKCE S256, RFC 8707 resource-bound
tokens, caches, and refreshes; a 401 invalid_token triggers one re-auth.
Discovery is the primary API — await client.tools() returns the live tool
descriptors and client.callTool(name, args) reaches every advertised tool.
The typed facade (MatihTools) covers the 34 stable tools
(STABLE_TOOL_NAMES):
ask (natural-language → grounded answer + the SQL it ran),
run_sql, run_analysis, get_query_result, export_resultlist_connections, list_databases, list_schemas,
list_tables, describe_table, profile_tablesearch_ontology, get_entity,
get_relationships, get_semantic_model, get_glossary, explore_graphget_metric, run_metric, draft_metric
(write-class — proposes a DRAFT metric_def into the human-gated
DRAFT → REVIEW → APPROVED → SHIP pipeline), list_metric_drafts,
export_semantic_model (OSI), get_taxonomy, export_taxonomy (SKOS)create_chart, create_dashboard, get_dashboard,
publish_dashboard