Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.

Use Amazon Q Developer’s MCP configuration to register GitHub’s official server as either a local STDIO process or a remote HTTP endpoint. In the IDE, open the MCP tools configuration, choose a scope, map GitHub’s command or URL into Amazon Q’s fields, authenticate with OAuth or a least-privilege personal access token (PAT), and then confirm that the tools appear. In the CLI, add the server to the agent configuration and run /tools.

Choose the connection model first

Amazon Q Developer supports MCP servers in both its IDE integrations and CLI. GitHub’s official server can run locally with Docker or a built Go binary, which Q starts through STDIO. A remote MCP deployment is accessed over HTTP and may require authorization.

Decision Use this when Trade-off
IDE or CLI IDE for visual setup and per-tool approvals; CLI for agent configuration and terminal sessions IDE is easier to inspect; CLI is easier to reproduce in scripts and projects
STDIO or HTTP STDIO for a process on your computer; HTTP for an already-hosted endpoint STDIO needs Docker or a local binary; HTTP needs a reachable URL and authorization
Global or local scope Global for reuse across projects; local for one workspace Workspace-level settings take precedence over global settings
OAuth or PAT OAuth for browser-based sign-in; PAT for explicit, managed credentials OAuth avoids placing a token in configuration; PAT handling and permissions become your responsibility

GitHub’s README cautions that MCP host configuration syntax varies. Do not paste a configuration file written for another MCP client into Amazon Q unchanged; use Q’s own fields and put GitHub’s command, arguments, URL, headers, and environment values into those fields.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Prepare GitHub’s official MCP server

Option A: run the published Docker image

Install Docker and ensure your account can run containers. GitHub publishes the image ghcr.io/github/github-mcp-server. A typical STDIO launch with a PAT is:

#1 Best Overall
Anker USB C to Ethernet Adapter, Portable 1 Gbps Network Hub
  • The Anker Advantage: Join the 65 million+ powered by our leading technology.
  • Instant Internet: Connect to the internet instantly from virtually any USB-C 3.0 device, and enjoy stable connection speeds of up to 1 Gbps.
  • Lightweight and Compact: The space-saving and portable design measures just over half an inch thick and weighs about the same as a AA battery.
  • Premium Build: Features a sleek aluminum exterior and braided-nylon cable to complement the design of high-end devices.
  • What You Get: PowerExpand USB-C to Gigabit Ethernet Adapter, welcome guide, 18-month worry-free warranty, and friendly customer service.
docker run -i --rm 
  -e GITHUB_PERSONAL_ACCESS_TOKEN 
  ghcr.io/github/github-mcp-server

When Amazon Q launches this process, it communicates over standard input and output. Keep diagnostic output out of the protocol stream and make sure Docker is available on the same machine as Q.

Option B: build and run the Go binary

If Docker is not suitable, build the server from GitHub’s repository according to its current instructions, then start the binary in STDIO mode:

github-mcp-server stdio

Expose authentication to the process through the environment rather than committing a token to a project file:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
export GITHUB_PERSONAL_ACCESS_TOKEN='replace-with-your-token'
github-mcp-server stdio

GitHub Enterprise Server and ghe.com can require a different application or host setup. Follow GitHub’s Enterprise instructions for the server version and host you operate.

Connect it in the Amazon Q IDE

  1. Open MCP configuration. In your IDE, open the Amazon Q panel, open Chat, and select the tools icon to reach MCP configuration.
  2. Add a server. Choose global to make the server available across projects, or local to restrict it to the current workspace. Q stores global settings in ~/.aws/amazonq/default.json and local settings in .amazonq/default.json. Workspace configuration wins when both exist. Legacy mcp.json locations are supported when the documented compatibility setting is enabled.
  3. Select the transport. Choose STDIO for Docker or the local binary. Enter the executable in the command field, such as docker or github-mcp-server, then add the image, run flags, or stdio argument in the arguments field. Put GITHUB_PERSONAL_ACCESS_TOKEN in the environment-variable section if you are using a PAT.
  4. Configure HTTP when using a hosted server. Select HTTP, enter the endpoint URL, and add any required headers. Q can open a browser authorization page when the endpoint requires supported authorization.
  5. Save and review permissions. Q attempts to connect after you save. For each exposed tool, choose Ask, Always allow, or Deny. Use Ask first while you learn what the server can do.

Example STDIO field mapping

Amazon Q field Docker value Binary value
Command docker github-mcp-server
Arguments run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server stdio
Environment GITHUB_PERSONAL_ACCESS_TOKEN=… GITHUB_PERSONAL_ACCESS_TOKEN=…

