AgentMode
OfficialAgentMode ✨
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.

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:
hostportusernamepassworddatabase_nameread_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 trueThe full list of supported databases is:
mysqlpostgresqlbigqueryredshiftsnowflakemariadbvitesstimescaledbsqlservercockroachdboraclesap_hanaclickhouseprestohivetrinobigqueryredshiftsnowflakedatabricksteradataaws_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:
See the documentation.
Open an issue in the GitHub repository.
Chat with us on our Discord server.
Contributing 💬
add more connectors & tests
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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