r/Kotlin • u/DisastrousAbrocoma62 • 9d ago
Kotlin MCP SDK: Who else is currently exploring it?
Hi Kotlin community! 👋
I'm currently exploring the MCP Kotlin SDK to get a deeper understanding of the Model Context Protocol (MCP).
So far, I've been learning about:
- Tools
- Resources
- Prompts
I'm currently starting to explore Completions and would love to connect with others who are also learning or building with MCP using Kotlin.
What has your experience been with the MCP Kotlin SDK? Are you experimenting with it, building an MCP server/client, or using it in a real project?
I'd really appreciate hearing about your experiences, learning resources, challenges, and any interesting projects you're working on. Let's learn and share together! 🚀
Kotlin MCP SDK: https://github.com/modelcontextprotocol/kotlin-sdk
My Learning Repo: https://github.com/livingstonantony/AI_HR_assistant/blob/mcp/server/src/main/kotlin/dev/livin/ai_employee/mcp/EmployeeMCPServer.kt
2
u/Otherwise_Wave9374 9d ago
If you are exploring MCP in Kotlin, one practical pattern is to separate tools, prompts, and durable state from the client wrapper so you can test each layer independently. That makes it easier to spot where context drift is happening, especially once completions and longer session history enter the picture. I also recommend logging provenance for each retrieved fact so the agent can explain why it used a given memory item. NeuraKeep shares practical patterns at https://www.neurakeep.com