Network
Convert IPv6 addresses to integers (128-bit). Supports batch conversion.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/ipv6-to-integer' \
-H 'Content-Type: application/json' \
-d '{"ipv6Input":"Enter IPv6 addresses, one per line:\n2001:0db8:85a3:0000:0000:8a2e:0370:7334\n::1\n2001:4860:4860::8888\nfe80::1","addLineNumbers":false,"showSourceData":false}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/ipv6-to-integer| Name | Type | Required | Description |
|---|---|---|---|
| ipv6Input | textarea | Yes | — |
| addLineNumbers | checkbox | No | Number each conversion result |
| showSourceData | checkbox | No | Display original IPv6 addresses in results |
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-ipv6-to-integer": {
"name": "ipv6-to-integer",
"description": "Convert IPv6 addresses to integers (128-bit). Supports batch conversion.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=ipv6-to-integer",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "ipv6-to-integer",
"arguments": {
"ipv6Input": "Enter IPv6 addresses, one per line:\n2001:0db8:85a3:0000:0000:8a2e:0370:7334\n::1\n2001:4860:4860::8888\nfe80::1",
"addLineNumbers": false,
"showSourceData": false
}
}
}Questions or issues? Contact [email protected]