lapis-mcp

leafo/lapis-mcp

3.3

If you are the rightful owner of lapis-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Lapis MCP is a Model Context Protocol server designed for the Lapis web framework, providing AI agents with detailed information about the current Lapis application.

Lapis MCP

A Model Context Protocol (MCP) server for the Lapis web framework that provides information about the current Lapis application to AI agents.

Features

  • List all named routes and their URLs
  • List all models/database tables in your application
  • Show detailed schema for specific models

Installation

luarocks install lapis-mcp

Usage

Start the MCP server by running:

lapis mcp

This will start an MCP server that communicates over stdin/stdout, which can be connected to by any MCP client.

Commands

The MCP server provides the following tools:

  • routes - Lists all named routes in your Lapis application with their URL patterns
  • models - Lists all models/database tables defined in your application
  • schema <model_name> - Shows the database schema for a specific model

License

MIT