Back to MCP directory
publicPublicdnsLocal runtime

saaros-mcp-server

一个基于JSON-RPC 2.0协议的MCP服务器,通过后台线程提供Brave搜索API的访问服务,支持速率限制和工具调用功能。

article

README

🚀 Saaros-MCP-Server

Saaros-MCP-Server是一个实现模型上下文协议(MCP)的服务器,它提供了对Brave搜索API的访问,并能作为后台线程运行,为相关应用提供便捷的搜索服务支持。

🚀 快速开始

服务器通过stdin/stdout使用JSON-RPC 2.0协议进行通信。下面为你介绍使用前的设置步骤和使用示例。

✨ 主要特性

  • 🌟 以背景线程形式运行,不影响其他程序的正常执行。
  • 🌟 实现JSON-RPC 2.0协议,便于与其他系统进行交互。
  • 🌟 支持限流功能,保障系统的稳定运行。
  • 🌟 集成Brave搜索API,提供强大的搜索能力。

📦 安装指南

设置你的Brave搜索API密钥:

  • Brave搜索API获取一个API密钥。
  • 在项目根目录下创建一个.env文件,内容如下:
BRAVE_API_KEY=your_api_key_here

💻 使用示例

基础用法

以下是服务器支持的一些示例请求:

列出可用工具

{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "listTools",
    "params": {}
}

执行网络搜索

{
    "jsonrpc": "2.0",
    // 此处原文档未完整,推测后续应有完整的请求内容
}
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