asn1-mcp
Compiles ASN.1 schema definitions into executable source code like Python and Rust.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"asn1-mcp": {
"url": "https://asn1.io/mcp"
}
}
}Puntos de conexión remotos
https://asn1.io/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (1)
🟡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.
Esquema de entrada
{
"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"
}
}
}Comunidad
Evidencia