
klerk mcp
A Klerk plugin to expose a Klerk-based application as an Model Context Protocol (MCP) API
Repository Info
About This Server
A Klerk plugin to expose a Klerk-based application as an Model Context Protocol (MCP) API
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Klerk MCP (Model Context Protocol)
A Klerk plugin to expose a Klerk-based application as a Model Context Protocol (MCP) API.
Overview
The Klerk MCP plugin allows you to expose your Klerk-based application as an MCP API, enabling seamless integration with other systems and services.
Getting Started
Prerequisites
- JDK 17 or higher
- Gradle 8.0 or higher (or use the included Gradle wrapper)
Building the Project
# On Windows
.\gradlew build
# On Linux/macOS
./gradlew build
Running Tests
# On Windows
.\gradlew test
# On Linux/macOS
./gradlew test
Usage
Add the Klerk MCP plugin to your Klerk-based application:
import com.github.klerkframework.mcp.McpPlugin
// Initialize the MCP plugin
val mcpPlugin = McpPlugin()
mcpPlugin.initialize()
// Start the MCP server
mcpPlugin.startServer(port = 8080, host = "0.0.0.0")
// Register handlers for your models
mcpPlugin.registerHandler("YourModelType", yourModelHandler)
// When shutting down your application
mcpPlugin.stopServer()
Features
- Expose Klerk models via a standardized API
- Query models with filtering and pagination
- Execute commands on models
- Retrieve individual models by ID
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
Quick Start
Clone the repository
git clone https://github.com/schedin/klerk-mcpInstall dependencies
cd klerk-mcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.