Amazon Q Developer integration
Amazon Q Developer supports MCP servers in both its IDE extensions and CLI.
Setup (IDE)
1. Add to your MCP config
Edit ~/.aws/amazonq/mcp.json (global) or .amazonq/mcp.json (workspace):
{ "mcpServers": { "oka": { "command": "npx", "args": ["-y", "@oka-core/reason"] } }}Workspace config (.amazonq/mcp.json) takes precedence over global.
2. Authenticate
In Amazon Q chat, use the login tool:
Use the login tool to authenticate with Oka
This opens your browser to id.oka.so where you sign in or create an account. Your credentials are stored locally and refresh automatically.
Setup (CLI)
qchat mcp add oka -- npx -y @oka-core/reasonThen authenticate via the login tool in a qchat session.
Verify:
qchat mcp listqchat mcp statusAmazon Q-specific options
Timeouts
Set per-server tool execution timeout:
{ "mcpServers": { "oka": { "command": "npx", "args": ["-y", "@oka-core/reason"], "timeout": 30 } }}Tips
- Set
OKA_WORKSPACEin theenvblock to scope events to your project. - Amazon Q Pro/Enterprise users should check with their admin — MCP governance policies may restrict which servers can be used.
- Workspace
.amazonq/mcp.jsonis ideal for team setups — commit it to your repo and have each team member authenticate vialogin.