Skip to main content
Glama

Fund MCP Server

by zhenzp
  • Linux
  • Apple

Fund MCP Server

一个基于 Model Context Protocol (MCP) 的基金知识库服务器。

快速开始

🚀 一键部署

Windows 用户
# 双击运行或在命令行执行 deploy.bat
Linux/macOS 用户
# 给脚本执行权限并运行 chmod +x deploy.sh ./deploy.sh

📦 手动部署

  1. 安装依赖
    npm install
  2. 构建项目
    npm run build
  3. 启动服务
    # HTTP 模式 npm run start:http # SSE 模式 npm run start:sse

部署选项

1. 快速部署 (开发环境)

  • Windows: deploy.batscripts\deploy.bat
  • Linux/macOS: ./deploy.sh./scripts/deploy.sh

2. 生产环境部署

  • Linux: ./scripts/deploy-production.sh deploy
  • systemd 服务: 参考 scripts/DEPLOYMENT.md

3. Docker 部署

cd scripts docker-compose up -d

4. 查看详细部署说明

  • 查看 scripts/README.md 获取脚本说明
  • 查看 scripts/DEPLOYMENT.md 获取详细部署指南

项目结构

fund-mcp-server/ ├── deploy.bat # Windows 部署入口 ├── deploy.sh # Linux/macOS 部署入口 ├── scripts/ # 部署脚本文件夹 │ ├── README.md # 脚本说明 │ ├── DEPLOYMENT.md # 详细部署指南 │ ├── deploy.sh # Linux 快速部署 │ ├── deploy.bat # Windows 快速部署 │ ├── deploy-production.sh # 生产环境部署 │ ├── fund-mcp-server.service # systemd 服务配置 │ ├── Dockerfile # Docker 镜像 │ └── docker-compose.yml # Docker Compose ├── src/ # 源代码 ├── dist/ # 构建输出 └── package.json # 项目配置

配置

环境变量

创建 llm-config.env 文件:

LLM_API_URL=your_llm_api_url LLM_API_KEY=your_llm_api_key PORT=3000 NODE_ENV=production

端口配置

默认端口:3000

  • 环境变量:PORT=8080
  • 命令行:--port 8080

开发

安装依赖

npm install

开发模式

npm run watch

构建

npm run build

测试

npm test

服务管理

生产环境

# 查看状态 ./scripts/deploy-production.sh status # 查看日志 ./scripts/deploy-production.sh logs # 重启服务 ./scripts/deploy-production.sh restart

Docker

# 查看状态 docker-compose ps # 查看日志 docker-compose logs -f # 重启服务 docker-compose restart

故障排除

��见问题

  1. 端口被占用
    lsof -i :3000 kill -9 <PID>
  2. 权限问题
    chmod +x scripts/*.sh
  3. 依赖问题
    npm cache clean --force rm -rf node_modules package-lock.json npm install

日志位置

  • 应用日志:logs/fund-mcp-server.log
  • 错误日志:logs/fund-mcp-server-error.log

贡献

  1. Fork 项目
  2. 创建功能分支
  3. 提交更改
  4. 推送到分支
  5. 创建 Pull Request

许可证

Apache-2.0

支持

  • 📖 部署文档:scripts/DEPLOYMENT.md
  • 🐛 问题反馈:GitHub Issues
  • 💬 讨论:GitHub Discussions
-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

A Model Context Protocol server that provides access to a fund knowledge base. Enables users to query and interact with financial fund information through natural language.

  1. 快速开始
    1. 🚀 一键部署
    2. 📦 手动部署
  2. 部署选项
    1. 1. 快速部署 (开发环境)
    2. 2. 生产环境部署
    3. 3. Docker 部署
    4. 4. 查看详细部署说明
  3. 项目结构
    1. 配置
      1. 环境变量
      2. 端口配置
    2. 开发
      1. 安装依赖
      2. 开发模式
      3. 构建
      4. 测试
    3. 服务管理
      1. 生产环境
      2. Docker
    4. 故障排除
      1. ��见问题
      2. 日志位置
    5. 贡献
      1. 许可证
        1. 支持

          Related MCP Servers

          • A
            security
            F
            license
            A
            quality
            A Model Context Protocol server implementation that provides endpoints for wallet-based authentication, cluster management, and name registration services.
            Last updated -
            1
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that enables AI assistants like Claude to programmatically access financial data from Financial Modeling Prep API, including company profiles, financial statements, metrics, SEC filings, and market data.
            Last updated -
            5
            MIT License
          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that enables interaction with Yahoo Finance to retrieve stock pricing, company information, and historical financial data through natural language queries.
            Last updated -
            10
            13
            MIT License
          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that provides tools for interacting with Yahoo Finance, allowing users to retrieve stock prices, company information, and perform financial data comparisons.
            Last updated -
            11
            MIT License

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/zhenzp/fund-mcp-server'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server