Documentation
¶
Overview ¶
The custom-method example demonstrates registering and calling a custom JSON-RPC method that is not part of the standard MCP spec.
The server registers a "latin/translate" method that translates simple English phrases into Latin. A client connects over an in-memory transport, calls the custom method, and prints the result.
Click to show internal directories.
Click to hide internal directories.