K

tpapi-mcp-server

...
Created 2/14/2025byhabuma

Language:

Kotlin

Stars:

2

Forks:

0

ThemeParks.wiki API MCP Server

This is an MCP Server that exposes data from the ThemeParks.wiki API as tools.

Features

  • Get theme park operating hours
  • Get attraction wait times
  • Get show times

API

Tools

  • getEntityChildren
    • Get a list of attractions and shows in a park given the park's entity ID
    • input: entityId (string)
  • getEntityScheduleForDate
    • Get a park's operating hours given the park's entity ID and a specific date (in yyyy-MM-dd format).
    • input:
      • entityId (string)
      • date (string; yyyy-MM-dd)
  • getAllParks
    • Get a list of all parks (including their name and entity ID)
  • getParksByName
    • Get a list of parks (including their name and entity ID) given a park name or resort name
    • input: entityId (string)
  • getEntity
    • Get an entity given its entity ID
    • input: entityId (string)
  • getEntityLive
    • Get an attraction's wait times or a show's show times given the attraction or show entity ID
    • input: entityId (string)

Building the server

To build the server as an executable JAR file, run the following command:

./gradlew build

This will require Java 21 (or higher) to be installed. I recommend using SDKMAN! to install and manage Java versions.

The JAR file will be placed in build/libs/kt-mcp-server-0.0.1-SNAPSHOT.jar. Do not try to run this executable JAR file yourself. The MCP Client (such as Claude Desktop) will run the server for you.

Optionally, to build the server as a Docker image, run the following command:

./gradlew bootBuildImage --imageName=habuma/tpapi-mcp-server

Do not attempt to run this Docker image yourself. The MCP Client (such as Claude Desktop) will run the server for you.

Usage with Claude Desktop

You can use the ThemeParks.wiki API MCP Server in Claude Desktop by adding configuration to claude_desktop_config.json. Change the paths below to

            correctly reference the Java command line and the  location of the executable 

JAR file:

{
  "mcpServers": {
    "tpapi": {
      "command": "/path/to/java",
      "args": [
        "-jar",
        "/path/to/project/build/libs/tpapi-mcp-server-0.0.1-SNAPSHOT.jar"
      ]
    }
  }
}
Last updated: 2/15/2025

Publisher info

habuma's avatar

Craig Walls

Java/Spring/AI/Alexa developer, Disney Parks fanatic, and player of board games.

1,566
followers
1
following
55
repos

More MCP servers built with Kotlin

mcp-server-plugin

JetBrains MCP Server Plugin

By JetBrains28
modelcontextprotocol_kotlin-sdk

Mirror of https://github.com/modelcontextprotocol/kotlin-sdk

By MCP-Mirror0
mcp4k

Compiler-driven MCP framework for Kotlin Multiplatform

By ondrsh25