Guess Number MCP Server
Click on "Deploy 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
│── server/
│ └── mcp_server.py # FastAPI server for the guessing game
│── requirements.txt # Python dependencies
│── Dockerfile # Container configuration for Cloud RunRelated MCP server: Cloud Run MCP Server
Configuration
Clone the repository:
git clone [<your-repo-url>](https://github.com/DiegoDuaS/MCP-Remote)
cd MCP-RemoteInstall dependencies (for local testing):
pip install -r requirements.txtRunning Locally
To run the server locally on port 8080:
python server/mcp_server.pyAccess the endpoint at:
POST http://127.0.0.1:8080/guess
JSON body format:
{
"user_id": "default_user",
"message": "start"
}Deploying to Google Cloud Run
Build the Docker image:
gcloud builds submit --tag gcr.io/<PROJECT_ID>/guess-gameDeploy to Cloud Run:
gcloud run deploy guess-game \
--image gcr.io/<PROJECT_ID>/guess-game \
--platform managed \
--region us-central1 \
--allow-unauthenticated \
--port 8080The server will be available at:
https://-.us-central1.run.app/guess
This server cannot be deployed
Maintenance
Related MCP Connectors
Cloud-hosted MCP server for durable AI memory
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Remote MCP server for supportsheep: run AI interviews and manage support content for your blog.
Hosted MCP server to manage a restaurant menu from AI agents - 39 tools over the DuckHub API.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables interaction with Google Cloud Game Services API, allowing users to manage game server deployments, realms, and configurations through natural language.1-
- FlicenseNot gradedqualityDmaintenanceA secure MCP server example that demonstrates how to deploy to Google Cloud Run with authentication and identity token protection. Serves as a tutorial template for building production-ready MCP servers in the cloud.-
- AlicenseNot gradedqualityDmaintenanceAn MCP server deployed on Cloud Run that enables reading Cloud Storage and leveraging Vertex AI models via natural language.MIT
- FlicenseNot gradedqualityCmaintenanceA remote MCP server deployed on Cloudflare Workers with OAuth login, enabling tools like math operations to be called via natural language.-