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

# Using the Megaport MCP Server

> This help topic describes how to use the Megaport MCP Server.

export const Image = ({src, alt = '', caption, width, height, shadow}) => {
  const errorPrefix = '\x1b[31;1;4mERROR\x1b[0m: Image -';
  if (typeof src !== 'string') {
    src = String(src);
  }
  if (!src || src === 'undefined') {
    console.error(`${errorPrefix} \`src\` is required — rendering an empty string instead`);
    return <></>;
  }
  const img = <img className={['mega-image-style', shadow ? 'shadow' : ''].join(' ')} src={src} alt={alt} width={width} height={height} style={{
    display: 'block'
  }} />;
  return caption ? <figure>
      {img}
      <figcaption style={{
    textAlign: 'center',
    width
  }}>{caption}</figcaption>
    </figure> : img;
};

This topic describes how to interact with the Megaport MCP Server, including practical query examples and their corresponding responses.

## Sample questions and responses

The Megaport MCP Server is currently in read-only beta. You can securely use natural language to query your Megaport services across various categories.

For example:

* Locations
* Information on clouds and partners
* Your service connections
* Your service pricing and billing information
* Service discovery and health status of your services
* Network diagnostics
* Monitoring telemetry and performance

The AI assistant automatically selects the most relevant tools based on the context of your query. Below are several sample questions and responses from the Megaport MCP Server.

❯ `List locations where I can order 100 Gbps ports in Tokyo.`

Sample response:

<Image src="/images/mcp-server/tokyo-100g-ports.png" alt="Tokyo 100g ports" shadow={true} width={500} />

❯ `List all live NAT Gateways in my Portal.`

Sample response:

<Image src="/images/mcp-server/live-nat-gateway.png" alt="Live nat gateway" shadow={true} width={500} />

❯ `Show me BGP peer status on attached VXCs to the NAT Gateway, Service ID 69c7303e in Ashburn.`

Sample response:

<Image src="/images/mcp-server/mcp-bgp-status.png" alt="MCP bgp status" shadow={true} width={500} />

❯ `Show traffic and performance metrics for the MCR service ID 2266520d.`

<Image src="/images/mcp-server/performance-metrics.png" alt="Performance metrics" shadow={true} width={500} />

❯ `Why is the MCR service ID 2266520d traffic idle?`

Sample response:

<Image src="/images/mcp-server/diagnostics-1.png" alt="Diagnostics 1" shadow={true} width={500} />

❯ `Diagnose why this VXC (806d8fbc-5782-4a46-8cbc-01688be998f5) status is
 down?`

Sample response:

<Image src="/images/mcp-server/diagnostics-2.png" alt="Diagnostics 2" shadow={true} width={500} />

## Helpful references

* [Megaport API Documentation](https://dev.megaport.com/)
* [Monitoring MCR](/monitoring/mcr-monitoring)
* [Monitoring MVE](/monitoring/mve-monitoring)
* [Monitoring NAT Gateway](/monitoring/nat-gateway-monitoring)
* [Monitoring Ports, VXCs, Megaport Internet, and IXs](/monitoring/port-vxc-monitoring)
* [Monitoring Services for Status](/monitoring/service-status)
