Provides containerized deployment of the TianGong AI MCP Server, allowing for isolated and portable execution of the server with Docker.
Enables configuration of the TianGong AI MCP Server through environment variables stored in .env files, providing a secure way to manage API keys and other settings.
Supports execution of the TianGong AI MCP Server in Node.js environments, leveraging the JavaScript runtime for cross-platform compatibility.
Facilitates installation and dependency management for the TianGong AI MCP Server through the npm package registry.
Enables version management for Node.js when running the TianGong AI MCP Server, ensuring compatibility with specific Node.js versions.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TianGong-AI-MCPstart the streamable HTTP server on port 9279"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
TianGong-AI-MCP
TianGong AI Model Context Protocol (MCP) Local Server supports Streamable Http protocol.
Starting MCP Server
Streamable Http Server
npm install -g @tiangong-ai/mcp-server-local
npx dotenv -e .env -- \
npx -y -p @tiangong-ai/mcp-server-local tiangong-ai-mcp-http
npm i -g pm2
pm2 start "npx --no-install tiangong-ai-mcp-http" --name tiangong-mcp-local --time
pm2 restart tiangong-mcp-local
pm2 stop tiangong-mcp-local
pm2 logs tiangong-mcp-local
pm2 delete tiangong-mcp-local
pm2 statusUsing Docker
# Build MCP server image using Dockerfile (optional)
docker build -t linancn/tiangong-ai-mcp-server-local:0.0.1 .
# Pull MCP server image
docker pull linancn/tiangong-ai-mcp-server-local:0.0.1
# Start MCP server using Docker
docker run -d \
--name tiangong-ai-mcp-server-local \
--publish 9279:9279 \
--env-file .env \
linancn/tiangong-ai-mcp-server-local:0.0.1