Skip to main content
ClaudeWave
MCP ServersRegistry oficial0 estrellas0 forksJavaScriptMITActualizado today
ClaudeWave Trust Score
77/100
Trusted
Passed
  • Open-source license (MIT)
  • Actively maintained (<30d)
  • Documented (README)
Flags
  • !No description
Last scanned: 8/21/2026
Install in Claude Code / Claude Desktop
Method: NPX · --yes
Claude Code CLI
claude mcp add mcp -- npx -y --yes
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": ["-y", "--yes"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Casos de uso

Resumen de MCP Servers

# tabnas/mcp

The tabnas agent tooling: **one TypeScript codebase, two front-ends** —
an [MCP](https://modelcontextprotocol.io) server (stdio) and the unified
`tabnas` CLI — sharing a single core (`ts/src/core.ts`) so the two can
never disagree. For each operation the CLI's `--json` output and the MCP
tool result are **byte-identical**, and the test suite holds them to it.

Published as `@tabnas/mcp`. This repo is TypeScript-only: it is tooling
over the engine, not a parity package, so there is no Go port.

## Install

```bash
npm install -g @tabnas/mcp     # the `tabnas` CLI
npx --yes @tabnas/mcp          # run the MCP server directly (stdio)
```

MCP client configuration (stdio):

```json
{
  "mcpServers": {
    "tabnas": {
      "command": "npx",
      "args": ["--yes", "@tabnas/mcp@<x.y.z>", "mcp"]
    }
  }
}
```

Fill in `<x.y.z>` with the current version — `npm view @tabnas/mcp
version`. This README does not name it: a repo cannot carry an exact pin
of its own published version, because the commit that updates it becomes
the next release's content, leaving it one release behind forever.

The server is started by the `mcp` subcommand of the CLI
(`tabnas mcp`), which is exactly what the skills package's `mcp.json`
invokes as `npx --yes @tabnas/mcp@<x.y.z> mcp`. (`--yes` matters: on a
cache miss `npx` would otherwise prompt on the stdin the MCP transport
owns. Pin an exact version so the tools cannot drift under an installed
client — `skills/mcp.json` carries the real one, written from the
registry by its `tools/sync-mcp-pin.js` and checked by
`tools/validate.js --online`.)

## The seven tools

| Tool | Answers | Result |
| --- | --- | --- |
| `parse` | does this input parse, and to what tree? | `{ok:true, tree}` \| `{ok:false, diagnostic}` |
| `validate_grammar` | is this serialized GrammarSpec valid? | `{ok:true, v}` \| `{ok:false, errors:[{path,message}]}` |
| `explain_parse_error` | why did this parse fail? | `{failed:false}` \| `{failed:true, diagnostic, registry}` |
| `test_grammar` | do these TSV fixtures pass? | `{pass, fail, rows:[{row,input,expected,got,ok}]}` |
| `list_plugins` | what grammar plugins exist? | `{plugins:[...]}` |
| `describe_plugin` | one plugin's full descriptor | the `tabnas.plugin.json` object |
| `compare_grammars` | does a grammar change still accept what the old one accepted, and build the same trees? | `{normalForm, proven[], observed[], changes[], counterexamples[], confidence, why}` |

Notes on the contracts:

- Every operation builds a **fresh engine instance** per call. `parse`
  applies `options` first, then `grammar`. With no grammar the instance
  is exactly what `new Tabnas()` gives — the bare engine defines no
  rules, so every input yields an undefined tree (serialized as
  `{"ok":true}`).
- A `grammar` argument is **validated before it is used**, by every
  operation that accepts one; an invalid grammar is rejected with the
  `validate_grammar` error shape `{ok:false, errors:[{path,message}]}`.
- `validate_grammar` layers: an ADR-10 security scan (below), structural
  validation against the bundled `grammar.schema.json` (Ajv,
  draft 2020-12), then an engine load in a fresh instance whose thrown
  message becomes the error. `v` is the grammar's declared builtin
  config-schema version (absent means 1).
- **Security (ADR-10):** a serialized grammar and its options are data,
  never code. A firewall runs first on every grammar-accepting op and on
  request options, rejecting: any own key named `__proto__`,
  `constructor`, or `prototype` anywhere in the tree (prototype-pollution
  defense — the engine's grammar merge has no `__proto__` guard); a `ref`
  key (live functions are not JSON); any function reference that is not a
  `$`-suffixed engine builtin; a `plugins` key, whether a request option
  or inside `grammar.options` (a plugin is live code); and grammars over
  5000 rules (a CPU bound). "Validate this grammar" never becomes "run
  this code", or "pollute this process".
- A non-diagnostic engine throw (e.g. `options.parser.start` set to a
  non-function) is caught and returned as the same clean
  `{ok:false, errors:[{path:"",message}]}` shape, so the CLI and the MCP
  tool agree.
- `explain_parse_error` joins the diagnostic with the bundled error-code
  registry entry (`{code, message, hint}`); `registry` is `null` for a
  code the registry does not know (e.g. a plugin-declared code).
- `test_grammar` takes TSV **content** in 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>`. Columns default to positions 0 and 1;
  `options.inputCol` / `options.expectedCol` select by position or
  header name. Specs over 10000 rows are refused.

MCP **resources** (served verbatim from the bundled [`data/`](data)):
`tabnas://schema/grammar`, `tabnas://schema/diagnostic`,
`tabnas://errors`, `tabnas://plugins`, `tabnas://divergence`.

## CLI

```
tabnas parse    [file|-] [--grammar g.json] [--json]
tabnas validate --grammar g.json [--json]
tabnas diagnose [file|-] [--grammar g.json] [--json]
tabnas test     --spec fixtures.tsv [--grammar g.json] [--json]
tabnas plugins  [name] [--json]
tabnas compare  --a old.json --b new.json [--corpus dir|file] [--depth n] [--json]
tabnas mcp                                        # run the MCP server (stdio)
```

Input comes from `file`, or stdin when the argument is `-` or absent.
The CLI never touches the network. `tabnas mcp` starts the stdio MCP
server (the same server as `npx @tabnas/mcp`); it speaks JSON-RPC on
stdout and prints nothing else there.

`--json` prints **exactly** the core result JSON — the same bytes the
MCP tool returns for the same request (stable key order; the golden
contract, enforced by `ts/test/golden.test.js`). Without `--json` you
get a readable rendering; a parse failure prints the engine's own
rendered error message.

Exit codes:

| Code | Meaning |
| --- | --- |
| 0 | success: parse succeeded / grammar valid / all fixture rows passed |
| 1 | the operation said no: parse failure, invalid grammar, fixture failures, unknown plugin |
| 2 | usage error: unknown flags or command, missing/unreadable files, malformed grammar JSON |

## Passing a grammar that isn't already a GrammarSpec

Every tool takes a **serialized GrammarSpec** — pure JSON. It does not take
ABNF, EBNF, GBNF or jsonic source, and it never will: compiling those means
running a compiler, and the tools' one hard rule is that a grammar is data,
never code (ADR-10). Compile first, then pass the result.

```js
const { abnfConvert, toPureSpec } = require('@tabnas/abnf')

const spec = toPureSpec(abnfConvert(abnfSource, { builtins: true }))
// -> { options, rule, v, meta } — validates clean, safe to send
```

**Use `toPureSpec`.** It is the function for this, and the two obvious
alternatives are both wrong:

- `abnfCompile()` returns **jsonic text**, not an object. Useful for writing
  a grammar file; not what a tool argument wants.
- `abnfConvert()` alone returns a spec carrying `ref` (empty, when converted
  with `builtins: true`) and mark fields. The firewall rejects the *presence*
  of `ref`, not just its contents — deliberately, since "empty enough" is not
  a property worth reasoning about at a security boundary — and `m` marks are
  not part of the serialized form. `toPureSpec` strips both and stamps `v`.

`toRecognitionSpec` is the same thing for a grammar that only needs to decide
accept/reject, without the tree-building builtins.

The equivalent for the other front-ends is `tabnas parse --grammar g.json`,
where `g.json` is whatever your build step wrote.

## Grammar compatibility (`compare`)

Two questions, reported separately, because they fail differently:

1. **Acceptance** — does the candidate still accept what the baseline
   accepted?
2. **Output** — for inputs both accept, is the resulting tree the same?

The second is the one users feel. A change that still accepts every
historical document but reshapes the tree silently breaks every downstream
consumer, and an acceptance-only test reports success.

**The report carries evidence and confidence, never a bare verdict.** There
is deliberately no `compatible: true` field. Language inclusion is
undecidable in general, so a tool that printed one would eventually be wrong
in production:

- `proven[]` — what was established statically, and on what basis. Anything
  outside the decidable subset is `not-proven`, which is a statement about
  this tool, **not** a claim that the grammars are incompatible.
- `observed[]` — what actually ran, and how much of it.
- `changes[]` / `counterexamples[]` — concrete differences, with inputs.
- `confidence` + `why` — how much weight the *absence* of findings can bear.
  `confidence: "low"` with a stated reason is a **successful** run.

The check that earns its keep is alternate **ordering**. Alternates are
first-match-wins, so one inserted earlier can shadow a later one and narrow
the accepted language while a set comparison calls it an addition. `compare`
walks positions, not membership, and reports a shadowed alternate that used
to be reachable.

`--corpus` takes a `.tsv` fixture file or a directory of them, loaded through
`@tabnas/support` — the same loader the fixture runners use. Real inputs are
the only tier that measures what your documents actually do:

```bash
tabnas compare --a v1.json --b v2.json --corpus ../json/test/spec
```

Exit code is 1 when any change is found, so it works as a release gate.

## The hosted endpoint

`mcp.tabnas.dev` serves the same seven tools over streamable HTTP
(`POST /mcp`, plus `GET /health` and `GET /.well-known/mcp`), for agents
that cannot run `npx`. **Local stdio stays the recommended path** — it is
free, private, reproducible and unlimited.

The hosted service is the same core, so it answers identically; it is
also bounded, because it parses attacker-controlled text on shared
infrastructure. A 256 KB 

Lo que la gente pregunta sobre mcp

¿Qué es tabnas/mcp?

+

tabnas/mcp es mcp servers para el ecosistema de Claude AI con 0 estrellas en GitHub.

¿Cómo se instala mcp?

+

Puedes instalar mcp clonando el repositorio (https://github.com/tabnas/mcp) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.

¿Es seguro usar tabnas/mcp?

+

Nuestro agente de seguridad ha analizado tabnas/mcp y le ha asignado un Trust Score de 77/100 (tier: Trusted). Revisa el desglose completo de comprobaciones superadas y flags en esta página.

¿Quién mantiene tabnas/mcp?

+

tabnas/mcp es mantenido por tabnas. La última actividad registrada en GitHub es del 2026-08-21, con 1 issues abiertos.

¿Hay alternativas a mcp?

+

Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.

Despliega mcp en tu cloud

Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.

¿Mantienes este repo? Añade un badge a tu README

Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.

Featured on ClaudeWave: tabnas/mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/tabnas-mcp)](https://claudewave.com/repo/tabnas-mcp)
<a href="https://claudewave.com/repo/tabnas-mcp"><img src="https://claudewave.com/api/badge/tabnas-mcp" alt="Featured on ClaudeWave: tabnas/mcp" width="320" height="64" /></a>

Más MCP Servers

Alternativas a mcp