gateway

Query Gateway API endpoints and metadata from configured environments.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/XiaoMi/mone --skill gateway
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gateway
Source: https://github.com/XiaoMi/mone/tree/main/jcommon/mcp/mcp-gateway/.claude/skills/gateway
Command: npx skills add https://github.com/XiaoMi/mone --skill gateway

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables programmatic querying of Gateway APIs across environments, supporting listing APIs with filters, and retrieving detailed API information by URL.

Core Features & Use Cases

  • List APIs by environment: staging or online with optional keyword and applications filters.
  • Detail by URL: Retrieve full API details for a given URL.
  • Configurable endpoints and auth: Gateways endpoints and credentials can be supplied via environment or function params.

Quick Start

Import the gateway query functions and run list_api_info or detail_by_url with appropriate params.

Frequently Asked Questions about gateway

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query available APIs across staging and production environments?

Gateway API query enables listing all available endpoints in staging or online environments via the list_api_info function. Pass your environment name, GATEWAY_URL, GATEWAY_API_KEY, and GATEWAY_API_USER credentials to retrieve the full API catalog with metadata for each endpoint.

Can I filter API results by keyword or application when querying the gateway?

Yes, the list_api_info function supports optional keyword and applications filters. Combine these parameters with your environment selection to narrow results to specific APIs or applications without retrieving the entire catalog.

How do I retrieve detailed information for a specific API endpoint?

Use the detail_by_url function to fetch complete metadata for a single API by providing its URL and authentication credentials. This returns full endpoint details including method, headers, and request schema in a single query.

What authentication credentials do I need to access the gateway?

Gateway access requires three environment variables: GATEWAY_URL for the endpoint, GATEWAY_API_KEY for authentication token, and GATEWAY_API_USER for the user identifier. These can be set as environment variables or passed directly as function parameters.

Can I use this gateway toolkit from Python scripts or command-line?

Yes, the Skill provides both Python script imports for programmatic use and command-line interface support. Import the gateway query functions directly or invoke them via CLI to integrate API discovery into automation workflows.

What HTTP request format does the gateway expect?

The gateway processes HTTP requests with proper method routing, standard headers, JSON request bodies with UTF-8 encoding, and requires robust error handling for failed queries. The requests library handles transport; proper authentication headers and content-type declarations are mandatory.