-
Notifications
You must be signed in to change notification settings - Fork 74
Description
Currently, bagofwords connects to standard data warehouses (Snowflake, BigQuery, Postgres) and services via specific, built-in integrations. While this covers major databases, users often need to analyze data from a wider variety of sources (e.g., Google Drive, Slack, local filesystems, or custom internal APIs) that do not yet have native connectors in bagofwords.
Building and maintaining individual integrations for every possible SaaS or database is resource-intensive. However, many of these sources already offer Model Context Protocol (MCP) servers.
Describe the solution you'd like
I would like to request that bagofwords implement MCP Client capabilities (in addition to its existing MCP Server support).
This would allow users to register external MCP servers as "Data Sources" within bagofwords. Once connected, the agentic analyst could query these MCP servers to fetch context, read resources, or call tools to retrieve data for analysis, just as it currently does with SQL databases.
Proposed Workflow:
- In the "Data Sources" settings, add a new option: "Connect MCP Server".
- User provides the configuration (e.g., command to run the stdio server, or SSE endpoint).
bagofwordsconnects to the MCP server and discovers its available Resources and Tools.- The AI Analyst can now utilize these tools/resources to answer user queries (e.g., "Summarize the Q3 report from the Google Drive MCP source").
Describe alternatives you've considered
- Manual Ingestion: Manually exporting data from these sources to CSV/SQL and uploading it to
bagofwords. This is slow and static. - Building Custom Connectors: Requesting specific native integrations for every tool (Salesforce, Jira, etc.), which is not scalable for the maintainers.
Additional context
The modelcontextprotocol.io is rapidly becoming the standard for exposing data to LLMs. By acting as an MCP Client, bagofwords would instantly gain access to the entire ecosystem of existing MCP servers without needing to write custom adapters for each one.
Example Use Cases:
- Connecting a Postgres MCP for a database type not yet natively supported.
- Connecting a Filesystem MCP to analyze local logs or config files.
- Connecting a Git/GitHub MCP to analyze code churn alongside Jira tickets.