Back to MCP directory
publicPublicdnsLocal runtime

rae-mcp

RAE模型上下文协议服务器,提供西班牙皇家学院词典API的交互功能

article

README

🚀 皇家西班牙语学院(RAE)模型上下文协议(MCP)服务器

本仓库包含皇家西班牙语学院(RAE)API的模型上下文协议(MCP)服务器的实现。它允许语言模型与RAE的词典和语言资源进行交互。

🚀 快速开始

本MCP服务器可与支持模型上下文协议的语言模型集成,使它们能够访问RAE的语言资源,从而提升西班牙语处理能力。

✨ 主要特性

  • 支持语言模型与RAE的词典和语言资源交互。
  • 提供命令行参数配置,支持不同的传输方式。
  • 向大语言模型(LLMs)暴露多种工具,方便查询信息。

📦 安装指南

环境要求

  • Go 1.21+

安装步骤

git clone https://github.com/rae-api-com/rae-mpc.git
cd rae-mpc
go build

💻 使用示例

基础用法

命令行参数

使用标准输入输出传输方式运行服务器(用于与大语言模型集成):

./rae-mpc --transport stdio

或者作为SSE服务器运行:

./rae-mpc --transport sse --port 8080

高级用法

可用工具

MCP服务器向大语言模型暴露了以下工具:

  1. search - 在RAE API中搜索信息

    • 参数:
      • query(必需):搜索查询内容
      • lang(可选):语言代码(默认:"es")
  2. get_word_info - 获取单词的详细信息

    • 参数:
      • word(必需):要查询的单词
      • lang(可选):语言代码(默认:"es")
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client