Skip to main content
Glama
agentmode
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

Install in VS Code

Install in 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"
                ]
            }
        }
    }
}

Related MCP server: MCP SQL Server

Help 🛟

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

Contributing 💬

  • add more connectors & tests

Install Server
F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    A Model Context Protocol server that provides AI assistants with comprehensive access to SQL databases, enabling schema inspection, query execution, and database operations with enterprise-grade security.
    Last updated
    53
    7
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    A Model Context Protocol server that provides AI models with structured access to external data and services, acting as a bridge between AI assistants and applications, databases, and APIs in a standardized, secure way.
    Last updated
    2
  • A
    license
    -
    quality
    C
    maintenance
    A unified Model Context Protocol server that provides a consistent interface for AI assistants to interact with productivity tools like Linear, GitHub, Slack, and Notion. It enables users to search, retrieve, and manage tasks and data across multiple workplace services from a single endpoint.
    Last updated
    38
    MIT

View all related MCP servers

Related MCP Connectors

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.

  • One shared context your team's AI tools read & write over MCP. No re-explaining. Free.

View all MCP Connectors

Latest Blog Posts

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