AgentMode
An all-in-one MCP server for developers, connecting coding AI to databases, data warehouses, data pipelines, and cloud services.
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.

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 true
The full list of supported databases is:
mysqlpostgresqlbigqueryredshiftsnowflakemariadbvitesstimescaledbsqlservercockroachdboraclesap_hanaclickhouseprestohivetrinobigqueryredshiftsnowflakedatabricksteradataaws_athena
Manual MCP configuration for VS Code
Please create a .vscode/settings.json file in your workspace, and add the following: ```json { "mcp": { "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" ] } } } } ```Manual MCP configuration for Cursor
Copy and paste this link into your browser: cursor://anysphere.cursor-deeplink/mcp/install?name=agentmode&config=eyJhZ2VudG1vZGUiOnsiY29tbWFuZCI6InV2eCBhZ2VudG1vZGUiLCJhcmdzIjpbIi0tbXlzcWw6aG9zdCIsImhvc3QiLCItLW15c3FsOnBvcnQiLCJwb3J0IiwiLS1teXNxbDp1c2VybmFtZSIsInVzZXJuYW1lIiwiLS1teXNxbDpwYXNzd29yZCIsInBhc3N3b3JkIiwiLS1teXNxbDpkYXRhYmFzZV9uYW1lIiwiZGF0YWJhc2VfbmFtZSIsIi0tbXlzcWw6cmVhZF9vbmx5IiwidHJ1ZSJdfX0=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"
]
}
}
}
}
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": {
"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
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
TypeScript MCP
A TypeScript-specialized server providing advanced code manipulation and analysis capabilities.
Solitaire for Agents
Identity infrastructure for AI agents. Evolving behavioral profiles, experiential memory, self-correcting retrieval. Local-first, model-agnostic.
mcp-sync
Sync MCP server configurations across various AI coding tools.
GoDoc MCP
Access real-time Go package documentation from pkg.go.dev.
Pistachio MobileDev MCP
Android + iOS development for non-technical users
SCMCP
A natural language interface for single-cell RNA sequencing (scRNA-Seq) analysis, supporting various modules from IO to enrichment.
Jupyter MCP Server
Interact with Jupyter notebooks running in any JupyterLab environment, supporting real-time control and smart execution of notebook cells.
Model Context Protocol servers
A collection of reference implementations for the Model Context Protocol (MCP), showcasing servers built with TypeScript and Python SDKs.
Starwind UI
A server providing tools for developers working with Starwind UI components.
Aider MCP Server
An MCP server for offloading AI coding tasks to Aider, enhancing development efficiency and flexibility.