MCP-Server

swiss-army

io.github.Ainode-tech/swiss-army
Business & Betrieb Entwicklertools Sicherheit Öffentlich und erreichbar MCP 2025-11-25

Was dieses MCP kann

Provides utility transformations and validation for data, documents, images, time zones, currencies, identifiers, web policies, and secrets.

classify_gdpr
Detect GDPR PII categories in text (email, phone, IP, name, location). Returns categories only, never actual PII values.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['text'], 'properties': {'text': {'type': 'string', 'maxLength': 50000, 'minLength': 1, 'description': 'Text to scan for PII categories'}}, 'additionalProperties': False}
convert_currency
Convert an amount between currencies using cached ECB exchange rates.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['amount', 'from', 'to'], 'properties': {'to': {'type': 'string', 'maxLength': 3, 'minLength': 3, 'description': 'Target currency code (ISO 4217)'}, 'from': {'type': 'string', 'maxLength': 3, 'minLength': 3, 'description': 'Source currency code (ISO 4217)'}, 'amount': {'type': 'number', 'description': 'Amount to convert', 'exclusiveMinimum': 0}}, 'additionalProperties': False}
convert_timezone
Convert a datetime between IANA timezones.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['datetime', 'from_timezone', 'to_timezone'], 'properties': {'datetime': {'type': 'string', 'description': 'Datetime in ISO format (YYYY-MM-DDTHH:mm:ss)'}, 'to_timezone': {'type': 'string', 'description': 'Target IANA timezone (e.g. Europe/Lisbon)'}, 'from_timezone': {'type': 'string', 'description': 'Source IANA timezone (e.g. America/New_York)'}}, 'additionalProperties': False}
csv_to_json
Convert CSV string to JSON array of objects.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['input'], 'properties': {'input': {'type': 'string', 'description': 'CSV string'}}, 'additionalProperties': False}
decode_base64
Decode a Base64 string to UTF-8.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['input'], 'properties': {'input': {'type': 'string', 'description': 'Base64 string to decode'}}, 'additionalProperties': False}
detect_secrets
Detect hardcoded secrets, API keys, and credentials in text using pattern matching and entropy analysis.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['text'], 'properties': {'text': {'type': 'string', 'maxLength': 100000, 'minLength': 1, 'description': 'Text, code, or configuration to scan for secrets'}}, 'additionalProperties': False}
encode_base64
Encode a UTF-8 string to Base64.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['input'], 'properties': {'input': {'type': 'string', 'description': 'UTF-8 string to encode'}}, 'additionalProperties': False}
extract_pdf_text
Extract text content from a base64-encoded PDF document.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['pdf'], 'properties': {'pdf': {'type': 'string', 'description': 'Base64-encoded PDF document'}}, 'additionalProperties': False}
extract_url_metadata
Extract Open Graph metadata from a URL.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['url'], 'properties': {'url': {'type': 'string', 'description': 'URL to extract metadata from'}}, 'additionalProperties': False}
generate_csp
Generate Content-Security-Policy header from structured directives input.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'directives': {'type': 'object', 'description': "CSP directives map, e.g. { 'script-src': ['self', 'nonce-abc123'] }", 'additionalProperties': {'type': 'array', 'items': {'type': 'string'}}}, 'report_uri': {'type': 'string', 'format': 'uri', 'description': 'Report URI for CSP violations'}, 'report_only': {'type': 'boolean', 'default': False, 'description': 'Use Content-Security-Policy-Report-Only header'}}, 'additionalProperties': False}
generate_hash
Generate MD5, SHA-256, or SHA-512 hex digest.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['input', 'algorithm'], 'properties': {'input': {'type': 'string', 'description': 'String to hash'}, 'algorithm': {'type': 'string', 'description': 'Hash algorithm: md5, sha256, or sha512'}}, 'additionalProperties': False}
generate_uuid
Generate one or more UUID v4 values.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'count': {'type': 'number', 'description': 'Number of UUIDs to generate (1-100, default 1)'}}, 'additionalProperties': False}
health
Health check. Returns server status and optional echo.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'echo': {'type': 'string', 'description': 'Optional string to echo back'}}, 'additionalProperties': False}
html_to_text
Strip HTML tags and decode entities to plain text.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['input'], 'properties': {'input': {'type': 'string', 'description': 'HTML string to convert'}}, 'additionalProperties': False}
json_to_csv
Convert JSON array of objects to RFC 4180 CSV.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['input'], 'properties': {'input': {'type': 'string', 'description': 'JSON array string'}}, 'additionalProperties': False}
markdown_to_html
Convert Markdown to HTML.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['input'], 'properties': {'input': {'type': 'string', 'description': 'Markdown string to convert'}}, 'additionalProperties': False}
parse_cron
Parse a cron expression and return next run times.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['expression'], 'properties': {'count': {'type': 'number', 'description': 'Number of next runs to return (1-20, default 5)'}, 'expression': {'type': 'string', 'description': "Cron expression (e.g. '0 9 * * 1-5')"}}, 'additionalProperties': False}
resize_image
Resize and compress a base64-encoded image.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['image', 'width', 'height'], 'properties': {'image': {'type': 'string', 'description': 'Base64-encoded image data'}, 'width': {'type': 'integer', 'description': 'Target width in pixels', 'exclusiveMinimum': 0}, 'format': {'enum': ['png', 'jpeg', 'webp'], 'type': 'string', 'default': 'png', 'description': 'Output format'}, 'height': {'type': 'integer', 'description': 'Target height in pixels', 'exclusiveMinimum': 0}, 'quality': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'JPEG quality (1-100)'}}, 'additionalProperties': False}
test_regex
Test a regex pattern against an input string.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['pattern', 'input'], 'properties': {'flags': {'type': 'string', 'description': 'Regex flags (g, i, m, s, u, y)'}, 'input': {'type': 'string', 'description': 'Input string to test against'}, 'pattern': {'type': 'string', 'description': 'Regular expression pattern'}}, 'additionalProperties': False}
validate_cors
Validate CORS policy against security best practices. Reports issues by severity.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['allow_origin'], 'properties': {'max_age': {'type': 'number', 'description': 'Access-Control-Max-Age in seconds'}, 'allow_origin': {'anyOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}], 'description': 'Access-Control-Allow-Origin value(s)'}, 'allow_headers': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Allowed request headers'}, 'allow_methods': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Allowed HTTP methods'}, 'expose_headers': {'type': 'array', 'items': {'type': 'string'}, 'description': 'Access-Control-Expose-Headers'}, 'allow_credentials': {'type': 'boolean', 'description': 'Access-Control-Allow-Credentials'}}, 'additionalProperties': False}
validate_iban
Validate IBAN (ISO 13616 mod-97) with SEPA BIC lookup for Portuguese banks.
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['iban'], 'properties': {'iban': {'type': 'string', 'description': 'IBAN string (with or without spaces)'}}, 'additionalProperties': False}
validate_nif
Validate Portuguese NIF/NIPC tax identification number (mod-11 check digit).
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['nif'], 'properties': {'nif': {'type': 'string', 'description': 'Portuguese NIF or NIPC (9 digits)'}}, 'additionalProperties': False}
verify_eu_vat
Verify EU VAT number via VIES (European Commission free API).
Eingabeschema
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['country_code', 'vat_number'], 'properties': {'vat_number': {'type': 'string', 'maxLength': 20, 'minLength': 1, 'description': 'VAT number without country prefix'}, 'country_code': {'type': 'string', 'maxLength': 2, 'minLength': 2, 'description': 'ISO 3166-1 alpha-2 country code (e.g. PT, DE, FR)'}}, 'additionalProperties': False}
Hinzugefügt
detect_secrets
17. September 2026 12:40
Hinzugefügt
validate_cors
17. September 2026 12:40
Hinzugefügt
generate_csp
17. September 2026 12:40
Hinzugefügt
classify_gdpr
17. September 2026 12:40
Hinzugefügt
verify_eu_vat
17. September 2026 12:40
Hinzugefügt
validate_iban
17. September 2026 12:40
Hinzugefügt
validate_nif
17. September 2026 12:40
Hinzugefügt
resize_image
17. September 2026 12:40
Hinzugefügt
extract_pdf_text
17. September 2026 12:40
Hinzugefügt
convert_currency
17. September 2026 12:40
Hinzugefügt
test_regex
17. September 2026 12:40
Hinzugefügt
parse_cron
17. September 2026 12:40
Hinzugefügt
convert_timezone
17. September 2026 12:40
Hinzugefügt
extract_url_metadata
17. September 2026 12:40
Hinzugefügt
markdown_to_html
17. September 2026 12:40
Hinzugefügt
html_to_text
17. September 2026 12:40
Hinzugefügt
generate_uuid
17. September 2026 12:40
Hinzugefügt
generate_hash
17. September 2026 12:40
Hinzugefügt
decode_base64
17. September 2026 12:40
Hinzugefügt
encode_base64
17. September 2026 12:40
Hinzugefügt
csv_to_json
17. September 2026 12:40
Hinzugefügt
json_to_csv
17. September 2026 12:40
Hinzugefügt
health
17. September 2026 12:40