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: My First MCP
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
- AlicenseNot gradedqualityDmaintenanceA simple MCP server built with Next.js that provides a greet_user tool to return friendly greetings, either general or personalized.1 npmMIT
- AlicenseNot gradedqualityBmaintenanceA simple MCP server that exposes a 'greet' tool which returns a friendly greeting for a given name.7 npmISC
- FlicenseNot gradedqualityCmaintenanceEnables a simple greeting tool over MCP, demonstrating schema validation and transport communication.-
- FlicenseAqualityCmaintenanceEnables MCP clients to call a simple greeting tool that takes a name and returns personalized text and structured messages via stdio.1-