convez.ai
MCP ServerDevOps & InfraestruturaAvançado
NELAIA-AI

TAYNI MCP Server

NELAIA-AI/tayni-mcp

Compilador TAYNI como MCP Server para agentes Claude

Ver no GitHub
InicialPluginScore · de 0 a 100

MCP Server que permite agentes de IA compilar código TAYNI para executáveis nativos em múltiplas plataformas. Integra-se com Claude Desktop e fornece ferramentas para compilação, validação de sintaxe e exploração da linguagem TAYNI.

Instalação

$npx convez-ai NELAIA-AI/tayni-mcp

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
0
Forks
0
Acompanhando
0
Saúde
37%
Último commit
há 5 meses
Versão
—
Issues abertas
0
Contribuidores
1

Casos de uso

  • Agentes de IA gerando e compilando código TAYNI automaticamente
  • Validação de sintaxe TAYNI sem compilação completa
  • Exploração de recursos e exemplos da linguagem TAYNI

Veredito

Ferramenta altamente especializada para ecossistema TAYNI. Útil apenas se você trabalha com essa linguagem; demanda instalação do compilador TAYNI-c e conhecimento técnico para integração.

README

A tradução para o português deste README ainda está na fila.

TAYNI MCP Server

MCP (Model Context Protocol) server that enables AI agents to compile TAYNI code to native executables.

Installation

From Source

cd TAYNI-mcp
cargo build --release

The binary will be at target/release/TAYNI-mcp (or TAYNI-mcp.exe on Windows).

Prerequisites

  • The TAYNI-c compiler must be installed and available in PATH
  • Or set the TAYNI_COMPILER environment variable to the compiler path

Usage with Claude Desktop

Add to your Claude Desktop configuration (claude_desktop_config.json):

{
  "mcpServers": {
    "TAYNI": {
      "command": "TAYNI-mcp",
      "args": []
    }
  }
}

Or with a custom compiler path:

{
  "mcpServers": {
    "TAYNI": {
      "command": "TAYNI-mcp",
      "args": [],
      "env": {
        "TAYNI_COMPILER": "/path/to/TAYNI-c"
      }
    }
  }
}

Available Tools

TAYNI_compile

Compile TAYNI source code to a native executable.

Input:

  • source (string, required): TAYNI source code
  • target (string, optional): Target platform - windows, linux, macos, macos-arm64 (default: linux)
  • output_format (string, optional): Output format - base64 (default: base64)

Output:

{
  "success": true,
  "binary_base64": "TVqQAAMAAAA...",
  "binary_size": 2048,
  "format": "ELF",
  "warnings": []
}

TAYNI_check

Check TAYNI source code syntax without compiling.

Input:

  • source (string, required): TAYNI source code to check

Output:

{
  "valid": true,
  "nodes": 5,
  "operators_used": ["PRT", "ADD"],
  "capabilities_required": []
}

TAYNI_info

Get information about TAYNI language and compiler.

Input:

  • query (string, required): One of version, operators, capabilities, grammar, examples

Output: Structured information based on query type.

TAYNI_example

Get example TAYNI code for a specific task.

Input:

  • task (string, required): Description of what the program should do

Output:

{
  "source": ".msg: \"Hello World!\\n\"\n.len: 13\n.out: PRT .msg .len",
  "description": "Prints 'Hello World!' to stdout",
  "operators_used": ["PRT"],
  "binary_size_estimate": "~2KB"
}

Protocol

The server communicates via JSON-RPC 2.0 over stdin/stdout, following the MCP specification.

Supported Methods

  • initialize - Initialize the MCP session
  • initialized - Notification that initialization is complete
  • tools/list - List available tools
  • tools/call - Call a tool
  • ping - Health check

Example Session

# Start the server
echo '{"jsonrpc":"2.0","method":"initialize","params":{},"id":1}' | TAYNI-mcp

# List tools
echo '{"jsonrpc":"2.0","method":"tools/list","params":{},"id":2}' | TAYNI-mcp

# Compile code
echo '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"TAYNI_compile","arguments":{"source":".msg: \"Hi\"\\n.out: PRT .msg 2"}},"id":3}' | TAYNI-mcp

Development

# Run in development
cargo run

# Run tests
cargo test

# Build release
cargo build --release

License

MIT

Ver o original no GitHub

Bom para