The table shows how to translate the server launch into Q’s separate fields; it is not a portable JSON schema. Q’s labels and supported options can change between IDE releases.

Rank #2
Sale
UGREEN USB C to Ethernet Adapter, Plug and Play 1Gbps Aluminum Adapter
  • USB-C Meets 1000Mbps Ethernet in Seconds:UGREEN usb c to ethernet adapter supports fast speeds up to 1000Mbps and is backward compatible with 100/10Mbps network. Perfect for work, gaming, streaming, or downloading with a stable, reliable wired connection
  • Extend a Ethernet Port for Your Device:This ethernet to usb c adds a Gigabit RJ45 port to your device. It’s the perfect solution for new laptops without built-in Ethernet, devices with damaged LAN ports, or when WiFi is unavailable or unstable
  • Plug and Play: This Ethernet adapter is driver-free for Windows 11/10/8.1/8, macOS, Chrome OS, and Android. Drivers are required for Windows XP/7/Vista and Linux, and can be easily installed using our instructions. LED indicator shows status at a glance
  • Small Adapter, Big Attention to Detail: The usb c to ethernet features a durable aluminum alloy case for faster heat dissipation than plastic. Its reinforced cable tail and wear-resistant port ensure long-lasting durability. Compact size and easy to carry
  • Widely Compatible: The usbc to ethernet adapter is compatible with most laptops, tablets, smartphones, Nintendo Switch, and Steam Deck with USB-C or Thunderbolt 4/3 port, like MacBook Pro/Air, XPS, iPhone 17/16/15 Pro/Pro Max, Mac Mini, Chromebook, iPad

Authenticate safely

OAuth

GitHub’s official README documents OAuth for the local GitHub.com server image. The first use opens a browser login flow and keeps the resulting token in memory. For Docker OAuth, GitHub documents publishing the callback on loopback port 8085. Ensure that port is reachable from the browser completing the flow.

Personal access token

Set GITHUB_PERSONAL_ACCESS_TOKEN in the server environment. GitHub states that a PAT takes precedence over OAuth. Keep it outside source control, shell history where possible, and shared workspace files. Grant only the GitHub permissions required by the toolsets you enable.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a remote HTTP server in the IDE, Q can launch the endpoint’s browser authorization flow. In the CLI, remote OAuth is initiated with /mcp while the session remains open.

Limit the GitHub tools before using them

The server groups capabilities into toolsets. GitHub documents these defaults: context, repos, issues, pull_requests, and users. Select narrower groups with the server’s --toolsets option or the GITHUB_TOOLSETS environment variable.

Least-privilege examples

  • Repository browsing only: enable context and repos.
  • Issue triage: add issues; do not enable pull-request tools unless needed.
  • Pull-request maintenance: add pull_requests and retain only the repository context required.
  • User lookups: enable users only when the workflow genuinely needs them.

Toolsets reduce the surface Q can discover, while Q’s Ask/Always allow/Deny controls determine whether a particular call can run. Treat write-capable operations as Ask until you have reviewed their behavior.

Rank #3
Amazon Basics Aluminum USB-C to RJ45 Gigabit Ethernet Adapter, Portable, Fast Network, Grey, 2.07 x 0.81 x 0.6 inches
  • Adapter for converting a USB 3.1 Type-C port to a RJ45 Gigabit Ethernet port
  • Integrated Ethernet port supports 10M/100M/1000M bandwidth; offers instant Internet connection to the host
  • USB-C input allows for reversible plugging; offers complete compatibility with current computers and devices; compatible with Nintendo Switch
  • Ready to use, right out of the box; no external power adapter needed
  • Slim, compact size and lightweight aluminum housing for easy portability

Configure Amazon Q Developer CLI

Q CLI stores MCP servers in agent configuration. The exact file shape is version-dependent, so use the CLI commands and current Q configuration reference rather than copying another host’s JSON.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Add a local process with qchat mcp add, supplying the server name, command, arguments, and environment values requested by your installed version.
  2. For a remote endpoint, configure a server with type: "http" and its URL in the agent configuration.
  3. Use qchat mcp list to confirm the registration. Use qchat mcp status for connection state, qchat mcp remove to delete an entry, and qchat mcp import when importing a supported configuration.
  4. Start or resume a session. For a remote OAuth server, run /mcp and complete authorization while the session is active.
  5. Run /tools. Q initializes servers in the background and lists tools as each server finishes loading.

If initialization is slow, increase the CLI timeout with q settings mcp.initTimeout [value], using a value appropriate for your network and server startup time.

