Skip to main content
Glama

docType: guide scope: repo status: current authoritative: true owner: mcp language: en whenToUse: "When installing, configuring, running, or integrating the TianGong AI MCP server." whenToUpdate: "When tool behavior, auth, environment variables, package metadata, build commands, or server startup changes." checkPaths:

  • AGENTS.md

  • .docpact/config.yaml

  • package.json

  • Dockerfile

  • .env.example

  • mcp_config.json

  • test.http

  • .github/prompts/**

  • README_CN.md

  • DEV_EN.md

  • DEV_CN.md

  • src/** lastReviewedAt: 2026-08-20 lastReviewedCommit: 56622587c4d1b421cf5e27ce2abc0e136b470f70


TianGong-AI-MCP

GitHub organization migration / GitHub 组织迁移

This original repository now belongs to the tiangong-ai organization, with its repository identity and history retained. The CLI package @tiangong-ai/cli and command tiangong-ai are unchanged. Wiki is now published as @tiangong-ai/wiki; its commands remain unchanged. See the migration and upgrade notes.

该仓库已迁入 tiangong-ai 组织,仓库身份与历史保留。CLI 包名 @tiangong-ai/cli 和命令 tiangong-ai 不变;Wiki 新包名为 @tiangong-ai/wiki,命令不变。升级方式见迁移说明。原个人账号 tiangong-ai-legacy 保留历史;请自行 Follow 新组织。

中文 | English

TianGong AI Model Context Protocol (MCP) Server supports Streamable Http protocol.

Related MCP server: OpenAPI MCP Server

Starting MCP Server

Streamable Http Server

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

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

Local Development Server

From this repository you can build and launch the HTTP server with:

npm run build
npx dotenv -e .env -- node dist/src/index_server.js

Launch the Inspector separately when interactive MCP inspection is needed.

Launch MCP Inspector

npx @modelcontextprotocol/inspector

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    An MCP server that provides Hugging Face Hub API and Search endpoints through multiple transport protocols (STDIO, SSE, StreamableHTTP, and StreamableHTTPJson), enabling integration with AI model capabilities.
    294
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A server that implements the Model Context Protocol (MCP) with StreamableHTTP transport, enabling standardized interaction with model services through a RESTful API interface.
    340 npm
    2
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    A Model Context Protocol server for AI image and video generation using Jimeng AI, enabling text-to-image, image composition, text-to-video, and image-to-video through Claude Desktop and other MCP clients.
    80
    -