Setting up a Meeting Management MCP server enables centralized control and automation of meeting workflows, including scheduling, participant management, and integration with calendar systems, through a standardized protocol interface.
What You'll Need
- A supported operating system (Linux Ubuntu 22.04 LTS or later, or Windows Server 2022)
- Node.js version 18.x or higher installed
- Access to a terminal or command prompt with administrative privileges
- A stable internet connection for downloading dependencies
- Basic knowledge of JSON configuration and REST API concepts
- An MCP-compatible client application (such as a custom frontend or integration tool)
Step-by-Step
- Verify Node.js installation by opening a terminal and running
node --version. The output should show v18.0.0 or higher. If not, download and install the LTS version from the official Node.js website. - Create a new directory for the MCP server project:
mkdir meeting-mcp-server && cd meeting-mcp-server. - Initialize a new Node.js project with
npm init -yto generate a package.json file. - Install the required MCP server dependencies:
npm install @modelcontextprotocol/sdk express body-parser cors. - Create the main server file:
touch index.jsand open it in a code editor. - Save the file and install any missing dependencies if prompted by the editor.
- Start the server by running
node index.jsin the terminal. You should see a confirmation message indicating the server is running on port 3000. - Test the server using a tool like curl or Postman: send a POST request to
http://localhost:3000/mcpwith a JSON-RPC payload to invoke the scheduleMeeting tool: - Example request body:
{ "jsonrpc": "2.0", "method": "tools/call", "params": { "name": "scheduleMeeting", "arguments": { "title": "Project Planning", "startTime": "2024-01-20T14:00:00Z", "endTime": "2024-01-20T15:00:00Z", "participants": ["alice@example.com", "bob@example.com"] } }, "id": 1 } - Verify the response includes a success status and a generated meeting ID.
- To make the server accessible on a network, ensure your firewall allows traffic on port 3000, or reverse proxy it behind nginx or Apache for production use.
- For production deployment, consider using a process manager like PM2: install with
npm install -g pm2and start the server withpm2 start index.js. - Enable logging and monitoring by adding middleware to capture request details and errors for debugging.
Common Mistakes
- Using an outdated version of Node.js that lacks support for modern ES modules or async/await syntax, causing the server to fail during startup.
- Forgetting to install the @modelcontextprotocol/sdk package, resulting in ReferenceError when trying to instantiate MCPServer.
- Binding the server to localhost only (127.0.0.1) without realizing it prevents external clients from connecting — this is common when testing but problematic in deployment.
- Sending malformed JSON-RPC requests (e.g., missing 'jsonrpc' field or incorrect 'method' structure) leading to silent failures or error responses that are hard to debug.
- Not handling CORS properly when the MCP client runs on a different domain, causing browser-based clients to be blocked by security policies.
- Assuming the MCP server automatically persists meeting data — the example uses in-memory storage, so all data is lost on restart unless integrated with a database.
Tips
- Use environment variables (via .env file and dotenv package) to configure the port, host, and any external service credentials instead of hardcoding values.
- Implement input validation on all tool parameters to prevent injection attacks or malformed data from compromising the server.
- Add authentication middleware (e.g., JWT verification) to the /mcp endpoint if the server will be exposed beyond a trusted network.
- Log all incoming MCP requests and responses during development to trace integration issues — but avoid logging sensitive data in production.
- Version your MCP server implementation and document available tools clearly so client developers know what functions are available.
- Regularly update the @modelcontextprotocol/sdk package to benefit from security patches and new features.
- Consider containerizing the server with Docker for consistent deployment across environments.
Troubleshooting
- Server fails to start: Check the terminal output for error messages. Common causes include missing dependencies (run
npm install) or syntax errors in index.js. Verify Node.js version withnode --version. - Connection refused when accessing: Confirm the server is listening on the correct port and interface. Use
netstat -tuln | grep 3000(Linux) ornetstat -ano | findstr :3000(Windows) to check. Ensure firewall rules allow inbound traffic on port 3000. - MCP client receives error responses: Validate the JSON-RPC format of your request. Use a tool like JSONLint to check structure. Ensure the 'method' follows MCP specification (e.g., 'tools/call', 'resources/read').
- No response or timeout: The server may have crashed silently. Check process logs or restart with
node index.jsto see real-time output. Consider using PM2 withpm2 logsto monitor. - CORS errors in browser clients: Verify the cors middleware is applied before route handlers. Temporarily allow all origins (
app.use(cors())) for testing, then restrict to known domains in production. - Data not persisting between restarts: This is expected in the basic example. To fix, integrate a database (e.g., SQLite, PostgreSQL) or use a file-based storage solution for meeting records.