SK

sebastianaigner/kotlin-mcp-hue-light-sample

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

20 stars 4 forks 품질 21 트렌드 10

이 repo는이 YouTube 비디오에 대한 보충 코드를 포함합니다.

개요

이 repo는이 YouTube 비디오에 대한 보충 코드를 포함합니다. Model Context Protocol Kotlin SDK(https://github.com/modelcontextprotocol/kotlin-sdk)])는 Claude Desktop과 같은 LLM 클라이언트 간의 통합을 구축하기 위해 쉽게 만들어 소프트웨어 또는 하드웨어인지 여부를 결정합니다! 연습에서 볼 수 있습니다. Sebastian Aigner가 Kotlin에 의해 구동되는 Hue Smart Lights 및 Claude Desktop와의 통합을 구축하십시오. 우리는 Ktor에서 Junie로 일할 때 더 많은 기계 작업을 위임하고, MCP의 기본 버전을 Kotlin의 공식 SDK를 사용하여 수행 할 때 인터페이스를 정의합니다. 우리는 MCP 검사기를 사용하여 우리의 응용 프로그램을 탐구하고 디버그하고 최종 구성을 설정하여 Claude 데스크톱과 Kotlin Gradle 응용 프로그램을 통합합니다. 끝에서, 우리는 자연적인 언어로 똑똑한 빛을 통제할 수 있는 각자 충분한 MCP 서버가 있습니다! Junie, JetBrains의 코딩 에이전트 : https://www.jetbrains.

개요(AI 번역)

이 repo는이 YouTube 비디오에 대한 보충 코드를 포함합니다.

Model Context Protocol Kotlin SDK(https://github.com/modelcontextprotocol/kotlin-sdk)])는 Claude Desktop과 같은 LLM 클라이언트 간의 통합을 구축하기 위해 쉽게 만들어 소프트웨어 또는 하드웨어인지 여부를 결정합니다! 연습에서 볼 수 있습니다. Sebastian Aigner가 Kotlin에 의해 구동되는 Hue Smart Lights 및 Claude Desktop와의 통합을 구축하십시오. 우리는 Ktor에서 Junie로 일할 때 더 많은 기계 작업을 위임하고, MCP의 기본 버전을 Kotlin의 공식 SDK를 사용하여 수행 할 때 인터페이스를 정의합니다. 우리는 MCP 검사기를 사용하여 우리의 응용 프로그램을 탐구하고 디버그하고 최종 구성을 설정하여 Claude 데스크톱과 Kotlin Gradle 응용 프로그램을 통합합니다. 끝에서, 우리는 자연적인 언어로 똑똑한 빛을 통제할 수 있는 각자 충분한 MCP 서버가 있습니다!

Junie, JetBrains의 코딩 에이전트 : https://www.jetbrains.com/junie/

JetBrains IDE용 MCP 서버 플러그인: https://plugins.jetbrains.com/plugin/26071-mcp-server

MCP 검사기: https://github.com/modelcontextprotocol/inspector

실행하는 방법

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

🎥 Building MCP with Kotlin: Claude Desktop Controls my Smart Home Lights!

This repo contains supplemental code for this YouTube video.

The Model Context Protocol Kotlin SDK (https://github.com/modelcontextprotocol/kotlin-sdk) makes it easy for you to build integrations between LLM clients like Claude Desktop and your own applications, whether that’s software or hardware! Let’s see it in practice: Join Sebastian Aigner building an integration between Hue Smart Lights and Claude Desktop, powered entirely by Kotlin. We walk through defining our interfaces, delegating some of the more mechanical tasks when working with Ktor to Junie, and then implement a basic version of an MCP using the official SDK for Kotlin. We use the MCP inspector to explore and debug our application, and finally integrate the Kotlin Gradle application with Claude Desktop by setting up the final configuration. In the end, we have a self-sufficient MCP server that can control smart lights with natural language!

Junie, the coding agent by JetBrains: https://www.jetbrains.com/junie/

MCP Server Plugin for JetBrains IDEs: https://plugins.jetbrains.com/plugin/26071-mcp-server

MCP inspector: https://github.com/modelcontextprotocol/inspector

How to run

Run the installDist Gradle task, and point your MCP client to the generated startup script in build/install/huelight-mcp/bin.

GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →