Skip to content

DSAgent v0.5.0 - MCP Tools Support

Choose a tag to compare

@nmlemus nmlemus released this 31 Dec 22:12
· 78 commits to main since this release

What's New

MCP (Model Context Protocol) Tools Support

DSAgent now supports connecting to external tool servers via the Model Context Protocol, enabling capabilities like web search, database queries, file system access, and more.

Features

  • MCP Server Connections: Support for both stdio and HTTP transports
  • YAML Configuration: Easy configuration via ~/.dsagent/mcp.yaml
  • Tool Discovery: Automatic discovery of available tools from connected servers
  • LLM Integration: Tools exposed via function calling
  • CLI Support: New --mcp-config option

Example Usage

# ~/.dsagent/mcp.yaml
servers:
  - name: brave_search
    transport: stdio
    command: ["npx", "-y", "@modelcontextprotocol/server-brave-search"]
    env:
      BRAVE_API_KEY: "${BRAVE_API_KEY}"
export BRAVE_API_KEY="your-key"
dsagent "Search for AI trends and analyze" \
  --data ./data.csv \
  --mcp-config ~/.dsagent/mcp.yaml

Installation

pip install "datascience-agent[mcp]"

Other Changes

  • Added --hitl CLI option for Human-in-the-Loop modes
  • Updated documentation with MCP examples
  • 12 new unit tests for MCP functionality

Full Changelog

v0.4.0...v0.5.0