> ## Documentation Index
> Fetch the complete documentation index at: https://docs.geekflare.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Amazon Q

> Connect Geekflare MCP server to Amazon Q Developer for web scraping, search, screenshot, and DNS tools in your coding workflow.

[Amazon Q Developer](https://aws.amazon.com/q/developer/) is AWS's AI coding assistant, available as a VS Code and JetBrains extension. It supports MCP servers, letting you connect Geekflare tools for scraping, search, screenshots, and DNS lookups during development.

## Prerequisites

* Amazon Q Developer extension installed in VS Code or JetBrains
* Amazon Q Developer Pro subscription (MCP requires Pro)
* [Node.js](https://nodejs.org) installed (for local transport)

## Setup

Amazon Q Developer reads MCP configuration from a JSON file in your home directory.

Create or edit `~/.aws/amazonq/mcp.json`:

<Tabs>
  <Tab title="Remote URL (Recommended)">
    ```json theme={null}
    {
      "mcpServers": {
        "geekflare": {
          "url": "https://mcp.geekflare.com/YOUR_API_KEY/mcp"
        }
      }
    }
    ```
  </Tab>

  <Tab title="Local via npx">
    ```json theme={null}
    {
      "mcpServers": {
        "geekflare": {
          "command": "npx",
          "args": ["-y", "@geekflare/mcp"],
          "env": {
            "API_KEY": "YOUR_API_KEY"
          }
        }
      }
    }
    ```
  </Tab>
</Tabs>

Replace `YOUR_API_KEY` with your Geekflare API key. Restart your editor after saving.

## Usage Examples

Open the Amazon Q chat panel in your editor and try:

**Scrape a webpage**

```
Scrape https://aws.amazon.com/lambda and extract the key features listed on the page.
```

**Search the web**

```
Search for "AWS Lambda cold start optimization" and summarize the top recommendations.
```

**Screenshot**

```
Take a screenshot of https://geekflare.com and describe the page layout.
```

**DNS lookup**

```
Look up the DNS records for amazonaws.com.
```
