asn1-mcp
Compiles ASN.1 schema definitions into executable source code like Python and Rust.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"asn1-mcp": {
"url": "https://asn1.io/mcp"
}
}
}Remote-Endpunkte
https://asn1.io/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (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.
Eingabe-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
Nachweis