io.github.wrenchpilot/it-tools-mcp

平台与服务

by wrenchpilot

提供包含 100+ IT 工具与实用程序的 MCP server,适用于开发者和系统管理员的日常运维。

什么是 io.github.wrenchpilot/it-tools-mcp

提供包含 100+ IT 工具与实用程序的 MCP server,适用于开发者和系统管理员的日常运维。

README

IT Tools MCP Server

CI/CD Pipeline Docker Pulls Docker Image Size NPM Version NPM Downloads GitHub Release License GitHub Issues GitHub Last Commit Docker Platform GitHub Stars

📝 Note: A condensed version of this README is automatically synced to Docker Hub due to character limits.

A comprehensive Model Context Protocol (MCP) server that provides access to over 121 IT tools and utilities commonly used by developers, system administrators, and IT professionals. This server exposes a complete set of tools for encoding/decoding, text manipulation, hashing, network utilities, and many other common development and IT tasks.

Star History

Star History Chart

📦 Installation & Setup

Using with VS Code

Quick Install:

Install in VS Code Install in VS Code Insiders

Install:

  1. Open VS Code
  2. Press Ctrl+Shift+P (or Cmd+Shift+P on Mac)
  3. Type "MCP" and select "MCP: Add Server"
  4. Choose "NPM Package" and enter: it-tools-mcp

Or manually add to your VS Code settings.json:

Node

json
{
  "mcp": {
    "servers": {
      "it-tools": {
        "command": "npx",
        "args": ["it-tools-mcp"],
        "env": {}
      }
    }
  }
}

Docker

json
{
  "mcp": {
    "servers": {
      "it-tools": {
        "command": "docker",
        "args": [
          "run",
          "-i",
          "--rm",
          "--init",
          "--security-opt", "no-new-privileges:true",
          "--cap-drop", "ALL",
          "--read-only",
          "--user", "1001:1001",
          "--memory=256m",
          "--cpus=0.5",
          "--name", "it-tools-mcp",
          "wrenchpilot/it-tools-mcp:latest"
        ]
      }
  }
}

Interactive Mode

bash
docker run -it --rm wrenchpilot/it-tools-mcp:latest

Programmatic Usage

bash
# Generate a UUID
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"generate_uuid","arguments":{}}}' | \
  docker run -i --rm wrenchpilot/it-tools-mcp:latest

# Encode text to Base64
echo '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"encode_base64","arguments":{"text":"Hello World"}}}' | \
  docker run -i --rm wrenchpilot/it-tools-mcp:latest

� MCP Logging Capabilities

This server includes full MCP logging support with the following features:

Log Levels

  • debug (0): Detailed debug information
  • info (1): General information messages
  • notice (2): Normal but significant events
  • warning (3): Warning conditions
  • error (4): Error conditions
  • critical (5): Critical conditions
  • alert (6): Action must be taken immediately
  • emergency (7): System is unusable

Logging Tools

  • logging_setLevel: Change the minimum logging level at runtime
  • logging_status: View current logging configuration and available levels

Environment-Aware Behavior

  • Development Mode: Debug level by default, enhanced console output
  • Production Mode: Info level by default, clean output for MCP compliance
  • Automatic Fallback: Console logging when MCP transport isn't ready

Usage Examples

bash
# Check current logging status
echo '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"logging_status","arguments":{}}}' | npx it-tools-mcp

# Change log level to debug
echo '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"logging_setLevel","arguments":{"level":"debug"}}}' | npx it-tools-mcp

# Change log level to error (only show errors and above)
echo '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"logging_setLevel","arguments":{"level":"error"}}}' | npx it-tools-mcp

🔧 MCP Protocol Utilities

This server implements the complete MCP 2025-06-18 specification including advanced utilities:

Ping Utility

  • Health Checking: Use ping requests to verify connection status
  • Automatic Response: Server responds promptly with empty result per MCP spec
  • Connection Monitoring: Implement periodic health checks

Progress Tracking

  • Long-Running Operations: Receive progress updates for time-consuming tasks
  • Progress Tokens: Include _meta.progressToken in requests to enable progress notifications
  • Notifications: Server sends notifications/progress with current status

Request Cancellation

  • Graceful Cancellation: Send notifications/cancelled to abort in-progress requests
  • Resource Cleanup: Server properly frees resources when requests are cancelled
  • Race Condition Handling: Robust handling of timing edge cases

