Kotoba (言葉)
MCP server framework for pleme-io applications. Eliminates boilerplate when building MCP servers with rmcp.
What It Provides
| Module | Purpose |
|---|---|
prelude |
Re-exports all rmcp types needed in every MCP server |
response |
json_ok, json_err, json_result — consistent JSON formatting |
status |
StatusInfo, UptimeTracker — standardized health tool |
error |
McpError — common error type with JSON serialization |
server_info() |
Create ServerInfo with tools enabled |
run() |
Standard stdio server entry point |
Usage
[]
= { = "https://github.com/pleme-io/kotoba" }
use *;
async
Before/After
Before (every project):
use ;
pub async ..>
After (with kotoba):
use *;
// json_ok, json_err, json_result, all rmcp types — already imported
Build