Verify that the connection works

  1. In the IDE, check the MCP panel for a connected state and inspect the exposed tool list.
  2. In CLI, run /tools and wait for all servers to finish loading.
  3. Ask Q for a read-only operation such as listing repositories you can access. Confirm that the result matches your GitHub account.
  4. Test one intentionally restricted capability. If its tool is absent, your toolset filter is working.
  5. Only after verification, change selected tools from Ask to Always allow where the risk is acceptable.

Troubleshoot common failures

Q reports a connection problem

Reopen the server entry and check the executable, arguments, Docker image name, HTTP URL, headers, environment variables, and timeout. For STDIO, run the exact command in a terminal first. For HTTP, test reachability from the same network where Q runs.

No tools appear

Wait for background initialization, then run CLI /tools again. A server can be connected while its tools are still loading. If the list remains empty, inspect toolset filters and server logs.

Authentication never starts

For IDE HTTP connections, verify that the endpoint supports the authorization method Q expects and that the URL is exact. For CLI OAuth, keep the session open while running /mcp. For local OAuth in Docker, verify the loopback callback publication on port 8085.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Sale
TP-Link USB C to Ethernet Adapter (UE300C), Compact, Plug & Play
  • 𝐇𝐢𝐠𝐡-𝐒𝐩𝐞𝐞𝐝 𝐔𝐒𝐁-𝐂 𝐄𝐭𝐡𝐞𝐫𝐧𝐞𝐭 𝐀𝐝𝐚𝐩𝐭𝐞𝐫 - Instantly transform your laptop or tablet’s USB-C port into a reliable wired connection with a 10/100/1000 Mbps RJ45 Ethernet port. Perfect for replacing unstable Wi-Fi in situations that require uninterrupted connectivity, such as online meetings, gaming, and media streaming.
  • 𝐔𝐒𝐁-𝐂 𝟑.𝟎 𝐟𝐨𝐫 𝐅𝐚𝐬𝐭𝐞𝐫, 𝐌𝐨𝐫𝐞 𝐒𝐭𝐚𝐛𝐥𝐞 𝐂𝐨𝐧𝐧𝐞𝐜𝐭𝐢𝐨𝐧𝐬 - Experience full Gigabit Ethernet performance over your laptop’s USB-C 3.0 port and elevate your browsing experience to transfer files, play games, video chat, and stream HD videos seamlessly. (To reach 1Gbps, please use CAT6 or up Ethernet cables.)
  • 𝐔𝐥𝐭𝐫𝐚-𝐂𝐨𝐦𝐩𝐚𝐜𝐭 𝐚𝐧𝐝 𝐅𝐨𝐥𝐝𝐚𝐛𝐥𝐞 𝐃𝐞𝐬𝐢𝐠𝐧 - At just 2.8 x 1.0 x 0.6 inches, the UE300C slips easily into your laptop bag or pocket. The lightweight yet durable build makes it perfect for travel, remote work, or quick setup in conference rooms.
  • 𝐏𝐥𝐮𝐠 𝐚𝐧𝐝 𝐏𝐥𝐚𝐲- No driver required for Windows 11/10/8.1/8/7, macOS, Chrome OS, and Linux (Ubuntu). Simply connect and enjoy instant wired internet access without complicated setup.
  • 𝐁𝐫𝐨𝐚𝐝 𝐃𝐞𝐯𝐢𝐜𝐞 𝐂𝐨𝐦𝐩𝐚𝐭𝐢𝐛𝐢𝐥𝐢𝐭𝐲- Works seamlessly with most USB-C devices, including MacBook Pro/Air, iPad Pro, Dell XPS, Surface Laptop, Chromebook, and more—making it a versatile network upgrade for home, office, or on-the-go use.

Docker OAuth callback fails

Check that the browser can reach the callback published by the container on loopback port 8085. A container that cannot publish that port cannot complete the documented flow.

The PAT is rejected or too powerful

Confirm the variable name is exactly GITHUB_PERSONAL_ACCESS_TOKEN, then review token permissions and enabled toolsets. Replace broad access with the smallest repository and operation scope that satisfies the workflow.

Copied configuration JSON does not work

Configuration formats differ between MCP hosts. Recreate the entry using Amazon Q’s command, arguments, environment, URL, and header fields instead of pasting a file designed for another client.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

