Compiles ASN.1 schema definitions into executable source code like Python and Rust.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
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.
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'.
The user's email address to look up the asn1.io user account. If the user's identity is unknown, pass an empty string.
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 .
Plain-text ASN.1 schema definition. This must be valid ASN.1 syntax, typically starting with the 'DEFINITIONS' keyword and concluding with 'END'.
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.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
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.
| Argument | Type | Description |
|---|---|---|
| codec | string | 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'. |
| userId | string | The user's email address to look up the asn1.io user account. If the user's identity is unknown, pass an empty string. |
| fileName | string | 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 . |
| schemaContent | string | Plain-text ASN.1 schema definition. This must be valid ASN.1 syntax, typically starting with the 'DEFINITIONS' keyword and concluding with 'END'. |
| targetLanguage | string |
| 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": "object",
"properties": {
"codec": {
"type": "string",
"default": "der",
"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'."
},
"userId": {
"type": "string",
"default": "",
"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."
},
"fileName": {
"type": "string",
"default": "schema.asn",
"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 ."
},
"schemaContent": {
"type": "string",
"default": "",
"description": "Plain-text ASN.1 schema definition. This must be valid ASN.1 syntax, typically starting with the 'DEFINITIONS' keyword and concluding with 'END'."
},
"targetLanguage": {
"type": "string",
"default": "python",
"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."
}
}
}