Sampling Support

  • LLM Integration: Server can request LLM completions from clients using sampling/createMessage
  • Model Preferences: Support for model selection hints and capability priorities (cost, speed, intelligence)
  • Content Types: Support for text, image, and audio content in sampling requests
  • Agentic Workflows: Enable AI-powered tool operations through nested LLM calls
  • Client Control: Clients maintain full control over model access and user approval

Protocol Examples

bash
# Test connection health with ping
echo '{"jsonrpc":"2.0","id":1,"method":"ping"}' | npx it-tools-mcp

# Request with progress tracking
echo '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"some_tool","arguments":{},"_meta":{"progressToken":"track123"}}}' | npx it-tools-mcp

# Cancel a request (send as notification)
echo '{"jsonrpc":"2.0","method":"notifications/cancelled","params":{"requestId":"2","reason":"User cancelled"}}' | npx it-tools-mcp

# Test sampling capabilities
echo '{"jsonrpc":"2.0","id":4,"method":"tools/call","params":{"name":"mcp_sampling_demo","arguments":{"message":"What is the capital of France?","modelPreference":"claude","systemPrompt":"You are a helpful assistant.","maxTokens":100}}}' | npx it-tools-mcp

# Demo MCP utilities
echo '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"mcp_utilities_demo","arguments":{"operation":"ping"}}}' | npx it-tools-mcp

�🛠️ Tool Categories

