Back to MCP directory
publicPublicdnsLocal runtime

mcp-server-brian

一个简单的MCP服务器,使用Brian API获取交易数据。

article

README

🚀 mcp-server-brian

这是一个简单的MCP服务器,可借助Brian APIs从提示中检索交易数据,为交易数据的获取提供了便捷途径。

🚀 快速开始

安装

bun install

环境变量

运行以下命令在项目根目录下创建一个.env文件:

cp .env.example .env

编辑.env文件并输入自己的值。

运行服务器

bun run src/index.ts

📦 安装指南

依赖安装

使用以下命令安装项目所需依赖:

bun install

环境变量配置

在项目根目录下创建.env文件,可通过以下命令实现:

cp .env.example .env

之后编辑.env文件,填入你自己的值。

💻 使用示例

启动服务器

启动服务器可以使用以下命令:

bun run src/index.ts

服务器启动后,即可使用Brian APIs从提示中检索交易数据。

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