Mobile 28 installs

Kotlin MCP Server Project Generator

by github/awesome-copilot

Generate a complete Kotlin MCP server project with proper structure, dependencies, and implementation using the official io.modelcontextprotocol:kotlin-sdk…

Skill content

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

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:

- Project Structure: Gradle-based Kotlin project layout

- Dependencies: Official MCP SDK, Ktor, and kotlinx libraries

- Server Setup: Configured MCP server with transports

- Tools: At least 2-3 useful tools with typed inputs/outputs

- Error Handling: Proper exception handling and validation

- Documentation: README with setup and usage instructions

- Testing: Basic test structure with coroutines

Template Structure