Cover image
Try Now
2025-04-14

3 years

Works with Finder

2

Github Watches

5

Github Forks

2

Github Stars

TianGong-AI-MCP

中文 | English

TianGong AI Model Context Protocol (MCP) Server 支持 STDIO 和 SSE 两种协议。

启动 MCP 服务器

客户端 STDIO 服务器

npm install -g @tiangong-ai/mcp-server

npx dotenv -e .env -- \
npx @tiangong-ai/mcp-server

远程 SSE 服务器

npm install -g @tiangong-ai/mcp-server
npm install -g supergateway

npx dotenv -e .env -- \
npx -y supergateway \
    --stdio "npx -y @tiangong-ai/mcp-server" \
    --port 3001 \
    --ssePath /sse --messagePath /message

使用 Docker

# 使用 Dockerfile 构建 MCP 服务器镜像(可选)
docker build -t linancn/tiangong-ai-mcp-server:0.0.8 .

# 拉取 MCP 服务器镜像
docker pull linancn/tiangong-ai-mcp-server:0.0.8

# 使用 Docker 启动 MCP 服务器
docker run -d \
    --name tiangong-ai-mcp-server \
    --publish 3001:80 \
    --env-file .env \
    linancn/tiangong-ai-mcp-server:0.0.8

开发

环境设置

# 安装 Node.js
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash
nvm install 22
nvm use

# 安装依赖
npm install

# 更新依赖
npm update && npm ci

代码格式化

# 使用代码检查工具格式化代码
npm run lint

本地测试

STDIO 服务器

# 使用 MCP Inspector 启动 STDIO 服务器
npm run start

SSE 服务器

# 打包当前项目
npm run build && npm pack

# 如果需要可以全局安装 supergateway(可选)
npm install -g supergateway

# 启动 SSE 服务器,如配置了参数 --baseUrl ,应设置为有效的 IP 地址或域名
npx dotenv -e .env -- \
npx -y supergateway \
    --stdio "npx -y tiangong-ai-mcp-server-0.0.8.tgz" \
    --port 3001 \
    --ssePath /sse \
    --messagePath /message

# 启动 MCP Inspector
npx @modelcontextprotocol/inspector

发布

npm login

npm run build && npm publish

相关推荐

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • rulego
  • ⛓️Rulego是一种轻巧,高性能,嵌入式,下一代组件编排规则引擎框架。

  • sigoden
  • 使用普通的bash/javascript/python函数轻松创建LLM工具和代理。

  • hkr04
  • 轻巧的C ++ MCP(模型上下文协议)SDK

  • RockChinQ
  • 😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack

  • dmayboroda
  • 带有可配置容器的本地对话抹布

  • modelscope
  • 开始以更轻松的方式开始构建具有LLM授权的多代理应用程序。

  • evilsocket
  • 简单的代理开发套件。

    Reviews

    3.4 (11)
    Avatar
    user_JOi49sab
    2025-04-25

    I've been using Tiangong-AI-MCP extensively, and it has truly revolutionized my workflow. The seamless integration and user-friendly interface make advanced tasks a breeze. The efficiency and accuracy it brings to my projects are unparalleled. I highly recommend it to anyone looking for a robust MCP solution. Kudos to Linancn for developing such an outstanding product!

    Avatar
    user_A6X4Rwhy
    2025-04-25

    I've been using tiangong-ai-mcp developed by linancn, and it's truly impressive. The application is powerful and user-friendly, making complex tasks seem effortless. The level of AI integration is top-notch, providing smart and precise solutions. Highly recommended for anyone seeking advanced AI tools.

    Avatar
    user_iYwmXTdw
    2025-04-25

    As a dedicated user of Tiangong-AI-MCP by linancn, I am thoroughly impressed with its performance. The tool is incredibly easy to navigate and its functionalities streamline my tasks efficiently. Highly recommend for anyone seeking a reliable MCP solution!

    Avatar
    user_H1rI20T6
    2025-04-25

    As a devoted user of Tiangong-AI-MCP, I must say that this product is truly phenomenal. Developed by linancn, its advanced AI capabilities are incredibly efficient and intuitive. The user experience is seamless, making complex tasks simpler to handle. Whether you're new to AI or an experienced professional, Tiangong-AI-MCP is definitely worth exploring. Highly recommended!

    Avatar
    user_6knO5LAt
    2025-04-25

    As a dedicated user of tiangong-ai-mcp, I am thoroughly impressed with its performance and efficiency. This innovative tool, created by linancn, has significantly streamlined my workflow. From its intuitive interface to its powerful functionalities, tiangong-ai-mcp stands out as a must-have application for anyone seeking to enhance their productivity. I highly recommend it to both professionals and enthusiasts alike.

    Avatar
    user_Pc8tKllg
    2025-04-25

    I recently started using tiangong-ai-mcp and it's absolutely phenomenal! Linancn has designed an intuitive and powerful MCP application that excels in performance and usability. The seamless experience from the starting URL to the welcome information makes it a joy to use. Highly recommend this for anyone needing a robust MCP tool.

    Avatar
    user_6raKplih
    2025-04-25

    I've been using tiangong-ai-mcp created by linancn, and it has significantly improved my workflow. The intuitive design and seamless integration with my existing tools make it indispensable. Highly recommended for anyone looking to enhance productivity with advanced AI capabilities!

    Avatar
    user_jI8LTIKp
    2025-04-25

    Tiangong-AI-MCP by linancn is a groundbreaking tool in the AI landscape. Its intuitive design and powerful features make complex AI tasks more accessible and efficient. Whether you're a beginner or a seasoned professional, this application offers robust solutions to streamline your workflow. Highly recommended for anyone looking to enhance their AI capabilities.

    Avatar
    user_eSdkpqM5
    2025-04-25

    Tiangong-ai-mcp by linancn is an impressive application that excels in providing accurate AI-driven results. The intuitive interface and powerful features make it an indispensable tool for any AI enthusiast or professional. Highly recommend giving it a try!

    Avatar
    user_bEfXdpRy
    2025-04-25

    As an avid user of tiangong-ai-mcp, I can confidently say that this application is a game changer. Created by linancn, it offers seamless integration and intuitive functionality, making tasks more efficient and enjoyable. Highly recommend for anyone looking to elevate their productivity.

    Avatar
    user_DqZbDXyJ
    2025-04-25

    As a dedicated user of Tiangong-AI-MCP, I am thoroughly impressed with its performance and usability. The tool, created by linancn, offers exceptional features and a seamless interface, making it highly efficient for various applications. Its robust design and intuitive starting URL streamline the entire process, while the welcoming information ensures smooth onboarding for new users. Overall, Tiangong-AI-MCP is a reliable and advanced product that meets all my needs. Highly recommended!