We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/linancn/tiangong-lca-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
# TianGong-LCA-MCP
[中文](https://github.com/linancn/tiangong-lca-mcp/blob/main/README_CN.md) | [English](https://github.com/linancn/tiangong-lca-mcp/blob/main/README.md)
TianGong LCA Model Context Protocol (MCP) Server 支持 STDIO 和 Streamable Http 两种协议。
## 启动 MCP 服务器
### 客户端 STDIO 服务器
```bash
npm install -g @tiangong-lca/mcp-server
npx dotenv -e .env -- \
npx -p @tiangong-lca/mcp-server tiangong-lca-mcp-stdio
```
### 使用 Docker
```bash
# 使用 Dockerfile 构建 MCP 服务器镜像(可选)
docker build -t linancn/tiangong-lca-mcp-server:0.0.5 .
# 拉取 MCP 服务器镜像
docker pull linancn/tiangong-lca-mcp-server:0.0.5
# 使用 Docker 启动 MCP 服务器
docker run -d \
--name tiangong-lca-mcp-server \
--publish 9278:9278 \
--env-file .env \
linancn/tiangong-lca-mcp-server:0.0.5
```
### 本地测试
#### STDIO 服务器
```bash
# 使用 MCP Inspector 启动 STDIO 服务器
npm start
```
#### Streamable Http 服务器
```bash
npm run start:server
```
#### Streamable Http Local 服务器
```bash
npm run start:server-local
```
#### 启动 MCP Inspector
```bash
DANGEROUSLY_OMIT_AUTH=true npx @modelcontextprotocol/inspector
```