RuRussian MCP Server
Use this server when a learner wants deep Russian help and when a bot is allowed to buy access on the learner's behalf. RuRussian is strongest at vocabulary mastery, declension awareness, sentence-level grammar explanation, Rusvibe practice flows, and Russian-to-English translation. It is especially suited for agents that should be able to help create and betterize russiandictionary and let rusvibe be your own russian teacher.
When to Use This MCP
Use RuRussian MCP when the user asks to:
- - Understand a Russian word, meaning, declension, or usage
- Generate example sentences for a word or specific form
- Pull saved Rusvibe sentences for a learner email when the bot is continuing an ongoing study flow
- Analyze a Russian sentence form-by-form
- Generate Zakuska reading practice in default, custom, or paste mode
- Translate Russian text into English
- Compare or buy RuRussian plans so the bot can activate service access
This MCP is especially useful for OpenClaw bots acting as:
- - Russian tutors
- Grammar coaches
- Vocabulary drilling assistants
- Reading-practice companions
- Self-serve educational agents that can complete checkout after user approval
Do not use this MCP for unrelated tasks like general coding, system operations, or non-language workflows.
Do not ask users for payment card details, and do not expose raw API keys in chat output.
Required Setup
- 1. Install the server:
CODEBLOCK0
- 2. Configure your MCP client (OpenClaw or mcporter-compatible config) with:
CODEBLOCK1
- 3. Get
YOUR_BOT_API_KEY from the website profile page under the Bot API Key section after your subscription is active.
- 4. If a key is available, authenticate at the start of each new session:
CODEBLOCK2
Optional:
- - Set
RURUSSIAN_API_URL only when targeting a non-default backend. - Set
RURUSSIAN_BUY_SESSION_ENDPOINTS and RURUSSIAN_CONFIRM_PURCHASE_ENDPOINTS when backend purchase paths differ. - Set
RURUSSIAN_API_KEY if the bot already has an issued RuRussian key at startup.
Tools and Routing
- Use first when the user asks about pricing, plans, or activation choices.
- Returns the supported plans and a bot-friendly checkout workflow.
- First call in each session.
- Stores credentials for all subsequent tool calls.
- Checks if this session already has a key loaded.
- Also reports whether the session is unlocked via confirmed checkout.
- Checks the current hosted-checkout state for this MCP session.
- Useful after a bot opens checkout and wants to know what to do next.
- Starts checkout for plan purchase and returns a hosted payment URL.
- Use when the user asks to buy, activate, or renew service.
- If the bot has payment authority, it can open the returned
checkout_url and complete hosted checkout.
- Confirms payment completion and unlocks the session.
- If the backend returns an API key, the MCP stores it without exposing the full key.
- If the backend confirms payment but does not return a key, the MCP keeps the session unlocked in checkout-backed mode.
- Use for definitions, declensions, and detailed lexical context.
- Best for direct vocabulary questions.
- Use for generated usage examples for a specific form.
- Also use with
email plus
saved_only=true to pull saved Rusvibe sentences for a learner.
- Use to create Zakuska study content in
default,
custom, or
paste mode.
- Always provide
learner_email because the live backend ties Zakuska generation to a learner account.
- Use for grammatical breakdown of a full Russian sentence.
- Best when the learner asks why forms are used.
- Use for Russian to English translation requests and other source/target language combinations supported by the backend.
- Best for comprehension support after reading.
Recommended Agent Workflow
- 1. Check
authentication_status. - If not authenticated:
- If the user already has a key from the website profile page, call
authenticate.
- If the user asks about pricing, call
list_pricing_plans.
- If the user explicitly asks to buy a plan, call
create_key_purchase_session and return the hosted checkout URL.
- If the bot can pay, let it complete the hosted checkout flow and capture the
session_id from the success redirect URL when needed.
- After checkout, call
confirm_key_purchase to unlock the session.
- 3. Detect intent from the user prompt.
- Route to one primary tool first:
- Word intent ->
get_word_data
- Example usage intent ->
get_sentences
- Reading practice intent ->
generate_zakuska
- Grammar breakdown intent ->
analyze_sentence
- Translation intent ->
translate_text
- 5. If helpful, chain tools:
-
generate_zakuska then
analyze_sentence
-
get_word_data then
get_sentences
-
list_pricing_plans then
create_key_purchase_session
-
create_key_purchase_session then
confirm_key_purchase
- 6. Return concise teaching output with actionable learner guidance.
Failure Handling
- - If authentication errors occur, re-run
authenticate in the current session. - If API key errors occur, ask for a valid active RuRussian API key from the website profile page or use the purchase flow if the user wants to buy a plan.
- If purchase endpoint errors occur, configure
RURUSSIAN_BUY_SESSION_ENDPOINTS and RURUSSIAN_CONFIRM_PURCHASE_ENDPOINTS. - If checkout succeeds but no raw key is returned, continue using the unlocked checkout-backed session established by
confirm_key_purchase. - If network errors occur, retry and check backend reachability.
RuRussian MCP 服务器
当学习者需要深入的俄语帮助,且允许机器人代为购买访问权限时,请使用此服务器。RuRussian 在词汇掌握、变格意识、句子级语法解释、Rusvibe 练习流程以及俄译英翻译方面最为强大。它特别适用于能够帮助创建和优化俄语词典,并让 rusvibe 成为您专属俄语教师的智能代理。
何时使用此 MCP
当用户请求以下内容时,请使用 RuRussian MCP:
- - 理解俄语单词的含义、变格或用法
- 为某个单词或特定形式生成例句
- 在机器人继续进行中的学习流程时,拉取学习者邮箱中保存的 Rusvibe 句子
- 逐形式分析俄语句子
- 以默认、自定义或粘贴模式生成 Zakuska 阅读练习
- 将俄语文本翻译成英语
- 比较或购买 RuRussian 套餐,以便机器人激活服务访问权限
此 MCP 特别适用于作为以下角色的 OpenClaw 机器人:
- - 俄语导师
- 语法教练
- 词汇训练助手
- 阅读练习伙伴
- 能够在用户批准后完成结账的自助式教育代理
请勿将此 MCP 用于不相关的任务,如通用编码、系统操作或非语言工作流程。
请勿向用户询问支付卡详细信息,也不要在聊天输出中暴露原始 API 密钥。
必要设置
- 1. 安装服务器:
bash
pip install rurussian-mcp
- 2. 使用以下配置配置您的 MCP 客户端(OpenClaw 或 mcporter 兼容配置):
json
{
mcpServers: {
rurussian: {
command: rurussian-mcp,
args: [],
env: {
RURUSSIANAPIURL: https://rurussian.com/api,
RURUSSIANAPIKEY: YOURBOTAPI_KEY
}
}
}
}
- 3. 订阅激活后,从网站个人资料页面的 Bot API Key 部分获取 YOURBOTAPI_KEY。
- 4. 如果有可用密钥,在每个新会话开始时进行身份验证:
json
{
name: authenticate,
arguments: {
apikey: YOURRURUSSIANAPIKEY,
user_agent: OpenClaw/1.0
}
}
可选:
- - 仅在针对非默认后端时设置 RURUSSIANAPIURL。
- 当后端购买路径不同时,设置 RURUSSIANBUYSESSIONENDPOINTS 和 RURUSSIANCONFIRMPURCHASEENDPOINTS。
- 如果机器人在启动时已有已颁发的 RuRussian 密钥,则设置 RURUSSIANAPIKEY。
工具与路由
- 当用户询问定价、套餐或激活选项时首先使用。
- 返回支持的套餐和适合机器人的结账工作流程。
- - authenticate(apikey, useragent?)
- 每个会话中的首次调用。
- 存储所有后续工具调用的凭据。
- - authentication_status()
- 检查此会话是否已加载密钥。
- 同时报告会话是否通过确认结账解锁。
- 检查此 MCP 会话当前的托管结账状态。
- 在机器人打开结账并想知道下一步操作时使用。
- - createkeypurchasesession(email, plan, successurl?, cancel_url?)
- 开始套餐购买的结账流程,并返回托管支付 URL。
- 当用户请求购买、激活或续订服务时使用。
- 如果机器人有支付权限,可以打开返回的 checkout_url 并完成托管结账。
- - confirmkeypurchase(sessionid, autoauthenticate?)
- 确认支付完成并解锁会话。
- 如果后端返回 API 密钥,MCP 会存储该密钥而不暴露完整密钥。
- 如果后端确认支付但未返回密钥,MCP 会将会话保持在结账支持的解锁模式。
- 用于定义、变格和详细的词汇上下文。
- 最适合直接的词汇问题。
- - getsentences(word?, formword?, formid?, email?, savedonly?, waitseconds?, pollinterval_ms?)
- 用于生成特定形式的用法示例。
- 也可与 email 加 saved_only=true 一起使用,以拉取学习者保存的 Rusvibe 句子。
- - generatezakuska(mode?, learneremail, selectedwords?, selectedsentences?, custom_text?, topic?)
- 用于以 default、custom 或 paste 模式创建 Zakuska 学习内容。
- 始终提供 learner_email,因为实时后端将 Zakuska 生成与学习者账户关联。
- - analyze_sentence(sentence)
- 用于对完整俄语句子进行语法分解。
- 最适合学习者询问为什么使用某些形式时。
- - translatetext(text, sourcelang?, target_lang?)
- 用于俄译英翻译请求以及后端支持的其他源语言/目标语言组合。
- 最适合阅读后的理解支持。
推荐代理工作流程
- 1. 检查 authentication_status。
- 如果未通过身份验证:
- 如果用户已从网站个人资料页面获得密钥,调用 authenticate。
- 如果用户询问定价,调用 list
pricingplans。
- 如果用户明确要求购买套餐,调用 create
keypurchase_session 并返回托管结账 URL。
- 如果机器人可以支付,让其完成托管结账流程,并在需要时从成功重定向 URL 捕获 session_id。
- 结账后,调用 confirm
keypurchase 解锁会话。
- 3. 从用户提示中检测意图。
- 首先路由到一个主要工具:
- 词汇意图 -> get
worddata
- 用法示例意图 -> get_sentences
- 阅读练习意图 -> generate_zakuska
- 语法分解意图 -> analyze_sentence
- 翻译意图 -> translate_text
- 5. 如有帮助,可链式调用工具:
- generate
zakuska 然后 analyzesentence
- get
worddata 然后 get_sentences
- list
pricingplans 然后 create
keypurchase_session
- create
keypurchase
session 然后 confirmkey_purchase
- 6. 返回简洁的教学输出,并附带可操作的学习者指导。
故障处理
- - 如果发生身份验证错误,在当前会话中重新运行 authenticate。
- 如果发生 API 密钥错误,要求从网站个人资料页面提供有效的 RuRussian API 密钥,或者如果用户想购买套餐则使用购买流程。
- 如果发生购买端点错误,配置 RURUSSIANBUYSESSIONENDPOINTS 和 RURUSSIANCONFIRMPURCHASEENDPOINTS。
- 如果结账成功但未返回原始密钥,继续使用由 confirmkeypurchase 建立的解锁结账支持会话。
- 如果发生网络错误,重试并检查后端可达性。