Overview
What is FastMCP-Scala?
FastMCP-Scala is a high-level, developer-friendly library for building Model Context Protocol (MCP) servers using Scala 3.
How to use FastMCP-Scala?
To use FastMCP-Scala, add it to your build.sbt file and define annotated tools, prompts, and resources in your Scala code. You can run examples using scala-cli or integrate it with Claude Desktop.
Key features of FastMCP-Scala?
- ZIO-based effect handling and async support
- Annotation-driven API for easy tool and resource definition
- Automatic JSON Schema and handler generation via Scala 3 macros
- Seamless integration with the Java MCP SDK
Use cases of FastMCP-Scala?
- Building custom MCP servers for various applications
- Creating tools and resources for data processing
- Integrating with existing Java MCP SDK projects
FAQ from FastMCP-Scala?
- Is FastMCP-Scala suitable for production use?
FastMCP-Scala is designed for development and demonstration purposes; ensure to test thoroughly before production use.
- How do I install FastMCP-Scala?
Add the library dependency to your
build.sbtfile as shown in the documentation.
- Can I use FastMCP-Scala with other Scala versions?
FastMCP-Scala is built for Scala 3.6.4; compatibility with other versions may vary.