MCP ExplorerExplorer

Lapis Mcp

@leafoon a year ago
3 MIT
FreeCommunity
AI Systems
MCP server for Lapis apps

Overview

What is Lapis Mcp

Lapis-MCP is a Model Context Protocol (MCP) server designed for Lapis applications, providing AI agents with information about the current Lapis application.

Use cases

Use cases for Lapis-MCP include providing AI agents with real-time information about application routes, models, and schemas, facilitating better interaction and automation in web applications.

How to use

To use Lapis-MCP, install it via luarocks with the command ‘luarocks install lapis-mcp’, and then start the server by running ‘lapis mcp’. This will initiate an MCP server that communicates through stdin/stdout.

Key features

Key features of Lapis-MCP include listing all named routes and their URLs, listing all models/database tables in the application, and showing detailed schema for specific models.

Where to use

Lapis-MCP can be used in web development environments where Lapis framework is employed, particularly in applications that require AI integration.

Content

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

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers