asn1-mcp
Compiles ASN.1 schema definitions into executable source code like Python and Rust.
사용해야 할까요
품질 및 안전성
A
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
~372토큰 (도구 정의)
~3.6 KB일반적인 응답 크기
최소한의 주의 영향 (128k 컨텍스트의 0.29%)
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"asn1-mcp": {
"url": "https://asn1.io/mcp"
}
}
}원격 엔드포인트
https://asn1.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (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.
입력 스키마
{
"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"
}
}
}커뮤니티
증거
최근 관측
검증됨버전이 기록되지 않음도구 1개