get_company_list
Retrieve a list of available shipping companies for tracking Korean parcel deliveries through the ShippingTracker MCP server.
Instructions
Get Company List
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- shippingtracker/main.py:8-17 (handler)The handler function for the 'get_company_list' tool. It is decorated with @mcp.tool() for registration and fetches the list of shipping companies from the SweetTracker API using the API key from the SWEETTRACKER_API_KEY environment variable.@mcp.tool() def get_company_list(): """ Get Company List """ try: response = requests.get("https://info.sweettracker.co.kr/api/v1/companylist", params = {"t_key": t_key}) return response.json() except Exception as e: return {"error": str(e)}
- shippingtracker/main.py:8-8 (registration)The @mcp.tool() decorator registers the get_company_list function as an MCP tool.@mcp.tool()