GitHub - GeLi2001/tft-mcp-server (original) (raw)

TFT MCP Server

This is a Model Context Protocol (MCP) server for Team Fight Tactics (TFT) that provides access to TFT game data through various tools.

Features

Prerequisites

Usage

  1. Configure the MCP server in your Claude Desktop config file:

MacOS

Location: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows

Location: %APPDATA%/Claude/claude_desktop_config.json

Add the following configuration:

{ "mcpServers": { "tft-mcp": { "command": "npx", "args": [ "mcp-server-tft", "--apiKey", "", "--gameName", "", "--tagLine", "" ] } } }

  1. The server will run on stdio and provide the following tools:

tft_match_history

Get TFT match history for the current player.

Parameters:

tft_match_details

Get detailed information about a specific TFT match.

Parameters:

Development

The project is written in TypeScript and uses the Model Context Protocol SDK. To modify the code:

  1. Make changes in the src directory
  2. Run npm run build to compile
  3. Run npm start with the required parameters to test changes

License

MIT