Loading Screen

Loading

MCP vocabulary server

Agents and tools can add flashcards for a signed-in user through a JSON-RPC endpoint. Authenticate with a DRF Token from rest-auth login.

Endpoint

POST https://www.memory-translator.com/mcp/rpc/

Authorization: Token <your-token>

Tools

  • vocabulary_add — text_from, text_to, text_from_lang, text_to_lang
  • vocabulary_list — optional limit
  • vocabulary_delete — id

Example: list tools

{
{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}
    

Example: add a word

{
{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{
  "name":"vocabulary_add",
  "arguments":{
    "text_from":"hello",
    "text_to":"hallo",
    "text_from_lang":"en",
    "text_to_lang":"de"
  }
}}
    

REST API overview