json-rpc 2.0.com
json-rpc 2.0.com logo

JSON-RPC 2.0

Type-safe JSON-RPC 2.0 server implementation in Scala 3 that enables structured communication between assistants and bac...

Created byApr 22, 2025

MCP-scala

Model Context Protocol server written in Scala 3

Development stage

This software is currently ALPHA state.
  • Automatic derivation of JSON Schema
  • Define your tool
  • Text content part
  • Other content parts
  • Notification handling
  • Capability handling
  • stdio transport
  • HTTP transport
  • Authorization feature
This implementation needs your attention and contribution.
Feel free to open Issue / PR to contribute this project.

Demo

First, build server into JS:
Then, utilize server in your MCP client:
You can run some tool:
  • randomNumber
  • iota
  • sum

Implement your tool

See StdioMain.scala for details.

MCP-scala

Model Context Protocol server written in Scala 3

Development stage

This software is currently ALPHA state.
  • Automatic derivation of JSON Schema
  • Define your tool
  • Text content part
  • Other content parts
  • Notification handling
  • Capability handling
  • stdio transport
  • HTTP transport
  • Authorization feature
This implementation needs your attention and contribution.
Feel free to open Issue / PR to contribute this project.

Demo

First, build server into JS:
Then, utilize server in your MCP client:
You can run some tool:
  • randomNumber
  • iota
  • sum

Implement your tool

See StdioMain.scala for details.