A simple Model Context Protocol (MCP) server with weather and time tools, ready to deploy.
npm install
node server.jsThe MCP endpoint is available at http://localhost:3000/mcp.
- get_weather - Get mock weather data for any city
- get_time - Get the current time in any timezone
Connect the Ink MCP server to your AI agent and prompt:
Deploy this app with Ink.
Full tutorial: docs.ml.ink/examples/ai/mcp-server
Ink is a deployment platform built for AI agents.
- Website: ml.ink
- Documentation: docs.ml.ink
- Quick Start: docs.ml.ink/quick-start
- Examples: docs.ml.ink/examples