Skip to main content
Glama

@yaazhicode/mcp

Official Model Context Protocol server for YaazhiCode 0.1.0. It gives compatible AI clients authoritative Tamil language knowledge, verified examples, static validation, structural analysis, and diagnostic explanations.

What it does

  • 18 tools for language facts, examples, validation, explanation, analysis, and conservative corrections.

  • 8 resources (yaazhicode://…) for overview, specification, keywords, syntax, standard library, examples, diagnostics, and version.

  • 6 prompts for learning, writing, explaining, debugging, scaffolding, and teaching YaazhiCode.

  • Two transports: local stdio (default) and remote Streamable HTTP (/mcp, plus /healthz).

  • Offline, versioned knowledge generated from the read-only language repository and the published yaazhicode@0.1.0 package.

  • No code execution. run_yaazhicode_code is deliberately not implemented.

Related MCP server: cint MCP Server

Why no execution tool

The public web execution endpoint restricts capabilities but runs interpreter code in-process; its Promise.race timeout cannot interrupt a synchronous interpreter loop. Submitting user code to a third-party service also raises privacy concerns. A future execution tool should use a worker thread that can be terminated, explicit opt-in, empty filesystem roots, captured stdio only, and no secrets.

Quick start

git clone https://github.com/sugenthar/yaazhicode-mcp.git
cd yaazhicode-mcp
npm install
npm run build
npm run start:stdio

Point your MCP client at node dist/transports/cli.js --stdio in this directory.

Remote HTTP (Streamable HTTP transport)

PORT=3000 HOST=127.0.0.1 npm run start:http

Endpoint: POST /mcp (Streamable HTTP), GET /healthz.

OpenCode integration

Add to your .opencode/config.json:

{
  "mcp": {
    "yaazhicode": {
      "command": "node",
      "args": ["dist/transports/cli.js", "--stdio"],
      "cwd": "/path/to/yaazhicode-mcp"
    }
  }
}

Or for HTTP transport:

{
  "mcp": {
    "yaazhicode": {
      "url": "http://127.0.0.1:3000/mcp"
    }
  }
}

Scripts

Script

Purpose

npm run build

Compile TypeScript to dist/.

npm run typecheck

Type-check without emitting.

npm test

Unit + integration tests (stdio and HTTP).

npm run sync:knowledge

Regenerate offline knowledge from the read-only reference projects.

npm run check:knowledge

Fail if committed snapshots are stale.

npm run verify:examples

Revalidate every captured example with the installed compiler.

Documentation

Security

  • Body, code, prompt, and result size limits

  • In-memory rate limiting (configurable per-minute)

  • Host/origin allow-lists for HTTP transport

  • Session caps and idle timeouts

  • Safe diagnostics (no source text echoed)

  • No code logging

  • No code execution capability

See Security documentation for details.

Publishing and hosting

This repository contains the source code for the @yaazhicode/mcp npm package. Source availability on GitHub does not imply an npm publish has occurred. The package is published separately with explicit approval. Likewise, public hosting (Render, Vercel, Docker, etc.) is a separate deployment decision. See deployment docs and deploy/ for configuration examples.

License

MIT. See LICENSE.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables AI coding agents to perform Lean 4 formal verification, navigate project symbols offline, and inspect C FFI bindings.
      5
      4
      Apache 2.0
    • A
      license
      A
      quality
      C
      maintenance
      Gives coding agents in-memory access to the language's specifications, diagnostic and fault catalogue, verified code recipes, and university curriculum, plus toolchain tools to check, evaluate, and test source when a local binary is installed.
      8
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI coding agents to query locally installed language servers over stdio MCP for read-only code intelligence, including definitions, references, implementations, hover types, symbols, and diagnostics.
      9 npm
      1
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to run deterministic database intelligence tasks including natural-language-to-SQL synthesis, AST SQL auditing and optimization, schema migration diffing, SQL transpilation, index and normalization advice, PII scrubbing, fixture generation, connection-pool sizing, isolation-hazard auditing, and ORM model compilation over Streamable HTTP or stdio.
      1
      12
      MIT