If your separate task is generating website screenshots from an agent workflow, ScreenshotNeo provides an HTTP API and MCP server. One request returns a PNG, JPEG, WebP, or PDF; its MCP tools include take_screenshot, get_page_info, and capture_pdf.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Its screenshot API removes cookie banners, newsletter popups, and chat widgets before capture. Bot checks, blank pages, failed loads, timeouts, and cache hits are not billed, and response headers identify the page verdict and billing result. The free plan includes 1,000 screenshots per month without a card; paid plans start at $5 for 3,000 shots.

cURL:

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

Python:

import requests
r = requests.get("https://api.screenshotneo.com/v1/shot", params={"access_key": "YOUR_API_KEY", "url": "https://stripe.com"}, timeout=90)
open("shot.webp", "wb").write(r.content)

Node.js:

const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);

See the ScreenshotNeo documentation for authentication and options. Create an account at ScreenshotNeo’s free sign-up page to get 1,000 screenshots a month with no card.

Best Value
Sale
uni USB C to Ethernet Adapter 1Gbps, Driver Free RJ45 to USB C for Laptop
  • 【1Gbps LAN to USB-C Adapter】Obtain stable connection speeds up to 1Gbps; downward compatible with 100Mbps/10Mbps networks. Our Type-C to LAN Gigabit Ethernet (RJ45) Network Adapter supports large downloads at maximum speeds without interruption. (To reach 1Gbps, make sure to use CAT6 & up Ethernet cables.)
  • 【Reliable & Endurance Connectivity】Designed specifically for plug-and-play connection between USB-C devices and wired network, provides gigabit ethernet connectivity even when wireless connectivity is Inconsistent or over extended.
  • 【Thoughtful Design】Compact and lightweight, with a user-friendly non-slip design for easier plugging and unplugging. Braided nylon cable for extra durability. Premium aluminum casing for better heat dissipation. High-quality USB-C connector provides snug connection with your devices for stable signal transfer. Design to make it easy to connect USB peripherals without blocking adjacent USB-C ports
  • 【Wide Compatibility】Compatible with iPhone 15/16 Pro/Max, MacBook Pro 16''/15” (2023/2022/2021/2020/2019/2018/2017), MacBook (2019/2018/2017), MacBook Air 13” (2022/2018), iPad Pro (2022/2020/2018); XPS 13/15/17; Surface Book 2; Google Pixelbook, Chromebook, Pixel, Pixel 2; Asus ZenBook. Compatible with Samsung S20/S10/S9/S8/S8+, Note 8/9, Galaxy Tablet Tab A 10.5, and many other USB-C laptops, tablets, and smartphones. (NOT compatible with Nintendo Switch.)
  • 【What You Get】 USB C to Ethernet Adapter 1 pack, An effortless 18-month 𝗐𝖺𝗋𝗋𝖺𝗇𝗍𝗒 and 24/7 professional customer service. If you have any questions, don't hesitate to get in touch with us, we solve most issues within 12 hours. Please rest assured we stand behind our products and customers.

Frequently Asked Questions

Can I use both OAuth and a PAT at the same time?

Yes, but GitHub documents that GITHUB_PERSONAL_ACCESS_TOKEN takes precedence over OAuth, so remove or unset the variable when you want to test the OAuth path.

Where should a shared team configuration live?

Use a global Q configuration only when every project should inherit the server. Keep repository-specific settings local, because workspace configuration takes precedence and limits accidental exposure.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How do I know whether a missing capability is an error?

Check the selected GitHub toolsets first. A deliberately excluded tool will not appear in Q; a server that is still initializing may appear only after background loading completes.

The Bottom Line

Connect GitHub to Amazon Q by mapping the official server’s Docker or binary command into Q’s STDIO fields, or by entering a remote HTTP endpoint. Authenticate with OAuth or a least-privilege PAT, restrict toolsets, approve tools conservatively, and verify discovery with the IDE panel or CLI /tools.

Quick Recap

Bestseller No. 1
Anker USB C to Ethernet Adapter, Portable 1 Gbps Network Hub
Anker USB C to Ethernet Adapter, Portable 1 Gbps Network Hub
The Anker Advantage: Join the 65 million+ powered by our leading technology.
$25.99
Bestseller No. 3
Amazon Basics Aluminum USB-C to RJ45 Gigabit Ethernet Adapter, Portable, Fast Network, Grey, 2.07 x 0.81 x 0.6 inches
Amazon Basics Aluminum USB-C to RJ45 Gigabit Ethernet Adapter, Portable, Fast Network, Grey, 2.07 x 0.81 x 0.6 inches
Adapter for converting a USB 3.1 Type-C port to a RJ45 Gigabit Ethernet port; Ready to use, right out of the box; no external power adapter needed
$23.99

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.