it-tools-mcp 5.2.9 → 5.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +2 -6
- package/build/tools/ansible/decrypt_ansible_vault/index.js +0 -2
- package/build/tools/ansible/encrypt_ansible_vault/index.js +0 -2
- package/build/tools/ansible/generate_ansible_inventory/index.js +0 -2
- package/build/tools/ansible/parse_ansible_inventory/index.js +0 -2
- package/build/tools/ansible/show_ansible_reference/index.js +0 -2
- package/build/tools/ansible/validate_ansible_playbook/index.js +0 -2
- package/build/tools/color/convert_hex_to_rgb/index.js +0 -2
- package/build/tools/color/convert_rgb_to_hex/index.js +0 -2
- package/build/tools/crypto/decode_jwt/index.js +0 -2
- package/build/tools/crypto/generate_basic_auth/index.js +0 -2
- package/build/tools/crypto/generate_bip39/index.js +0 -2
- package/build/tools/crypto/generate_hmac/index.js +0 -2
- package/build/tools/crypto/generate_otp/index.js +0 -2
- package/build/tools/crypto/generate_password/index.js +0 -2
- package/build/tools/crypto/generate_token/index.js +0 -2
- package/build/tools/crypto/hash_bcrypt/index.js +0 -2
- package/build/tools/crypto/hash_md5/index.js +0 -2
- package/build/tools/crypto/hash_sha1/index.js +0 -2
- package/build/tools/crypto/hash_sha256/index.js +0 -2
- package/build/tools/crypto/hash_sha512/index.js +0 -2
- package/build/tools/data_format/compare_json/index.js +0 -2
- package/build/tools/data_format/convert_html_to_markdown/index.js +0 -2
- package/build/tools/data_format/convert_json_to_csv/index.js +0 -2
- package/build/tools/data_format/convert_json_to_toml/index.js +0 -2
- package/build/tools/data_format/convert_markdown_to_html/index.js +0 -2
- package/build/tools/data_format/convert_toml_to_json/index.js +0 -2
- package/build/tools/data_format/format_json/index.js +0 -2
- package/build/tools/data_format/format_phone/index.js +0 -2
- package/build/tools/data_format/format_sql/index.js +0 -2
- package/build/tools/data_format/format_xml/index.js +0 -2
- package/build/tools/data_format/format_yaml/index.js +0 -2
- package/build/tools/data_format/minify_json/index.js +0 -2
- package/build/tools/development/convert_list/index.js +0 -2
- package/build/tools/development/format_html/index.js +0 -2
- package/build/tools/development/format_javascript/index.js +0 -2
- package/build/tools/development/generate_crontab/index.js +0 -2
- package/build/tools/development/generate_markdown_toc/index.js +0 -2
- package/build/tools/development/test_regex/index.js +0 -2
- package/build/tools/docker/convert_docker_compose_to_run/index.js +0 -2
- package/build/tools/docker/convert_docker_run_to_compose/index.js +0 -2
- package/build/tools/docker/generate_traefik_compose/index.js +0 -2
- package/build/tools/docker/show_docker_reference/index.js +0 -2
- package/build/tools/docker/validate_docker_compose/index.js +0 -2
- package/build/tools/encoding/convert_text_to_binary/index.js +0 -2
- package/build/tools/encoding/decode_base64/index.js +0 -2
- package/build/tools/encoding/decode_html/index.js +0 -2
- package/build/tools/encoding/decode_url/index.js +0 -2
- package/build/tools/encoding/encode_base64/index.js +0 -2
- package/build/tools/encoding/encode_html/index.js +0 -2
- package/build/tools/encoding/encode_html_entities/index.js +0 -2
- package/build/tools/encoding/encode_url/index.js +0 -2
- package/build/tools/forensic/decode_safelink/index.js +0 -2
- package/build/tools/forensic/fang_url/index.js +0 -2
- package/build/tools/forensic/identify_file_type/index.js +0 -2
- package/build/tools/id_generators/generate_qr_code/index.js +0 -2
- package/build/tools/id_generators/generate_svg_placeholder/index.js +0 -2
- package/build/tools/id_generators/generate_ulid/index.js +0 -2
- package/build/tools/id_generators/generate_uuid/index.js +0 -2
- package/build/tools/math/calculate_percentage/index.js +0 -2
- package/build/tools/math/convert_number_base/index.js +0 -2
- package/build/tools/math/convert_roman_numerals/index.js +0 -2
- package/build/tools/math/convert_temperature/index.js +0 -2
- package/build/tools/math/convert_unix_timestamp/index.js +0 -2
- package/build/tools/math/evaluate_math/index.js +0 -2
- package/build/tools/network/calculate_ip_subnet/index.js +0 -2
- package/build/tools/network/calculate_ipv4_subnet/index.js +0 -2
- package/build/tools/network/calculate_ipv6_subnet/index.js +0 -2
- package/build/tools/network/cat/index.js +0 -2
- package/build/tools/network/convert_cidr_to_ip_range/index.js +0 -2
- package/build/tools/network/convert_ip_range_to_cidr/index.js +0 -2
- package/build/tools/network/curl/index.js +0 -2
- package/build/tools/network/dig/index.js +0 -2
- package/build/tools/network/generate_ipv6_ula/index.js +0 -2
- package/build/tools/network/generate_mac_address/index.js +0 -2
- package/build/tools/network/generate_random_port/index.js +0 -2
- package/build/tools/network/grep/index.js +0 -2
- package/build/tools/network/head/index.js +0 -2
- package/build/tools/network/nslookup/index.js +0 -2
- package/build/tools/network/parse_url/index.js +0 -2
- package/build/tools/network/ping/index.js +0 -2
- package/build/tools/network/ps/index.js +0 -2
- package/build/tools/network/scp/index.js +0 -2
- package/build/tools/network/ssh/index.js +0 -2
- package/build/tools/network/tail/index.js +0 -2
- package/build/tools/network/telnet/index.js +0 -2
- package/build/tools/network/top/index.js +0 -2
- package/build/tools/network/validate_iban/index.js +0 -2
- package/build/tools/physics/convert_angle/index.js +0 -2
- package/build/tools/physics/convert_energy/index.js +0 -2
- package/build/tools/physics/convert_power/index.js +0 -2
- package/build/tools/text/analyze_distinct_words/index.js +0 -2
- package/build/tools/text/analyze_text_stats/index.js +0 -2
- package/build/tools/text/capitalize_text/index.js +0 -2
- package/build/tools/text/compare_text/index.js +0 -2
- package/build/tools/text/convert_text_to_camelcase/index.js +0 -2
- package/build/tools/text/convert_text_to_kebabcase/index.js +0 -2
- package/build/tools/text/convert_text_to_lowercase/index.js +0 -2
- package/build/tools/text/convert_text_to_nato/index.js +0 -2
- package/build/tools/text/convert_text_to_pascalcase/index.js +0 -2
- package/build/tools/text/convert_text_to_unicode/index.js +0 -2
- package/build/tools/text/convert_text_to_uppercase/index.js +0 -2
- package/build/tools/text/generate_ascii_art/index.js +0 -2
- package/build/tools/text/generate_lorem_ipsum/index.js +0 -2
- package/build/tools/text/generate_numeronym/index.js +0 -2
- package/build/tools/text/obfuscate_string/index.js +0 -2
- package/build/tools/text/search_emoji/index.js +0 -2
- package/build/tools/text/show_unicode_names/index.js +0 -2
- package/build/tools/text/slugify_text/index.js +0 -2
- package/build/tools/text/text_snakecase/index.js +0 -2
- package/build/tools/utility/convert_rem_px/index.js +0 -2
- package/build/tools/utility/format_css/index.js +0 -2
- package/build/tools/utility/lookup_http_status/index.js +0 -2
- package/build/tools/utility/lookup_mime_types/index.js +0 -2
- package/build/tools/utility/lookup_port_numbers/index.js +0 -2
- package/build/tools/utility/normalize_email/index.js +0 -2
- package/build/tools/utility/show_device_info/index.js +0 -2
- package/package.json +4 -4
|
@@ -2,14 +2,12 @@ import { z } from "zod";
|
|
|
2
2
|
import dns from "dns";
|
|
3
3
|
export function registerNslookup(server) {
|
|
4
4
|
server.registerTool("nslookup", {
|
|
5
|
-
description: "Perform DNS lookup on a hostname or IP address",
|
|
6
5
|
inputSchema: {
|
|
7
6
|
target: z.string().describe("Hostname or IP address")
|
|
8
7
|
},
|
|
9
8
|
// VS Code compliance annotations
|
|
10
9
|
annotations: {
|
|
11
10
|
title: "Nslookup",
|
|
12
|
-
description: "Perform DNS lookup on a hostname or IP address",
|
|
13
11
|
readOnlyHint: false
|
|
14
12
|
}
|
|
15
13
|
}, async ({ target }) => {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerUrlParse(server) {
|
|
3
3
|
server.registerTool("parse_url", {
|
|
4
|
-
description: "Parse URL into components",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
url: z.string().describe("URL to parse"),
|
|
7
6
|
},
|
|
8
7
|
// VS Code compliance annotations
|
|
9
8
|
annotations: {
|
|
10
9
|
title: "Url-parse",
|
|
11
|
-
description: "Parse URL into components",
|
|
12
10
|
readOnlyHint: false
|
|
13
11
|
}
|
|
14
12
|
}, async ({ url }) => {
|
|
@@ -2,7 +2,6 @@ import { z } from "zod";
|
|
|
2
2
|
import ping from "ping";
|
|
3
3
|
export function registerPing(server) {
|
|
4
4
|
server.registerTool("ping", {
|
|
5
|
-
description: "Test network connectivity to a host. Example: ping google.com to check if it's reachable",
|
|
6
5
|
inputSchema: {
|
|
7
6
|
target: z.string().describe("Host to ping"),
|
|
8
7
|
count: z.number().default(4).describe("Number of ping attempts")
|
|
@@ -10,7 +9,6 @@ export function registerPing(server) {
|
|
|
10
9
|
// VS Code compliance annotations
|
|
11
10
|
annotations: {
|
|
12
11
|
title: "Ping",
|
|
13
|
-
description: "Test network connectivity to a host",
|
|
14
12
|
readOnlyHint: false
|
|
15
13
|
}
|
|
16
14
|
}, async ({ target, count }) => {
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import psList from "ps-list";
|
|
2
2
|
export function registerPs(server) {
|
|
3
3
|
server.registerTool("ps", {
|
|
4
|
-
description: "List running processes",
|
|
5
4
|
inputSchema: {},
|
|
6
5
|
// VS Code compliance annotations
|
|
7
6
|
annotations: {
|
|
8
7
|
title: "Ps",
|
|
9
|
-
description: "List running processes",
|
|
10
8
|
readOnlyHint: false
|
|
11
9
|
}
|
|
12
10
|
}, async () => {
|
|
@@ -38,7 +38,6 @@ function resolvePrivateKey(privateKeyArg) {
|
|
|
38
38
|
}
|
|
39
39
|
export function registerScp(server) {
|
|
40
40
|
server.registerTool("scp", {
|
|
41
|
-
description: "Copy files to or from a remote host using SFTP (SCP-like)",
|
|
42
41
|
inputSchema: {
|
|
43
42
|
target: z.string().describe("Target host"),
|
|
44
43
|
user: z.string().describe("Username"),
|
|
@@ -50,7 +49,6 @@ export function registerScp(server) {
|
|
|
50
49
|
// VS Code compliance annotations
|
|
51
50
|
annotations: {
|
|
52
51
|
title: "Scp",
|
|
53
|
-
description: "Copy files to or from a remote host using SFTP (SCP-like)",
|
|
54
52
|
readOnlyHint: false
|
|
55
53
|
}
|
|
56
54
|
}, async ({ target, user, direction, localPath, remotePath, privateKey }) => {
|
|
@@ -39,7 +39,6 @@ function resolvePrivateKey(privateKeyArg) {
|
|
|
39
39
|
}
|
|
40
40
|
export function registerSsh(server) {
|
|
41
41
|
server.registerTool("ssh", {
|
|
42
|
-
description: "Connect to a target via SSH",
|
|
43
42
|
inputSchema: {
|
|
44
43
|
target: z.string().describe("Target host"),
|
|
45
44
|
user: z.string().describe("Username"),
|
|
@@ -49,7 +48,6 @@ export function registerSsh(server) {
|
|
|
49
48
|
// VS Code compliance annotations
|
|
50
49
|
annotations: {
|
|
51
50
|
title: "Ssh",
|
|
52
|
-
description: "Connect to a target via SSH",
|
|
53
51
|
readOnlyHint: false
|
|
54
52
|
}
|
|
55
53
|
}, async ({ target, user, command, privateKey }) => {
|
|
@@ -2,7 +2,6 @@ import { z } from "zod";
|
|
|
2
2
|
import readLastLines from "read-last-lines";
|
|
3
3
|
export function registerTail(server) {
|
|
4
4
|
server.registerTool("tail", {
|
|
5
|
-
description: "Display the end of a file",
|
|
6
5
|
inputSchema: {
|
|
7
6
|
file: z.string().describe("File path"),
|
|
8
7
|
lines: z.number().default(10).describe("Number of lines")
|
|
@@ -10,7 +9,6 @@ export function registerTail(server) {
|
|
|
10
9
|
// VS Code compliance annotations
|
|
11
10
|
annotations: {
|
|
12
11
|
title: "Tail",
|
|
13
|
-
description: "Display the end of a file",
|
|
14
12
|
readOnlyHint: false
|
|
15
13
|
}
|
|
16
14
|
}, async ({ file, lines }) => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerTelnet(server) {
|
|
3
3
|
server.registerTool("telnet", {
|
|
4
|
-
description: "Test TCP connectivity to a host and port",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
target: z.string().describe("Host to connect to"),
|
|
7
6
|
port: z.number().describe("Port number")
|
|
@@ -9,7 +8,6 @@ export function registerTelnet(server) {
|
|
|
9
8
|
// VS Code compliance annotations
|
|
10
9
|
annotations: {
|
|
11
10
|
title: "Telnet",
|
|
12
|
-
description: "Test TCP connectivity to a host and port",
|
|
13
11
|
readOnlyHint: false
|
|
14
12
|
}
|
|
15
13
|
}, async ({ target, port }) => {
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import psList from "ps-list";
|
|
2
2
|
export function registerTop(server) {
|
|
3
3
|
server.registerTool("top", {
|
|
4
|
-
description: "Display system processes (snapshot)",
|
|
5
4
|
inputSchema: {},
|
|
6
5
|
// VS Code compliance annotations
|
|
7
6
|
annotations: {
|
|
8
7
|
title: "Top",
|
|
9
|
-
description: "Display system processes (snapshot)",
|
|
10
8
|
readOnlyHint: false
|
|
11
9
|
}
|
|
12
10
|
}, async () => {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerIbanValidate(server) {
|
|
3
3
|
server.registerTool("validate_iban", {
|
|
4
|
-
description: "Validate and parse IBAN (International Bank Account Number)",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
iban: z.string().describe("IBAN to validate and parse"),
|
|
7
6
|
},
|
|
8
7
|
// VS Code compliance annotations
|
|
9
8
|
annotations: {
|
|
10
9
|
title: "Iban-validate",
|
|
11
|
-
description: "Validate and parse IBAN (International Bank Account Number)",
|
|
12
10
|
readOnlyHint: false
|
|
13
11
|
}
|
|
14
12
|
}, async ({ iban }) => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerAngleConverter(server) {
|
|
3
3
|
server.registerTool("convert_angle", {
|
|
4
|
-
description: "Convert between different angle units",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
value: z.number().describe("Angle value to convert"),
|
|
7
6
|
fromUnit: z.enum([
|
|
@@ -14,7 +13,6 @@ export function registerAngleConverter(server) {
|
|
|
14
13
|
// VS Code compliance annotations
|
|
15
14
|
annotations: {
|
|
16
15
|
title: "Convert Angle",
|
|
17
|
-
description: "Convert between different angle units",
|
|
18
16
|
readOnlyHint: false
|
|
19
17
|
}
|
|
20
18
|
}, async ({ value, fromUnit, toUnit }) => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerEnergyConverter(server) {
|
|
3
3
|
server.registerTool("convert_energy", {
|
|
4
|
-
description: "Convert between different energy units",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
value: z.number().describe("Energy value to convert"),
|
|
7
6
|
fromUnit: z.enum([
|
|
@@ -16,7 +15,6 @@ export function registerEnergyConverter(server) {
|
|
|
16
15
|
// VS Code compliance annotations
|
|
17
16
|
annotations: {
|
|
18
17
|
title: "Convert Energy",
|
|
19
|
-
description: "Convert between different energy units",
|
|
20
18
|
readOnlyHint: false
|
|
21
19
|
}
|
|
22
20
|
}, async ({ value, fromUnit, toUnit }) => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerPowerConverter(server) {
|
|
3
3
|
server.registerTool("convert_power", {
|
|
4
|
-
description: "Convert between different power units",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
value: z.number().describe("Power value to convert"),
|
|
7
6
|
fromUnit: z.enum([
|
|
@@ -16,7 +15,6 @@ export function registerPowerConverter(server) {
|
|
|
16
15
|
// VS Code compliance annotations
|
|
17
16
|
annotations: {
|
|
18
17
|
title: "Convert Power",
|
|
19
|
-
description: "Convert between different power units",
|
|
20
18
|
readOnlyHint: false
|
|
21
19
|
}
|
|
22
20
|
}, async ({ value, fromUnit, toUnit }) => {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerDistinctWords(server) {
|
|
3
3
|
server.registerTool("analyze_distinct_words", {
|
|
4
|
-
description: "Count distinct words in text and show their frequency",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
text: z.string().describe("Text to analyze for distinct words")
|
|
7
6
|
},
|
|
8
7
|
// VS Code compliance annotations
|
|
9
8
|
annotations: {
|
|
10
9
|
title: "Analyze Distinct Words",
|
|
11
|
-
description: "Count distinct words in text and show their frequency",
|
|
12
10
|
readOnlyHint: true
|
|
13
11
|
}
|
|
14
12
|
}, async ({ text }) => {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerTextStats(server) {
|
|
3
3
|
server.registerTool("analyze_text_stats", {
|
|
4
|
-
description: "Get statistics about text (character count, word count, etc.)",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
text: z.string().describe("Text to analyze"),
|
|
7
6
|
},
|
|
8
7
|
// VS Code compliance annotations
|
|
9
8
|
annotations: {
|
|
10
9
|
title: "Analyze Text Stats",
|
|
11
|
-
description: "Get statistics about text (character count, word count, etc",
|
|
12
10
|
readOnlyHint: true
|
|
13
11
|
}
|
|
14
12
|
}, async ({ text }) => {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerTextCapitalize(server) {
|
|
3
3
|
server.registerTool("capitalize_text", {
|
|
4
|
-
description: "Capitalize first letter of each word",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
text: z.string().describe("Text to capitalize"),
|
|
7
6
|
},
|
|
8
7
|
// VS Code compliance annotations
|
|
9
8
|
annotations: {
|
|
10
9
|
title: "Capitalize Text",
|
|
11
|
-
description: "Capitalize first letter of each word",
|
|
12
10
|
readOnlyHint: false
|
|
13
11
|
}
|
|
14
12
|
}, async ({ text }) => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerTextDiff(server) {
|
|
3
3
|
server.registerTool("compare_text", {
|
|
4
|
-
description: "Compare two texts and show differences",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
text1: z.string().describe("First text to compare"),
|
|
7
6
|
text2: z.string().describe("Second text to compare"),
|
|
@@ -9,7 +8,6 @@ export function registerTextDiff(server) {
|
|
|
9
8
|
// VS Code compliance annotations
|
|
10
9
|
annotations: {
|
|
11
10
|
title: "Compare Text",
|
|
12
|
-
description: "Compare two texts and show differences",
|
|
13
11
|
readOnlyHint: false
|
|
14
12
|
}
|
|
15
13
|
}, async ({ text1, text2 }) => {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerTextCamelcase(server) {
|
|
3
3
|
server.registerTool("convert_text_to_camelcase", {
|
|
4
|
-
description: "Convert text to camelCase format. Example: 'hello world' → 'helloWorld', 'my-variable-name' → 'myVariableName'",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
text: z.string().describe("Text to convert to camelCase"),
|
|
7
6
|
},
|
|
8
7
|
// VS Code compliance annotations
|
|
9
8
|
annotations: {
|
|
10
9
|
title: "Convert to camelCase",
|
|
11
|
-
description: "Convert text to camelCase naming convention",
|
|
12
10
|
readOnlyHint: false
|
|
13
11
|
}
|
|
14
12
|
}, async ({ text }) => {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerTextKebabcase(server) {
|
|
3
3
|
server.registerTool("convert_text_to_kebabcase", {
|
|
4
|
-
description: "Convert text to kebab-case",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
text: z.string().describe("Text to convert to kebab-case"),
|
|
7
6
|
},
|
|
8
7
|
// VS Code compliance annotations
|
|
9
8
|
annotations: {
|
|
10
9
|
title: "Convert Text To Kebabcase",
|
|
11
|
-
description: "Convert text to kebab-case",
|
|
12
10
|
readOnlyHint: false
|
|
13
11
|
}
|
|
14
12
|
}, async ({ text }) => {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerTextLowercase(server) {
|
|
3
3
|
server.registerTool("convert_text_to_lowercase", {
|
|
4
|
-
description: "Convert text to lowercase",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
text: z.string().describe("Text to convert to lowercase"),
|
|
7
6
|
},
|
|
8
7
|
// VS Code compliance annotations
|
|
9
8
|
annotations: {
|
|
10
9
|
title: "Convert Text To Lowercase",
|
|
11
|
-
description: "Convert text to lowercase",
|
|
12
10
|
readOnlyHint: false
|
|
13
11
|
}
|
|
14
12
|
}, async ({ text }) => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerTextToNatoAlphabet(server) {
|
|
3
3
|
server.registerTool("convert_text_to_nato", {
|
|
4
|
-
description: "Convert text to NATO phonetic alphabet",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
text: z.string().describe("Text to convert to NATO phonetic alphabet"),
|
|
7
6
|
language: z.string().optional().default("International").describe("Language/country variant (International, France, Germany, etc.)")
|
|
@@ -9,7 +8,6 @@ export function registerTextToNatoAlphabet(server) {
|
|
|
9
8
|
// VS Code compliance annotations
|
|
10
9
|
annotations: {
|
|
11
10
|
title: "Convert Text To Nato",
|
|
12
|
-
description: "Convert text to NATO phonetic alphabet",
|
|
13
11
|
readOnlyHint: false
|
|
14
12
|
}
|
|
15
13
|
}, async ({ text, language }) => {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerTextPascalcase(server) {
|
|
3
3
|
server.registerTool("convert_text_to_pascalcase", {
|
|
4
|
-
description: "Convert text to PascalCase",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
text: z.string().describe("Text to convert to PascalCase"),
|
|
7
6
|
},
|
|
8
7
|
// VS Code compliance annotations
|
|
9
8
|
annotations: {
|
|
10
9
|
title: "Convert Text To Pascalcase",
|
|
11
|
-
description: "Convert text to PascalCase",
|
|
12
10
|
readOnlyHint: false
|
|
13
11
|
}
|
|
14
12
|
}, async ({ text }) => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerTextToUnicode(server) {
|
|
3
3
|
server.registerTool("convert_text_to_unicode", {
|
|
4
|
-
description: "Convert text to Unicode code points and vice versa",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
input: z.string().describe("Text to convert to Unicode or Unicode to convert to text"),
|
|
7
6
|
operation: z.enum(["encode", "decode"]).describe("Operation: encode text to Unicode or decode Unicode to text"),
|
|
@@ -9,7 +8,6 @@ export function registerTextToUnicode(server) {
|
|
|
9
8
|
// VS Code compliance annotations
|
|
10
9
|
annotations: {
|
|
11
10
|
title: "Convert Text To Unicode",
|
|
12
|
-
description: "Convert text to Unicode code points and vice versa",
|
|
13
11
|
readOnlyHint: false
|
|
14
12
|
}
|
|
15
13
|
}, async ({ input, operation }) => {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerTextUppercase(server) {
|
|
3
3
|
server.registerTool("convert_text_to_uppercase", {
|
|
4
|
-
description: "Convert text to uppercase",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
text: z.string().describe("Text to convert to uppercase"),
|
|
7
6
|
},
|
|
8
7
|
// VS Code compliance annotations
|
|
9
8
|
annotations: {
|
|
10
9
|
title: "Convert Text To Uppercase",
|
|
11
|
-
description: "Convert text to uppercase",
|
|
12
10
|
readOnlyHint: false
|
|
13
11
|
}
|
|
14
12
|
}, async ({ text }) => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerAsciiArtText(server) {
|
|
3
3
|
server.registerTool("generate_ascii_art", {
|
|
4
|
-
description: "Generate ASCII art text using figlet fonts. Example: 'Hello' → stylized ASCII text art, supports 295+ fonts",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
text: z.string().describe("Text to convert to ASCII art, or use 'LIST_FONTS' to get all available font names"),
|
|
7
6
|
font: z.string().describe("ASCII art font style. Supports all 295+ figlet fonts. Use 'standard' if unsure.").optional(),
|
|
@@ -9,7 +8,6 @@ export function registerAsciiArtText(server) {
|
|
|
9
8
|
// VS Code compliance annotations
|
|
10
9
|
annotations: {
|
|
11
10
|
title: "Generate ASCII Art",
|
|
12
|
-
description: "Create ASCII text art using figlet with multiple font options",
|
|
13
11
|
readOnlyHint: false
|
|
14
12
|
}
|
|
15
13
|
}, async ({ text, font = "standard" }) => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerLoremIpsumGenerator(server) {
|
|
3
3
|
server.registerTool("generate_lorem_ipsum", {
|
|
4
|
-
description: "Generate Lorem Ipsum placeholder text",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
count: z.number().describe("Number of items to generate").optional(),
|
|
7
6
|
type: z.enum(["words", "sentences", "paragraphs"]).describe("Type of content to generate").optional(),
|
|
@@ -9,7 +8,6 @@ export function registerLoremIpsumGenerator(server) {
|
|
|
9
8
|
// VS Code compliance annotations
|
|
10
9
|
annotations: {
|
|
11
10
|
title: "Generate Lorem Ipsum",
|
|
12
|
-
description: "Generate Lorem Ipsum placeholder text",
|
|
13
11
|
readOnlyHint: false
|
|
14
12
|
}
|
|
15
13
|
}, async ({ count = 5, type = "sentences" }) => {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerNumeronymGenerator(server) {
|
|
3
3
|
server.registerTool("generate_numeronym", {
|
|
4
|
-
description: "Generate numeronyms (abbreviations with numbers) from text",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
text: z.string().describe("Text to convert to numeronym"),
|
|
7
6
|
},
|
|
8
7
|
// VS Code compliance annotations
|
|
9
8
|
annotations: {
|
|
10
9
|
title: "Generate Numeronym",
|
|
11
|
-
description: "Generate numeronyms (abbreviations with numbers) from text",
|
|
12
10
|
readOnlyHint: false
|
|
13
11
|
}
|
|
14
12
|
}, async ({ text }) => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerStringObfuscator(server) {
|
|
3
3
|
server.registerTool("obfuscate_string", {
|
|
4
|
-
description: "Obfuscate text by replacing characters with their HTML entities or other representations",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
text: z.string().describe("Text to obfuscate"),
|
|
7
6
|
method: z.enum(["html-entities", "unicode", "base64"]).describe("Obfuscation method").optional(),
|
|
@@ -9,7 +8,6 @@ export function registerStringObfuscator(server) {
|
|
|
9
8
|
// VS Code compliance annotations
|
|
10
9
|
annotations: {
|
|
11
10
|
title: "Obfuscate String",
|
|
12
|
-
description: "Obfuscate text by replacing characters with their HTML entities or other representations",
|
|
13
11
|
readOnlyHint: false
|
|
14
12
|
}
|
|
15
13
|
}, async ({ text, method = "html-entities" }) => {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerEmojiSearch(server) {
|
|
3
3
|
server.registerTool("search_emoji", {
|
|
4
|
-
description: "Search for emojis by name or category",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
query: z.string().describe("Search term for emoji (name, category, or keyword)"),
|
|
7
6
|
},
|
|
8
7
|
// VS Code compliance annotations
|
|
9
8
|
annotations: {
|
|
10
9
|
title: "Search Emoji",
|
|
11
|
-
description: "Search for emojis by name or category",
|
|
12
10
|
readOnlyHint: false
|
|
13
11
|
}
|
|
14
12
|
}, async ({ query }) => {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerTextToUnicodeNames(server) {
|
|
3
3
|
server.registerTool("show_unicode_names", {
|
|
4
|
-
description: "Convert text to Unicode character names",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
text: z.string().describe("Text to convert to Unicode names")
|
|
7
6
|
},
|
|
8
7
|
// VS Code compliance annotations
|
|
9
8
|
annotations: {
|
|
10
9
|
title: "Show Unicode Names",
|
|
11
|
-
description: "Convert text to Unicode character names",
|
|
12
10
|
readOnlyHint: true
|
|
13
11
|
}
|
|
14
12
|
}, async ({ text }) => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerSlugifyString(server) {
|
|
3
3
|
server.registerTool("slugify_text", {
|
|
4
|
-
description: "Convert text to URL-friendly slug format",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
text: z.string().describe("Text to convert to slug"),
|
|
7
6
|
separator: z.string().describe("Character to use as separator").optional(),
|
|
@@ -10,7 +9,6 @@ export function registerSlugifyString(server) {
|
|
|
10
9
|
// VS Code compliance annotations
|
|
11
10
|
annotations: {
|
|
12
11
|
title: "Slugify Text",
|
|
13
|
-
description: "Convert text to URL-friendly slug format",
|
|
14
12
|
readOnlyHint: false
|
|
15
13
|
}
|
|
16
14
|
}, async ({ text, separator = "-", lowercase = true }) => {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerTextSnakecase(server) {
|
|
3
3
|
server.registerTool("text_snakecase", {
|
|
4
|
-
description: "Convert text to snake_case",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
text: z.string().describe("Text to convert to snake_case"),
|
|
7
6
|
},
|
|
8
7
|
// VS Code compliance annotations
|
|
9
8
|
annotations: {
|
|
10
9
|
title: "Convert Text To Snake Case",
|
|
11
|
-
description: "Convert text to snake_case",
|
|
12
10
|
readOnlyHint: false
|
|
13
11
|
}
|
|
14
12
|
}, async ({ text }) => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerRemPxConverter(server) {
|
|
3
3
|
server.registerTool("convert_rem_px", {
|
|
4
|
-
description: "Convert between REM and PX units for CSS. Example: Convert 1.5rem to pixels, or 24px to rem units.",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
value: z.number().min(0).describe("Value to convert (e.g., 1.5 for 1.5rem or 24 for 24px)"),
|
|
7
6
|
fromUnit: z.enum(["rem", "px"]).describe("Source unit - either 'rem' or 'px'"),
|
|
@@ -10,7 +9,6 @@ export function registerRemPxConverter(server) {
|
|
|
10
9
|
// VS Code compliance annotations
|
|
11
10
|
annotations: {
|
|
12
11
|
title: "Convert Rem Px",
|
|
13
|
-
description: "Convert between REM and PX units for CSS",
|
|
14
12
|
readOnlyHint: false
|
|
15
13
|
}
|
|
16
14
|
}, async ({ value, fromUnit, rootFontSize = 16 }) => {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerCssPrettifier(server) {
|
|
3
3
|
server.registerTool("format_css", {
|
|
4
|
-
description: "Format and prettify CSS code",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
css: z.string().describe("CSS code to format"),
|
|
7
6
|
indentSize: z.number().optional().describe("Number of spaces for indentation (default: 2)")
|
|
@@ -9,7 +8,6 @@ export function registerCssPrettifier(server) {
|
|
|
9
8
|
// VS Code compliance annotations
|
|
10
9
|
annotations: {
|
|
11
10
|
title: "Format Css",
|
|
12
|
-
description: "Format and prettify CSS code",
|
|
13
11
|
readOnlyHint: false
|
|
14
12
|
}
|
|
15
13
|
}, async ({ css, indentSize = 2 }) => {
|
|
@@ -27,14 +27,12 @@ function getUsageHint(code) {
|
|
|
27
27
|
}
|
|
28
28
|
export function registerHttpStatusCodes(server) {
|
|
29
29
|
server.registerTool("lookup_http_status", {
|
|
30
|
-
description: "Get information about HTTP status codes",
|
|
31
30
|
inputSchema: {
|
|
32
31
|
code: z.number().optional().describe("HTTP status code to look up (optional)"),
|
|
33
32
|
},
|
|
34
33
|
// VS Code compliance annotations
|
|
35
34
|
annotations: {
|
|
36
35
|
title: "Lookup Http Status",
|
|
37
|
-
description: "Get information about HTTP status codes",
|
|
38
36
|
readOnlyHint: true
|
|
39
37
|
}
|
|
40
38
|
}, async ({ code }) => {
|
|
@@ -34,7 +34,6 @@ function getMimeDescription(mimeType) {
|
|
|
34
34
|
}
|
|
35
35
|
export function registerMimeTypes(server) {
|
|
36
36
|
server.registerTool("lookup_mime_types", {
|
|
37
|
-
description: "Look up MIME types for file extensions",
|
|
38
37
|
inputSchema: {
|
|
39
38
|
input: z.string().describe("File extension (e.g., 'txt') or MIME type (e.g., 'text/plain')"),
|
|
40
39
|
lookupType: z.enum(["extension-to-mime", "mime-to-extension"]).describe("Lookup direction").optional(),
|
|
@@ -42,7 +41,6 @@ export function registerMimeTypes(server) {
|
|
|
42
41
|
// VS Code compliance annotations
|
|
43
42
|
annotations: {
|
|
44
43
|
title: "Lookup Mime Types",
|
|
45
|
-
description: "Look up MIME types for file extensions",
|
|
46
44
|
readOnlyHint: true
|
|
47
45
|
}
|
|
48
46
|
}, async ({ input, lookupType = "extension-to-mime" }) => {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerPortNumbers(server) {
|
|
3
3
|
server.registerTool("lookup_port_numbers", {
|
|
4
|
-
description: "Look up common TCP/UDP port numbers and their services",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
query: z.string().describe("Port number or service name to look up")
|
|
7
6
|
},
|
|
8
7
|
// VS Code compliance annotations
|
|
9
8
|
annotations: {
|
|
10
9
|
title: "Lookup Port Numbers",
|
|
11
|
-
description: "Look up common TCP/UDP port numbers and their services",
|
|
12
10
|
readOnlyHint: true
|
|
13
11
|
}
|
|
14
12
|
}, async ({ query }) => {
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export function registerEmailNormalizer(server) {
|
|
3
3
|
server.registerTool("normalize_email", {
|
|
4
|
-
description: "Normalize email addresses (remove dots, plus aliases, etc.)",
|
|
5
4
|
inputSchema: {
|
|
6
5
|
email: z.string().describe("Email address to normalize"),
|
|
7
6
|
},
|
|
8
7
|
// VS Code compliance annotations
|
|
9
8
|
annotations: {
|
|
10
9
|
title: "Normalize Email",
|
|
11
|
-
description: "Normalize email addresses (remove dots, plus aliases, etc",
|
|
12
10
|
readOnlyHint: false
|
|
13
11
|
}
|
|
14
12
|
}, async ({ email }) => {
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
export function registerDeviceInfo(server) {
|
|
2
2
|
server.registerTool("show_device_info", {
|
|
3
|
-
description: "Get basic device/system information",
|
|
4
3
|
inputSchema: {},
|
|
5
4
|
// VS Code compliance annotations
|
|
6
5
|
annotations: {
|
|
7
6
|
title: "Show Device Info",
|
|
8
|
-
description: "Get basic device/system information",
|
|
9
7
|
readOnlyHint: true
|
|
10
8
|
}
|
|
11
9
|
}, async () => {
|