other
Ipstack CLI for CI
Use the Ipstack CLI for CI with headless JSON commands, schema discovery, credentials, and permission controls.
7 functions 7 read 0 write API key auth
Ipstack CLI for CI
Run integration calls from CI jobs with JSON output, explicit credentials, and predictable exit status.
Use this shape when a pipeline needs to read or update an external service. The Ipstack CLI uses the same integration registry as the TUI, Lua runtime, and MCP gateway, but returns predictable command output for automation.
Command Shape
# Ipstack CLI for CI
kosmokrator integrations:configure ipstack --set api_key="$IPSTACK_API_KEY" --enable --read allow --write ask --json
kosmo integrations:call ipstack.ipstack_lookup_ip '{"ip":"example_ip","language":"example_language"}' --json Discovery Before Execution
Agents and scripts can inspect Ipstack docs and schemas before choosing a function.
kosmo integrations:docs ipstack --json
kosmo integrations:docs ipstack.ipstack_lookup_ip --json
kosmo integrations:schema ipstack.ipstack_lookup_ip --json
kosmo integrations:search "Ipstack" --json
kosmo integrations:list --json Useful Ipstack CLI Functions
| Function | Type | Parameters | Description |
|---|---|---|---|
ipstack.ipstack_lookup_ip | Read | ip, language | Look up geolocation data for a single IP address using IPstack. Returns country, region, city, coordinates, and more. |
ipstack.ipstack_lookup_bulk | Read | ips, language | Look up geolocation data for multiple IP addresses at once (up to 50). Returns an array of geolocation results. |
ipstack.ipstack_check_location | Read | ip, country_code, region_code | Check if an IP address is located in a specific country or region. Returns geolocation data with a location match indicator. |
ipstack.ipstack_get_timezone | Read | ip | Get timezone information for an IP address, including timezone ID, current time, and UTC offset. |
ipstack.ipstack_get_currency | Read | ip | Get local currency information for an IP address, including currency code, name, symbol, and exchange rates. |
ipstack.ipstack_get_connection | Read | ip | Get connection and ISP information for an IP address, including ASN, ISP name, and organization. |
ipstack.ipstack_get_current_user | Read | none | Detect and geolocate the current requesting IP address. Returns the caller's own IP geolocation data. |
Automation Notes
- Use
--jsonfor machine-readable output. - Keep credentials out of argv by using environment variables or stored KosmoKrator configuration.
- Configure read/write policy before unattended runs; use
--forceonly for trusted automation. - Use the MCP gateway instead when the agent needs dynamic tool discovery inside a conversation.