my-first-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@my-first-mcpgreet me"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
My First MCP Server
Project Purpose
This project is my first implementation of a Model Context Protocol (MCP) server as part of the Nextflows Academy MCP training.
The server exposes a simple tool called greet, which accepts a user's name as input and returns a greeting message. The project demonstrates the basic structure of an MCP server using the official TypeScript SDK and shows how tools are registered and tested using MCP Inspector.
Related MCP server: custom-mcp-server
Technologies Used
Node.js
TypeScript
Model Context Protocol (MCP) SDK v1.29.0
Zod
MCP Inspector
Project Structure
my-first-mcp/
│
├── src/
│ └── index.ts
├── package.json
├── package-lock.json
├── tsconfig.json
├── .gitignore
└── README.mdHow to Run the Project
1. Clone the repository
git clone https://github.com/yarakhattab/my-first-mcp.git2. Open the project folder
cd my-first-mcp3. Install the dependencies
npm install4. Start the MCP server
npm run devThe server will start and wait for incoming MCP requests.
Testing with MCP Inspector
Run the following command:
npx @modelcontextprotocol/inspector npx tsx src/index.tsOpen the URL displayed in your terminal.
Then:
Open the Tools tab.
Select the greet tool.
Enter a name.
Click Run.
The server should return a greeting message.
Academy Website
Nextflows Academy
https://academy.nextflows.com/
Author
Yara Khattab
This server cannot be deployed
Maintenance
Related MCP Connectors
Generate quick, friendly greetings by name. Personalize salutations for any context. Explore the o…
POC MCP server. Tool say_hello returns 'Welcome' (agent -> MCP -> API path).
Greet anyone by name with a friendly hello. Scrape webpages to extract content for quick reference…
Send friendly, personalized greetings by name. Switch to a playful pirate voice for themed salutat…
Related MCP Servers
- FlicenseBqualityDmaintenanceA simple Node.js MCP server that exposes three tools: greet for personalized messages, calculate for basic math operations, and weather_info for mock weather data retrieval.3-
- AlicenseNot gradedqualityDmaintenanceExposes custom Python functions as tools and integrates with Ollama for tool calling.4MIT
- AlicenseNot gradedqualityDmaintenanceProvides a hello and echo tool for basic interaction.21 npm1MIT
- AlicenseNot gradedqualityDmaintenanceA simple MCP server built with Next.js that provides a greet_user tool to return friendly greetings, either general or personalized.10 npmMIT