Greeting MCP Server
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., "@Greeting MCP ServerGreet 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.
Greeting MCP Server
A simple Model Context Protocol (MCP) server built with Next.js that provides a greeting tool. This project serves as a clean foundation for building custom MCP servers.
Features
Simple Greeting Tool: Provides a
greet_usertool that responds with friendly greetingsMCP Server Integration: Built using the Vercel MCP adapter for seamless integration
No Authentication Required: Simple setup without API keys or user management
TypeScript Support: Fully typed with TypeScript for better development experience
Related MCP server: Hello World MCP Server
Getting Started
Install dependencies:
npm installRun the development server:
npm run devOpen your browser: Visit http://localhost:3000 to see the server info page
Configure your MCP Client: Add this server to your MCP client configuration:
{ "mcpServers": { "greeting-server": { "url": "http://localhost:3000/api/llm/mcp" } } }Test the greeting tool: In your MCP client, you can now use the
greet_usertool:greet_user()- Get a general greetinggreet_user(name: "Alice")- Get a personalized greeting
MCP Tool Reference
greet_user
Greets the user with a friendly message.
Parameters:
name(optional): The name of the user to greet
Examples:
Without name: Returns "Hello! How are you doing today?"
With name: Returns "Hello, [name]! Nice to meet you!"
Project Structure
src/
├── app/
│ ├── api/llm/[transport]/route.ts # MCP server endpoint
│ ├── layout.tsx # App layout
│ └── page.tsx # Info page
├── components/ui/ # Basic UI components
└── lib/utils.ts # Utility functionsCustomization
This project is designed to be a clean starting point for your own MCP server. To customize:
Modify the greeting tool in
src/app/api/llm/[transport]/route.tsAdd new tools by adding more
server.tool()callsAdd authentication if needed using the
experimental_withMcpAuthwrapperUpdate the UI in
src/app/page.tsxto reflect your server's purpose
Learn More
This server cannot be deployed
Maintenance
Related MCP Connectors
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
POC MCP server. Tool say_hello returns 'Welcome' (agent -> MCP -> API path).
Related MCP Servers
- -licenseCqualityNot gradedmaintenanceA simple boilerplate MCP server that provides a basic greeting tool for demonstration purposes. Serves as a starting template for developers to quickly create and deploy custom MCP servers.17 npm-
- AlicenseCqualityDmaintenanceA simple MCP server that provides a basic greeting tool for saying hello with customizable names. Serves as a boilerplate template for developers to quickly create and deploy new MCP servers.17 npmMIT
- AlicenseNot gradedqualityDmaintenanceA simple demonstration MCP server that provides a basic 'say_hello' tool for greeting users by name, serving as a template for building MCP servers with TypeScript.3 npm1ISC
- -licenseNot gradedqualityCmaintenanceA simple MCP server that provides a 'hello' tool to return a personalized greeting, demonstrating integration with Claude Desktop.-