返回 MCP 目录
public公开dns本地运行

游戏数据报告

向大型语言模型(LLM)提供你玩过的游戏以及每款游戏的游玩时长信息。

article

README

MCP Steam Server

A Model Context Protocol (MCP) server that provides Steam gaming context to AI assistants. This service integrates with the Steam API to fetch user gaming information and exposes it through the MCP protocol, allowing AI assistants to access and understand users' gaming activities and preferences.

Installation

Using Docker (Recommended)

The easiest way to run the MCP Steam server is using Docker:

docker run --rm -i ghcr.io/dsp/mcp-server-steam:latest

Configuration

The server can be configured using environment variables:

# Required configuration
STEAM_API_KEY=your_steam_api_key

Development

Prerequisites

  • OpenJDK 21
  • Docker (for container builds)
  • Git
  • devenv.sh

Setting Up Development Environment

  1. Clone the repository:

    git clone https://github.com/dsp/mcp-steam.git
    cd mcp-steam
    
  2. Use the development shell:

    devshell shell
    

    This will set up the required development environment with all necessary dependencies.

  3. Build the project:

    mvn package
    

Building Docker Image Locally

docker build -t mcp-server-steam .

API Documentation

The server implements the Model Context Protocol (MCP) specification. For detailed API documentation, please refer to the MCP Documentation.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License

help

运行方式说明

cloud

托管运行

托管运行通常表示这个 MCP Server 由服务方环境承载,用户一般按页面提供的连接方式或授权流程接入,不需要在本地长期启动一个 MCP 进程

  1. 打开服务方连接页
  2. 完成授权或复制端点
  3. 在 MCP 客户端中连接
terminal

本地运行 / 其它方式

本地运行通常需要用户在自己的电脑或服务器上安装依赖,把 server_config 复制到 MCP 客户端,并按 env_schema 补齐环境变量、密钥或其它配置

  1. 复制 server_config
  2. 安装所需依赖
  3. 补齐环境变量后重启客户端