Skip to main content
Glama

AgentMode

Official
by agentmode

AgentMode ✨

AgentMode is an all-in-one Model Context Protocol (MCP) server that connects your coding AI to dozens of databases, data warehouses, and data pipelines.

flow diagram!

Installation 👨‍💻

Quick start for VS Code, and VS Code Insiders

(replace the credentials in the config with your own, and see the instructions below for how to add other databases)

Configuring database connections

Start with MCP server by installing uv if you haven't already, then run: uvx agentmode from your terminal.

You can configure each database connection by specifying the following parameters:

  • host
  • port
  • username
  • password
  • database_name
  • read_only

For example, to configure a MySQL connection, use the following arguments:

uvx agentmode \ --mysql:host host \ --mysql:port port \ --mysql:username username \ --mysql:password password \ --mysql:database_name database_name \ --mysql:read_only true

The full list of supported databases is:

  • mysql
  • postgresql
  • bigquery
  • redshift
  • snowflake
  • mariadb
  • vitess
  • timescaledb
  • sqlserver
  • cockroachdb
  • oracle
  • sap_hana
  • clickhouse
  • presto
  • hive
  • trino
  • bigquery
  • redshift
  • snowflake
  • databricks
  • teradata
  • aws_athena

OR

Please create a ~/.cursor/mcp.json file in your home directory. This makes MCP servers available in all your Cursor workspaces.

{ "mcpServers": { "inputs": [], "servers": { "agentmode": { "command": "uvx agentmode", "args": [ "--mysql:host", "host", "--mysql:port", "port", "--mysql:username", "username", "--mysql:password", "password", "--mysql:database_name", "database_name", "--mysql:read_only", "true" ] } } } }
{ "mcpServers": { "servers": { "agentmode": { "command": "uvx agentmode", "args": [ "--mysql:host", "host", "--mysql:port", "port", "--mysql:username", "username", "--mysql:password", "password", "--mysql:database_name", "database_name", "--mysql:read_only", "true" ] } } } }

Help 🛟

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

Contributing 💬

  • add more connectors & tests
Deploy Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

An all-in-one Model Context Protocol (MCP) server that connects your coding AI to numerous databases, data warehouses, data pipelines, and cloud services, streamlining development workflow through seamless integrations.

  1. Installation 👨‍💻
    1. quick start with VS code
    2. without VS code (Python package)
  2. MCP (Model Context Protocol) 🌐
    1. Connections 🔌
      1. Help 🛟
        1. Contributing 💬

          Related MCP Servers

          • A
            security
            F
            license
            A
            quality
            Implements the Model Context Protocol (MCP) to provide AI models with a standardized interface for connecting to external data sources and tools like file systems, databases, or APIs.
            Last updated -
            1
            133
            • Apple
            • Linux
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol (MCP) server that implements AI-First Development framework principles, allowing LLMs to interact with context-first documentation tools and workflows for preserving knowledge and intent alongside code.
            Last updated -
            334
            AGPL 3.0
          • -
            security
            A
            license
            -
            quality
            A guide for implementing Model Context Protocol (MCP) servers that provide AI models with external tools like web search, text manipulation, and mathematical operations.
            Last updated -
            8
            MIT License
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol (MCP) Server that provides unified access to multiple external APIs (weather, news, financial data) through a single, consistent interface for AI agents and LLMs.
            Last updated -
            1

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/agentmode/server'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server