3 ms·
We built an MCP for our own API at https://definite.app https://definite.app. Here's how I use it: We often help customers set up their "data model". We use Cu
by mritchie712 2y ago
We built an MCP for our own API at https://definite.app https://definite.app. Here's how I use it:
We often help customers set up their "data model". We use Cube (open source semantic layer) for this and need to write many files in a mix of SQL and YAML that defines what tables and columns they'll see in the UI.
This can be pretty tedious, but claude / cursor is very good at it. You feed in the schema (via an MCP) and can provide some questions the user wants to answer. Here's how it might look on one question:
1. The user wants to answer "Which channels from hubspot generate the highest LTV customers? Which channels have the lowest churn?"
2. The agent will search the schema for relevant raw data and start editing the data model. In this example, we might need to add a join between hubspot and stripe.
3. Once it has the raw data and an idea of how they relate, we'll create metrics and dimensions that answer the question.
We'll add these abilities to our built-in agent once we perfect a few things, but I see MCP's as a good testing ground for things you ultimately want to build into your own agent.