kotlin-mcp-server-generator

Installation
Summary

Generate production-ready Kotlin MCP server projects with Gradle, official SDK, and typed tools.

  • Scaffolds complete project structure with build.gradle.kts, package layout, and MCP server configuration using io.modelcontextprotocol:kotlin-sdk
  • Includes 2–3 sample tools with JSON schema definitions, typed inputs/outputs, and error handling patterns
  • Provides coroutine-based server setup with stdio transport, environment variable configuration, and kotlin-logging integration
  • Includes test templates using kotlinx-coroutines-test and README with build, run, and development instructions
SKILL.md

Kotlin MCP Server Project Generator

Generate a complete, production-ready Model Context Protocol (MCP) server project in Kotlin.

Project Requirements

You will create a Kotlin MCP server with:

  1. Project Structure: Gradle-based Kotlin project layout
  2. Dependencies: Official MCP SDK, Ktor, and kotlinx libraries
  3. Server Setup: Configured MCP server with transports
  4. Tools: At least 2-3 useful tools with typed inputs/outputs
  5. Error Handling: Proper exception handling and validation
  6. Documentation: README with setup and usage instructions
  7. Testing: Basic test structure with coroutines

Template Structure

Related skills

More from github/awesome-copilot

Installs
8.4K
GitHub Stars
32.7K
First Seen
Feb 25, 2026