Skip to content

Feature Request: Add MCP Client Support to Connect External MCP Data Sources #61

@faisal-fida

Description

@faisal-fida

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:

  1. In the "Data Sources" settings, add a new option: "Connect MCP Server".
  2. User provides the configuration (e.g., command to run the stdio server, or SSE endpoint).
  3. bagofwords connects to the MCP server and discovers its available Resources and Tools.
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions