tabnas

Seven tools over the tabnas parsing engine: parse, validate, diagnose, fixtures, compare.

사용해야 할까요

품질 및 안전성

A
설명 품질
100%
스키마 완전성
89%
이름 품질
91%
오염 위험
100%
권한 일치
100%
프로토콜 준수
100%

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~1,251토큰 (도구 정의)
~1.1 KB일반적인 응답 크기
중간 정도의 주의 영향 (128k 컨텍스트의 0.98%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.tabnas.dev/mcp"
    }
  }
}

원격 엔드포인트

https://mcp.tabnas.dev/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (7)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟢parse(input, grammar, options)

Parse input with the tabnas engine. Returns {ok:true, tree} or, on parse failure, {ok:false, diagnostic} — the structured diagnostic described by resource tabnas://schema/diagnostic. An invalid grammar is rejected as {ok:false, errors:[{path,message}]}. Without a grammar the bare engine is used, which defines no rules and produces an undefined tree for every input.

입력 스키마

{
  "type": "object",
  "properties": {
    "input": {
      "type": "string",
      "description": "Source text to parse."
    },
    "grammar": {
      "type": "object",
      "description": "Serialized GrammarSpec (pure JSON, no functions). Schema: resource tabnas://schema/grammar. Grammars are validated before use; a `ref` key or a non-builtin function reference is rejected."
    },
    "options": {
      "type": "object",
      "description": "TabnasOptions applied to the fresh instance before the grammar. Data only: a plugins entry is rejected."
    }
  },
  "required": [
    "input"
  ],
  "additionalProperties": false
}
🟢validate_grammar(grammar)

Validate a serialized GrammarSpec. Structural validation against the bundled grammar schema, an engine load in a fresh instance, and a check that every rule reference (`p`, `r`) names a rule the grammar actually defines — a dangling reference loads cleanly and then fails at parse time with `unknown_rule`. Returns {ok:true, v} (v = declared builtin config-schema version, absent means 1) or {ok:false, errors:[{path,message}]}. Security: a grammar carrying a `ref` key, or any function reference that is not a $-suffixed engine builtin, is rejected — validating a grammar never runs supplied code.

입력 스키마

{
  "type": "object",
  "properties": {
    "grammar": {
      "type": "object",
      "description": "Serialized GrammarSpec (pure JSON, no functions). Schema: resource tabnas://schema/grammar. Grammars are validated before use; a `ref` key or a non-builtin function reference is rejected."
    }
  },
  "required": [
    "grammar"
  ],
  "additionalProperties": false
}
🟢explain_parse_error(input, grammar)

Parse input and explain the failure. Returns {failed:false} when the input parses; otherwise {failed:true, diagnostic, registry} where registry is the error-code registry entry {code,message,hint} for the diagnostic code (resource tabnas://errors), or null for a code the bundled registry does not know (e.g. a plugin-declared code).

입력 스키마

{
  "type": "object",
  "properties": {
    "input": {
      "type": "string",
      "description": "Source text to parse."
    },
    "grammar": {
      "type": "object",
      "description": "Serialized GrammarSpec (pure JSON, no functions). Schema: resource tabnas://schema/grammar. Grammars are validated before use; a `ref` key or a non-builtin function reference is rejected."
    }
  },
  "required": [
    "input"
  ],
  "additionalProperties": false
}
⚪test_grammar(spec, grammar, options)

Run TSV fixture content against a grammar in a fresh instance, using the fleet fixture convention (@tabnas/support): line 1 is a header, the input column is escape-decoded, the expected column is JSON or ERROR / ERROR:<code>. Returns {pass, fail, rows:[{row,input,expected,got,ok}]}. Refuses more than 10000 rows.

입력 스키마

{
  "type": "object",
  "properties": {
    "spec": {
      "type": "string",
      "description": "TSV fixture content (not a path)."
    },
    "grammar": {
      "type": "object",
      "description": "Serialized GrammarSpec (pure JSON, no functions). Schema: resource tabnas://schema/grammar. Grammars are validated before use; a `ref` key or a non-builtin function reference is rejected."
    },
    "options": {
      "type": "object",
      "properties": {
        "inputCol": {
          "type": [
            "integer",
            "string"
          ],
          "description": "Input column, by position or header name. Default 0."
        },
        "expectedCol": {
          "type": [
            "integer",
            "string"
          ],
          "description": "Expected column, by position or header name. Default 1."
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "spec"
  ],
  "additionalProperties": false
}
🟢list_plugins

List every bundled tabnas plugin descriptor (tabnas.plugin.json of each fleet repo), sorted by name. Returns {plugins:[...]}.

입력 스키마

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢describe_plugin(name)

The full descriptor for one plugin, by package name ('@tabnas/csv') or bare fleet name ('csv'). Unknown names get {ok:false, errors} naming the known plugins.

입력 스키마

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Plugin name."
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": false
}
⚪compare_grammars(a, b, corpus, options, depth)

Grammar compatibility (AX plan Phase 5): does candidate grammar B still accept what baseline A accepted, and does it build the same tree for inputs both accept? Returns EVIDENCE AND CONFIDENCE, never a bare verdict: {normalForm, proven[], observed[], changes[], counterexamples[], confidence, why}. confidence:'low' with a stated reason is a successful run, not a failure — language inclusion is undecidable in general, so anything outside the decidable subset is reported not-proven rather than incompatible. Supply `corpus` (real inputs) for the tier that measures what your documents actually do.

입력 스키마

{
  "type": "object",
  "properties": {
    "a": {
      "type": "object",
      "description": "Baseline grammar: the serialized GrammarSpec already deployed."
    },
    "b": {
      "type": "object",
      "description": "Candidate grammar: the serialized GrammarSpec proposed to replace it."
    },
    "corpus": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Inputs to replay through both grammars, comparing acceptance and tree shape."
    },
    "options": {
      "type": "object",
      "description": "TabnasOptions applied to both instances."
    },
    "depth": {
      "type": "integer",
      "minimum": 0,
      "maximum": 5,
      "description": "Derivation depth for generated inputs (default 3)."
    }
  },
  "required": [
    "a",
    "b"
  ],
  "additionalProperties": false
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 7개
검증됨버전이 기록되지 않음도구 7개
검증됨버전이 기록되지 않음도구 7개
검증됨버전이 기록되지 않음도구 7개
검증됨버전이 기록되지 않음도구 7개
검증됨버전이 기록되지 않음도구 7개
검증됨버전이 기록되지 않음도구 7개