server

server

0

AgentMode is a unified Model Context Protocol server designed for integrating coding AI with various data and cloud services. It enhances developer workflows by providing seamless access to databases, pipelines, and cloud environments.

AgentMode ✨

AgentMode is an all-in-one Model Context Protocol (MCP) server that connects your coding AI to dozens of databases, data warehouses, data pipelines, cloud services, and more. This extension is designed to streamline your development workflow by providing seamless integration with various data and cloud platforms.

flow diagram!

Installation πŸ‘¨β€πŸ’»

quick start with VS code

  1. Install our VS Code extension.
  2. Click the 'Install' button next to the agentmode extension.
  3. Start the MCP server via the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on macOS), then type in 'MCP', then select 'MCP: List Servers' and click on agentmode.
  4. Click on the 'AgentMode' text in the bottom-right status bar corner of VS Code to open a browser tab, sign in, and then setup your connections.

without VS code (Python package)

  1. Open the terminal and install uv with curl -LsSf https://astral.sh/uv/install.sh | sh
  2. uv init
  3. uv add agentmode
  4. uv run agentmode
MCP configuration for VS code If you installed our VS Code extension, it will automatically create or update your settings.json file for you. If you installed agentmode manually, please create a .vscode/settings.json file in your workspace, and replace β€˜YOUR_INSTALLATION_FOLDER’ with the path to your uv environment below:
{
    "mcp": {
        "servers": {
            "agentmode": {
                "command": "cd 'YOUR_INSTALLATION_FOLDER' && uv run agentmode",
                "env": {}
            }
        }
    }
}
MCP configuration for Cursor Please create a \~/.cursor/mcp.json file in your home directory. This makes MCP servers available in all your Cursor workspaces. Please replace 'YOUR_INSTALLATION_FOLDER' below with the folder you setup your uv environment in:
{
    "mcpServers": {
        "inputs": [],
        "servers": {
            "agentmode": {
                "command": "cd 'YOUR_INSTALLATION_FOLDER' && uv run agentmode",
                "env": {}
            }
        }
    }
}

MCP configuration for Windsurf Open the file ~/.codeium/windsurf/mcp_config.json Add the code below to the JSON file. Press the refresh button in Windsurf. Please replace 'YOUR_INSTALLATION_FOLDER' below with the folder you setup your uv environment in:
{
    "mcpServers": {
        "inputs": [],
        "servers": {
            "agentmode": {
                "command": "cd 'YOUR_INSTALLATION_FOLDER' && uv run agentmode",
                "env": {}
            }
        }
    }
}

MCP (Model Context Protocol) 🌐

AgentMode leverages the Model Context Protocol (MCP) to enable your coding AI to:

  • Access and query databases and data warehouses.
  • Interact with data pipelines for real-time or batch processing.
  • Use a web browser.
  • See logs from your production services.
  • Connect to cloud services for storage, computation, and more.

Connections πŸ”Œ

connections setup!

AgentMode supports a wide range of connections, including:

  • Databases: MySQL, PostgreSQL, etc.
  • Data Warehouses: Snowflake, BigQuery, Redshift, etc.
  • Data Pipelines: Airflow, Prefect, etc.
  • Cloud Services: AWS, Azure, Google Cloud, etc. (coming soon!)

To configure connections, follow these steps:

  1. Start the MCP server and go to http://localhost:13000/setup
  2. Click on the icon of the connection you'd like to setup.
  3. Fill out the connection details and credentials (all credentials are stored locally on your machine).
  4. Any required dependencies will be installed on-the-fly.

Help πŸ›Ÿ

If you encounter any issues or have questions, you can:

Contributing πŸ’¬

  • add more connectors & tests