This document explains how to deploy the Office Word MCP Server on Render.
Set the following environment variables in your Render service:
- Value:
sse - Description: Sets the transport type to Server-Sent Events (SSE) for HTTP communication
- Required: Yes (for Render deployment)
- Value:
0.0.0.0 - Description: Binds the server to all network interfaces
- Required: No (defaults to 0.0.0.0)
- Value:
INFO - Description: Sets the logging level for FastMCP
- Required: No (defaults to INFO)
- Go to your Render dashboard: https://dashboard.render.com
- Navigate to your service:
Office-Word-MCP-Server - Click on "Environment" in the left sidebar
- Add the environment variable:
- Key:
MCP_TRANSPORT - Value:
sse
- Key:
- Click "Save Changes"
After setting the environment variables:
- Render will automatically redeploy your service
- The server will start with SSE transport on the port provided by Render
- Access your server at:
https://your-app.onrender.com/sse
The FastMCP server with SSE transport automatically provides a health check endpoint at:
https://your-service.onrender.com/health
- Cause: Server is running in STDIO mode instead of SSE
- Fix: Ensure
MCP_TRANSPORT=sseis set in environment variables
- Cause: Server not using Render's PORT environment variable
- Fix: This has been fixed in the latest version of main.py
- Cause: Health checks failing
- Fix: Ensure SSE transport is enabled and server is listening on 0.0.0.0