how to run both the client and server
LocalAbout how to run both the client and server
An example repository for experimenting with an MCP client and server. It shows how to launch a Node.js client against a TypeScript weather server and points to setup guidance for Google API access.
Key features
- 01Run the Node.js client
- 02Connect to the TypeScript weather server
- 03Google API setup reference
Use cases
- 01Test MCP client-server interaction
- 02Run the weather server example
MCP support
The example connects an MCP client to a weather MCP server; server setup refers to Gmail-MCP-Server.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEhow to run both the client and server
cd clientnode build/index.js ../server/weather-server-typescript/build/index.js
server
follow the instruction in Gmail-MCP-Server to set up enable Google API in GCP
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.