Amazon Q Developer CLI

by BrianSuarezSantiago

335 downloads
Not rated
GitHub

About

AWS MCP Server Configurations for different operating systems

Details

Author
BrianSuarezSantiago
Downloads
335
Categories
Developer Tools

- Configures MCP servers via structured JSON configuration file.
- Supports global and workspace‑specific MCP settings.
- Runs MCP servers using uvx and Python 3.10+.
- Lists and manages tools with /tools and /tools trust.
- Integrates with AWS Documentation and Cost Analysis MCP servers.

Install Amazon Q Developer CLI, configure an mcp.json file (globally at ~/.aws/amazonq/mcp.json or per workspace at .amazonq/mcp.json), and add MCP server entries using uvx commands. Use the /tools command to view available tools and /tools trust <tools> to auto‑approve them.

Amazon Q Developer CLI

1. Instalar Amazon Q Developer CLI: https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/command-line.html | https://github.com/aws/amazon-q-developer-cli
2. Configurar Amazon Q Developer CLI
3. Instalar uv desde Astral: https://docs.astral.sh/uv/getting-started/installation/
4. Instalar una version de Python 3.10 o superior: uv python install 3.10 (o una versión más reciente)

No he conseguido que funcione con Docker

5. Crear un archivo mcp.json
Global Configuration: ~/.aws/amazonq/mcp.json - Aplica a todos los workspaces

Workspace Configuration: .amazonq/mcp.json - Aplica especificamente al workspace actual

MCP Configuration: https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/command-line-mcp-configuration.html

AWS MCP Servers: https://awslabs.github.io/mcp/ | https://github.com/awslabs/mcp
7. Incluir la configuración del servidor

Usando uv

AWS Documentation MCP Server

``{json}
{
"mcpServers": {
"aws-docs": {
"command": "uvx",
"args": ["awslabs.aws-documentation-mcp-server@latest"],
"env": {
"FASTMCP_LOG_LEVEL": "ERROR"
},
"disabled": false,
"autoApprove": []
}
}
}


AWS Cost Analysis Server

AWS_PROFILE: <your-aws-profile>

{json}
{
"mcpServers": {
"aws-cost-analysis": {
"command": "uvx",
"args": ["awslabs.cost-analysis-mcp-server@latest"],
"env": {
"FASTMCP_LOG_LEVEL": "ERROR",
"AWS_PROFILE": default"
},
"disabled": false,
"autoApprove": []
}
}
}
`

Comandos Amazon Q Developer CLI

/tools para ver las herramientas configuradas y disponibles

/tools trust <tools>` para usar las tools sin tener que pedir las confirmacion constantemente

Ejemplos de prompts

look up documentation on S3 bucket naming rule. cite your sources --> recommend content for page https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html

lookup the docks, and tell me how to connect my on-premises servers manage them as a hybrid node

You can use /compact to replace the conversation │
│ history with its summary to free up the context space

/usage shows you a visual breakdown of your current │
│ context window usage

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.