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., "@Guess Number MCP Serverstart a new game for me"
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.
Guess Number MCP Server (Remote)
This project implements a remote MCP (Model Context Protocol) server for a simple number guessing game. The server is deployed on Google Cloud Run and allows a client chatbot to interact with it using JSON requests.
The server tracks game state per user and keeps a log of conversations.
Project Structure
Configuration
Clone the repository:
Install dependencies (for local testing):
Running Locally
To run the server locally on port 8080:
Access the endpoint at:
POST http://127.0.0.1:8080/guess
JSON body format:
Deploying to Google Cloud Run
Build the Docker image:
Deploy to Cloud Run:
The server will be available at:
https://<SERVICE_NAME>-<PROJECT_NUMBER>.us-central1.run.app/guess