This MCP server provides over 121 tools across 14 categories:

  • � Ansible Tools (5 tools): Vault encryption/decryption, inventory parser, playbook validator, reference
  • 🎨 Color Tools (2 tools): Hex ↔ RGB conversion
  • 📝 Data Format (12 tools): JSON, XML, YAML, SQL, TOML, Markdown ↔ HTML conversion, phone formatting
  • �️ Development Tools (6 tools): Regex testing, cron generation, list conversion, code prettifiers, markdown TOC
  • 🐳 Docker Tools (5 tools): Compose validation, conversion tools, Traefik generator, reference
  • 🔧 Encoding & Decoding (8 tools): Base64, URL, HTML entities, text-to-binary
  • 🔍 Forensic Tools (3 tools): File type identification, safelink decoding, URL fanger
  • 🆔 ID & Code Generators (4 tools: UUID, ULID, QR codes, SVG placeholders
  • 🔢 Math & Calculations (6 tools): Expression evaluation, base conversion, temperature, percentages, Unix timestamps, Roman numerals
  • 🌐 Network & System (23 tools): IPv4/IPv6 subnets, URL parsing, MAC addresses, ps, top, cat, head, tail, grep, ping, nslookup, telnet, dig, ssh, scp, curl, IBAN validation
  • ⚡ Physics (3 tools): Angle, energy, and power unit conversions
  • 🔐 Security & Crypto (12 tools): Hashing (MD5, SHA1, SHA256, SHA512), HMAC, JWT, bcrypt, passwords, tokens, OTP, BIP39
  • ✨ Text Processing (19 tools): Case conversion, stats, diff, ASCII art, NATO alphabet, slugify, Unicode
  • 🛠️ Utility Tools (7 tools): Email normalization, MIME types, HTTP status codes, device info, CSS prettifier, rem/px converter

📸 Screenshot Examples

Password Hash Generation Example

Password Hash Example

ASCII Art Text Generation Example

ASCII Art Text Example

Examples of using the IT Tools MCP server with VS Code Copilot Chat for secure password hashing and creative ASCII art generation.

Available Tools

ToolDescriptionParameters
Ansible Tools
parse_ansible_inventoryParse Ansible inventoryinventory: string
generate_ansible_inventoryGenerate Ansible inventoryhosts: string[], groups?: Record<string, string[]>, variables?: Record<string, any>
validate_ansible_playbookValidate Ansible playbook YAMLplaybook: string
show_ansible_referenceAnsible syntax and module referencequery?: string
decrypt_ansible_vaultDecrypt Ansible Vault datadata: string, password: string
encrypt_ansible_vaultEncrypt data with Ansible Vaultdata: string, password: string
Color Tools
convert_hex_to_rgbConvert HEX to RGBhex: string
convert_rgb_to_hexConvert RGB to HEXr: number, g: number, b: number
Data Format
convert_html_to_markdownConvert HTML to Markdownhtml: string
compare_jsonCompare JSON objectsjson1: string, json2: string
format_jsonFormat and validate JSONjson: string, indent?: number
minify_jsonMinify JSONjson: string
convert_json_to_csvConvert JSON to CSVjson: string, delimiter?: string
convert_json_to_tomlConvert JSON to TOMLjson: string
convert_markdown_to_htmlConvert Markdown to HTMLmarkdown: string
format_phoneParse and format phone numbersphoneNumber: string, countryCode?: string
format_sqlFormat SQLsql: string, dialect?: 'sql' | 'mysql' | 'postgresql' | 'sqlite' | 'mariadb' | 'db2' | 'plsql' | 'n1ql' | 'redshift' | 'spark' | 'tsql' | 'trino' | 'bigquery' (optional, default: 'sql')
convert_toml_to_jsonConvert TOML to JSONtoml: string
format_xmlFormat XMLxml: string, indent?: number
format_yamlFormat YAMLyaml: string
Development Tools
generate_crontabGenerate cron expressionsminute?: string, hour?: string, dayOfMonth?: string, month?: string, dayOfWeek?: string
format_htmlFormat and prettify HTMLhtml: string, indent?: number
format_javascriptFormat and prettify JavaScriptjavascript: string, indent?: number
convert_listConvert list formatslist: string, inputFormat: 'comma' | 'semicolon' | 'newline' | 'space' | 'pipe', outputFormat: 'comma' | 'semicolon' | 'newline' | 'space' | 'pipe' | 'json' | 'quoted', trim?: boolean
generate_markdown_tocGenerate table of contents for Markdownmarkdown: string, maxDepth?: number
test_regexTest regular expressionspattern: string, text: string, flags?: string
Docker Tools
convert_docker_compose_to_runConvert Compose to Docker run commandcompose: string, service?: string
validate_docker_composeValidate Docker Compose YAMLcompose: string
show_docker_referenceDocker command and syntax referencequery?: string
convert_docker_run_to_composeConvert Docker run to Composecommand: string
generate_traefik_composeGenerate Traefik Docker Composedomain: string, service: string, port?: number, network?: string
Encoding & Decoding
decode_base64Decode Base64 texttext: string
encode_base64Encode text to Base64text: string
decode_htmlDecode HTML entitiestext: string
encode_htmlEncode HTML entitiestext: string
encode_html_entitiesExtended HTML entity encoding/decodingtext: string, operation: 'encode' | 'decode'
convert_text_to_binaryConvert text to binary and vice versainput: string, operation: 'encode' | 'decode'
convert_text_to_unicodeConvert text to Unicode and vice versainput: string, operation: 'encode' | 'decode'
decode_urlURL decode texttext: string
encode_urlURL encode texttext: string
Forensic Tools
identify_file_typeIdentify file type from contentdata: string, filename?: string
decode_safelinkDecode Microsoft SafeLinksurl: string
fang_urlFang and defang URLs for analysistext: string, operation: 'fang' | 'defang'
ID & Code Generators
generate_qr_codeGenerate QR codes for any contenttext: string, size?: number - Supports URLs, WiFi (WIFI:T:WPA;S:network;P:password;;), contact info, etc.
generate_svg_placeholderGenerate SVG placeholderwidth?: number, height?: number, text?: string, backgroundColor?: string, textColor?: string
generate_ulidGenerate ULIDNone
generate_uuidGenerate UUID v4None
Math & Calculations
evaluate_mathEvaluate expressionsexpression: string
convert_number_baseConvert number basesnumber: string, fromBase: number, toBase: number
calculate_percentageCalculate percentagesoperation: 'percentage-of' | 'what-percentage' | 'percentage-change', value1: number, value2: number
convert_roman_numeralsConvert Roman numeralsinput: string
convert_temperatureConvert temperaturestemperature: number, from: 'celsius' | 'fahrenheit' | 'kelvin', to: 'celsius' | 'fahrenheit' | 'kelvin'
convert_unix_timestampConvert timestampsinput: string
Network & System
catDisplay file contentfile: string
curlHTTP client (GET, POST, etc.)url: string, method?: string, headers?: Record<string, string>, body?: string
digDNS query (custom type)target: string, type?: string
grepSearch for pattern in filefile: string, pattern: string
headShow first N lines of filefile: string, lines?: number
validate_ibanValidate IBANiban: string
calculate_ip_subnetCalculate IPv4 subnetip: string, cidr: number
calculate_ipv4_subnetEnhanced IPv4 subnet calccidr: string
generate_ipv6_ulaGenerate IPv6 ULAglobalId?: string
generate_mac_addressGenerate MAC addressprefix?: string, separator?: ':' | '-'
nslookupDNS lookup (A/AAAA/CNAME)target: string
pingPing a hosttarget: string, count?: number
psList running processesNone
generate_random_portGenerate random portscount?: number, min?: number, max?: number, exclude?: number[]
scpCopy files to/from remote host (SFTP)target: string, user: string, direction: 'upload'|'download', localPath: string, remotePath: string, privateKey?: string
sshSSH command executiontarget: string, user: string, command: string
tailShow last N lines of filefile: string, lines?: number
telnetTest TCP connectivitytarget: string, port: number
topShow top processes (by CPU)None
parse_urlParse URL componentsurl: string
Physics
convert_angleConvert angle unitsvalue: number, from: 'degrees' | 'radians' | 'gradians', to: 'degrees' | 'radians' | 'gradians'
convert_energyConvert energy unitsvalue: number, from: 'joules' | 'calories' | 'kwh' | 'btu', to: 'joules' | 'calories' | 'kwh' | 'btu'
convert_powerConvert power unitsvalue: number, from: 'watts' | 'kilowatts' | 'horsepower' | 'btu_per_hour', to: 'watts' | 'kilowatts' | 'horsepower' | 'btu_per_hour'
Security & Crypto
generate_basic_authGenerate Basic Auth headerusername: string, password: string
hash_bcryptGenerate/verify bcrypt hashpassword: string, rounds?: number, hash?: string
generate_bip39Generate BIP39 mnemonicwordCount?: '12' | '15' | '18' | '21' | '24'
hash_md5Generate MD5 hashtext: string
hash_sha1Generate SHA1 hashtext: string
hash_sha256Generate SHA256 hashtext: string
hash_sha512Generate SHA512 hashtext: string
generate_hmacGenerate HMACmessage: string, key: string, algorithm?: 'sha1' | 'sha256' | 'sha512'
decode_jwtDecode JWT tokentoken: string
generate_otpGenerate TOTP codessecret: string, digits?: number, period?: number
generate_passwordGenerate secure passwordlength?: number, includeUppercase?: boolean, includeLowercase?: boolean, includeNumbers?: boolean, includeSymbols?: boolean
generate_tokenGenerate secure tokenlength?: number, charset?: 'alphanumeric' | 'hex' | 'base64' | 'custom', customChars?: string
Text Processing
generate_ascii_artGenerate ASCII arttext: string, font?: string (supports 295+ figlet fonts)
analyze_distinct_wordsExtract unique words from texttext: string, caseSensitive?: boolean
search_emojiSearch emojisquery: string
generate_lorem_ipsumGenerate Lorem Ipsumtype?: 'words' | 'sentences' | 'paragraphs', count?: number
generate_numeronymGenerate numeronymstext: string
slugify_textConvert to URL slugtext: string, separator?: string, lowercase?: boolean
obfuscate_stringObfuscate texttext: string, method?: 'html-entities' | 'unicode' | 'base64'
convert_to_camelcaseConvert to camelCasetext: string
capitalize_textCapitalize wordstext: string
compare_textCompare textstext1: string, text2: string
convert_text_to_kebabcaseConvert to kebab-casetext: string
convert_text_to_lowercaseConvert to lowercasetext: string
convert_text_to_pascalcaseConvert to PascalCasetext: string
text_snakecaseConvert to snake_casetext: string
analyze_text_statsGet text statisticstext: string
convert_text_to_natoConvert to NATO alphabettext: string
show_unicode_namesConvert text to Unicode character namestext: string
convert_text_to_uppercaseConvert to uppercasetext: string
Utility Tools
format_cssFormat and prettify CSScss: string, indent?: number
show_device_infoGet system informationNone
normalize_emailNormalize email addressesemail: string
lookup_http_statusHTTP status referencecode?: number
lookup_mime_typesLook up MIME typesinput: string, lookupType?: 'extension-to-mime' | 'mime-to-extension'
lookup_port_numbersLook up port number assignmentsport?: number, service?: string
convert_rem_pxConvert between REM and PX unitsvalue: number, conversion: 'rem-to-px' | 'px-to-rem', baseFontSize?: number

🏗️ Architecture & Development

Built with TypeScript, Zod validation, and MCP SDK for robust, type-safe operation.

🤖 AI-Assisted Development

This project was developed using VS Code, Copilot Chat Agent, Playwright MCP, and the Claude Sonnet 4 Model, demonstrating the power of AI-assisted software development:

  • Intelligent Code Generation: Claude Sonnet analyzed requirements and generated comprehensive tool implementations
  • Schema Validation: Automatically identified and resolved JSON schema validation issues across tools
  • Docker Optimization: Created production-ready Docker workflows and multi-stage builds
  • Documentation: Generated comprehensive README with examples and tool reference tables
  • Testing: Implemented robust error handling and validation throughout the codebase

Key AI Contributions:

  • 🔧 Tool Implementation: All tools designed and implemented with AI assistance
  • 📦 Docker Setup: Complete containerization with GitHub Actions CI/CD pipeline
  • 🔍 Schema Cleanup: Systematic removal of unsupported Zod keywords from all tool definitions
  • 📚 Documentation: Comprehensive README with usage examples and tool catalogs
  • 🚀 Production Ready: Docker Hub publishing, badges, and professional deployment setup

This showcases how AI can accelerate development while maintaining code quality, proper architecture, and comprehensive testing.

Adding New Tools

  1. Create a tool directory in appropriate category under src/tools/
  2. Define tool with input schema using Zod in its index.ts
  3. Export registration function for dynamic loading
  4. Rebuild with npm run build

Project Structure

text
src/
├── index.ts              # Main MCP server with dynamic tool loading
└── tools/                # Modular tool categories
    ├── ansible/          # 5 Ansible automation tools
    ├── color/            # 2 Color conversion tools
    ├── crypto/           # 9 Cryptographic & security tools
    ├── dataFormat/       # 12 Data format conversion tools
    ├── development/      # 6 Development utilities
    ├── docker/           # 5 Docker & containerization tools
    ├── encoding/         # 8 Encoding/decoding tools
    ├── forensic/         # 3 Digital forensics tools
    ├── idGenerators/     # 4 ID & code generation tools
    ├── math/             # 6 Mathematical operation tools
    ├── network/          # 23 Network utilities
    ├── physics/          # 3 Physics calculation tools
    ├── text/             # 19 Text manipulation tools
    └── utility/          # 7 General utility tools

🤝 Contributing

Contributions are welcome! Please follow the guidelines below:

Commit Message Format

This project uses Conventional Commits for clear, consistent commit messages.

Version Management:

  • 🤖 Automatic version bumping - Git hooks automatically bump versions based on commit message types
  • 🤖 Automatic publishing - CI/CD detects changes and publishes automatically
  • 🏷️ Git tags - Created automatically based on conventional commit messages

Examples:

bash
git commit -m "feat: add new encryption tool"    # → minor version bump
git commit -m "fix: resolve base64 decoding issue"  # → patch version bump
git commit -m "docs: improve README examples"   # → patch version bump
git commit -m "feat!: breaking API change"      # → major version bump

# Version is automatically bumped and committed by git hooks
# No manual npm version commands needed!
git push

📖 See COMMIT_TEMPLATE_SETUP.md for setup instructions.

Development Process

  1. Fork the repository
  2. Run ./setup-commit-template.sh (recommended)
  3. Create a feature branch
  4. Make your changes following the project structure
  5. Use conventional commit messages
  6. Submit a Pull Request

The CI/CD pipeline will automatically:

  • ✅ Build and test your changes
  • 🏷️ Bump version based on commit messages (on merge to main)
  • 📦 Publish to Docker Hub and NPM
  • 🚀 Create GitHub releases

📄 License

MIT License - see LICENSE for details.

🔗 Related

Inspired by IT Tools - online tools for developers.

This project incorporates select tools from the @sharevb fork which extends IT Tools with additional utilities and enhancements.

常见问题

io.github.wrenchpilot/it-tools-mcp 是什么?

提供包含 100+ IT 工具与实用程序的 MCP server,适用于开发者和系统管理员的日常运维。

相关 Skills

MCP构建

by anthropics

Universal
热门

聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。

想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。

平台与服务
未扫描111.8k

Slack动图

by anthropics

Universal
热门

面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。

帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。

平台与服务
未扫描111.8k

MCP服务构建器

by alirezarezvani

Universal
热门

从 OpenAPI 一键生成 Python/TypeScript MCP server 脚手架,并校验 tool schema、命名规范与版本兼容性,适合把现有 REST API 快速发布成可生产演进的 MCP 服务。

帮你快速搭建 MCP 服务与后端 API,脚手架完善、扩展顺手,尤其适合想高效验证服务能力的开发者。

平台与服务
未扫描9.8k

相关 MCP Server

Slack 消息

编辑精选

by Anthropic

热门

Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。

这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。

平台与服务
83.1k

by netdata

热门

io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。

这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。

平台与服务
78.3k

by d4vinci

热门

Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。

这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。

平台与服务
34.9k

评论