ASN.1 Compiler MCP Server


The ASN.1 Compiler MCP (Model Context Protocol) Server allows AI agents (such as Cline, Claude Desktop, and OpenAI tools) to automatically compile raw ASN.1 schema definitions into executable source code, such as Python and Rust codecs.

This server is centrally hosted, utilizing the modern Stateless HTTP (streamable-http) MCP transport. There is no local installation required; developers simply point their MCP clients to our live endpoint to offload compilation overhead.


1. Connection Configuration

To use this server with your preferred MCP client, simply add the following configuration to your client's settings file (e.g., cline_mcp_settings.json). The server defaults to a free-tier IP validation logic, so no API key is required to get started.

{ "mcpServers": { "asn1-compiler": { "type": "streamableHttp", "url": "https://asn1.io/mcp" } } }

For a commercial license contact us at asn1io@oss.com


2. Available Tools

Once connected, your AI agent will automatically map your intent to the following semantic tools:

  • compile_asn1_schema: Compiles ASN.1 schema definitions into executable source code. It accepts the raw schema string, the target programming language (e.g., Python, Rust, C), and the desired codec standard (e.g., UPER, DER, BER).
  • validate_asn1_schema: Validates ASN.1 schema definitions syntax and semantics without generating source code. It accepts the raw schema string and returns the list of errors or informational messages.

Usage Example: Just ask your agent: "I have the following ASN.1 schema. Please compile it into Python code using the UPER codec." or "Please validate this ASN.1 schema for syntax errors." The agent will securely send the payload to our endpoint and return the results directly to your workspace.


3. Global Discovery

This server is designed to be fully compatible with the Model Context Protocol v1.0 and is registered in the public Glama catalog and the official Anthropic MCP repository.