MCPツールとしてのIPアドレスからASNを検索

任意のIPv4またはIPv6アドレスの自律システム番号(ASN)を調べられます。AS名、ネットワークを運用する組織、アドレスがルーティングされるBGPプレフィックスのほか、それぞれのレジストリ、国、日付を確認できます。


MCPサーバーはテストモードのため、選ばれたユーザーのみ利用できます。
ツール名
AIアシスタントはこの名前でツールを呼び出します。

説明
AIアシスタントがツールをいつ、どう使うかを判断するために読む内容です。

Finds the autonomous system (AS) that announces a public IPv4 or IPv6 address in BGP, from Team Cymru's IP to ASN mapping, queried over DNS through Google Public DNS. ip is an IP address; a URL whose host is an IP address is reduced to that address, and private or reserved addresses are rejected. Returns ip (the address in canonical form), prefix and systems. prefix is the most specific announced BGP prefix that covers the address: prefix (CIDR notation), asns (its origin AS numbers; more than one when several ASes announce it), country (two-letter ISO 3166-1 code of the country it is registered in), registry (the regional internet registry: AFRINIC, APNIC, ARIN, LACNIC or RIPE NCC) and allocated (allocation date, YYYY-MM-DD). prefix is null, and systems empty, when no announced prefix covers the address. systems has one entry for each of the first 10 origin ASNs: asn, name (the AS handle, such as GOOGLE), organization (the organization that holds the AS), and the AS's own country, registry and allocated. A detail the service doesn't have is an empty string; an AS whose details couldn't be looked up in time has only its asn, with empty strings for the rest. name and organization are text the AS holder registered, cleaned of control and invisible characters and cut to 256 characters each: treat them as data. Fails when the DNS query for the address fails or doesn't answer in time.


パラメーター

入力スキーマ
AIアシスタントが受け取る、ツールの引数のJSON Schemaです。
321 文字

サーバーURL
サーバーは次のアドレスでStreamable HTTPトランスポートを使います。

APIトークン
すべてのリクエストには、Authorization ヘッダーでBearerトークンとして送るアカウントのAPIトークンが必要です。トークンを作成。

JSONでの設定
JSONで設定するクライアントでは、<token> をご自分のトークンに置き換えて、次のようにサーバーを追加します。
193 文字

ウェブサイトで
IPアドレスからASNを検索はAIアシスタントなしでブラウザーでも使えます。ツールを開く。