asn1-mcp

Compiles ASN.1 schema definitions into executable source code like Python and Rust.

Should I use this

Quality & Safety

A
Description quality
100%
Schema completeness
90%
Naming quality
100%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~372Tokens (tool definitions)
~3.6 KBTypical response size
Minimal attention impact (0.29% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "asn1-mcp": {
      "url": "https://asn1.io/mcp"
    }
  }
}

Remote endpoints

https://asn1.io/mcpstreamable-http

What it can do

Tool inventory

Tools (1)

🟒 Read-only🟑 WriteπŸ”΄ Deleteβšͺ Unknown
🟑compile_asn1_schema(userId, fileName, schemaContent, targetLanguage, codec)

Compiles ASN.1 schema definitions into executable source code. Use this tool whenever a user asks to generate code, compile an ASN.1 schema, or create a codec (e.g., DER, PER, UPER, BER) for a specific programming language. The tool returns the compilation status, error messages, and files containing the generated source code.

Input Schema

{
  "type": "object",
  "properties": {
    "userId": {
      "description": "The user's email address to look up the asn1.io user account. If the user's identity is unknown, pass an empty string.",
      "type": "string",
      "default": ""
    },
    "fileName": {
      "description": "The name of the schema file being compiled. This should end in '.asn' (e.g., 'Rocket.asn'). If the user does not provide a filename, invent a logical one based on the schema's main module name. It is used for errors to reference a specific location in the schema .",
      "type": "string",
      "default": "schema.asn"
    },
    "schemaContent": {
      "description": "Plain-text ASN.1 schema definition. This must be valid ASN.1 syntax, typically starting with the 'DEFINITIONS' keyword and concluding with 'END'.",
      "type": "string",
      "default": ""
    },
    "targetLanguage": {
      "description": "The target programming language for the generated code. Allowed values include 'python' and β€˜rust’. Infer this from the user's prompt. If not specified, ask the user before calling the tool.",
      "type": "string",
      "default": "python"
    },
    "codec": {
      "description": "The ASN.1 encoding rules to support in the generated code. Valid options include 'uper', 'per', 'der', 'ber', or 'oer'. If the user does not specify a codec, default to 'der'.",
      "type": "string",
      "default": "der"
    }
  }
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded1 tools