·5 min read·easyMCP Team
How to build an MCP server in 5 minutes
A step-by-step walkthrough of turning a public REST API into a working MCP server with easyMCP — no Node, no SDK, no deploy pipeline.
## What you will build
By the end of this guide you will have a hosted MCP server that exposes a single tool: `get_weather(city)`. You will be able to paste its URL into Claude Desktop or Cursor and ask "What is the weather in Berlin?"
Total time: about 5 minutes.
## 1. Create a project
From the [dashboard](/dashboard), click **New project**. Name it `weather-mcp`. easyMCP creates an empty MCP server scaffold for you.
## 2. Add a tool
Click **Add tool** and pick **REST endpoint**. Fill in:
- **Name** — `get_weather`
- **Method** — `GET`
- **URL** — `https://api.open-meteo.com/v1/forecast?latitude={{lat}}&longitude={{lon}}¤t_weather=true`
- **Description** — *Returns the current weather for a given latitude and longitude.*
Define two inputs of type `number`: `lat` and `lon`. easyMCP automatically generates the JSON schema the model needs.
## 3. Test in chat
Open the **Test** tab and ask: *"What is the weather at 52.52, 13.41?"* The built-in chat will show the model picking your tool, the request it sent, and the JSON response — all in one view.
## 4. Deploy
Click **Deploy**. Within a second you get a URL like `https://easymcp.eu/api/public/mcp/prj_x9k…`. That URL is a fully spec-compliant MCP server.
## 5. Connect a client
Paste the URL into Claude Desktop, Cursor, or any MCP-compatible client. Done.
## Going further
Real APIs need authentication, rate limiting, and per-user credentials. easyMCP handles all of that — see the [authentication docs](/docs/authentication) and the [enduser credentials guide](/docs/enduser-credentials).
TutorialMCP