mcp-server-hello
Click on "Install 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., "@mcp-server-hellotell me a joke"
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.
MCP Server Hello
This project implements a Model Context Protocol (MCP) server that provides several tools, resources, and prompts. It's designed to be used with the Gemini CLI as an MCP server.
Available Functionalities
addtool: Adds two numbers together.get-timetool: Returns the current server time.update-config-indextool: update the index in configfile by increment.random-jokeresource: Provides a random joke.friendly-greetingprompt: Generates a friendly greeting message given a name.
Related MCP server: hello-mcp
Installation
To set up the project, follow these steps:
Clone the repository (if applicable):
# If this project is part of a larger repository, clone it first. # git clone <repository-url> # cd mcp-server-helloInstall dependencies: Navigate to the project root directory and install the required Node.js packages:
npm install
How to Run
To run the MCP server:
Build the TypeScript project:
npm run buildStart the server:
npm startThe server will start and listen for connections. You won't see much output on the console as
console.loghas been removed to avoid interfering with the MCP protocol. Errors will be logged tostderr.
Deployment
This server is intended to be run as a background process, typically managed by a process manager or as part of a larger system. Ensure that the npm run build step is executed before starting the server in a production environment.
Usage with Gemini CLI
create
./.gemini/settings.jsonfor Gemini CLI{ "mcpServers": { "my-mcp": { "command": "node", "args": ["./dist/server.js"], "transport": "stdio" } } }check mcp server status by
/mcp listafter gemini-cli startThis server acts as an MCP server for the Gemini CLI.
Once the server is running, the Gemini CLI can connect to it and utilize the registered tools, resources, and prompts.
ℹConfigured MCP servers: 🟢 my-mcp - Ready (2 tools, 1 prompt) Tools: - add - get-time Prompts: - friendly-greeting 💡 Tips: • Use /mcp desc to show server and tool descriptions • Use /mcp schema to show tool parameter schemas • Use /mcp nodesc to hide descriptions • Use /mcp auth <server-name> to authenticate with OAuth-enabled servers • Press Ctrl+T to toggle tool descriptions on/off
Test of tools, resources, and prompts by Gemini-cli
The Gemini CLI will communicate with this MCP server to execute the requested functionality and return the results.
invoke the 'add' tool
#prompt1: > result of add 123456,456789 ✓ add (summarize-mcp MCP Server) {"b":456789,"a":123456} The sum of 123456 and 456789 is 580245. #result of add 123456,456789 ✦ 580245 #prompt2: > add 123,456 ✓ add (summarize-mcp MCP Server) {"b":456,"a":123} The sum of 123 and 456 is 579. ✦ 579invoke the 'get-time' tool
#prompt: > what time now? ✓ get-time (summarize-mcp MCP Server) {} The current server time is 14:28:32. ✦ The current time is 14:28:32.invoke the 'random-joke' resource
#prompt: > tell me a joke ✦ Why don't scientists trust atoms? Because they make up everythinginvoke the 'friendly-greeting' prompt
#prompt > friendly-greeting to wangxg ✦ Hello, wangxg! It's a pleasure to meet you. I hope you're having a fantastic dayinvoke the 'update-config-index' tool
#prompt: > update the index in configfile @config/config.yaml by increment 10 ✓ update-config-index (my-mcp) {"numberOfIncrements":10,"filePath":"C:\\work\\mcp-server\\mcp-server-hello\\config\\config.yaml"} OK. I've updated the index in `config/config.yaml` to 12.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceA simple educational MCP server providing basic math operations, string manipulation, and greeting functionality. Demonstrates how to implement MCP tools for learning purposes.Last updated
- FlicenseAqualityCmaintenanceA minimal MCP server providing greeting, addition, and time zone tools, plus static and templated resources.Last updated3
- Flicense-qualityCmaintenanceA lightweight MCP server providing tools for adding integers, getting current time, and fetching weather forecasts via wttr.in.Last updated
- FlicenseAqualityDmaintenanceA simple MCP server that provides greeting tools and server information.Last updated1
Related MCP Connectors
A very simple remote MCP server that greets you, with a custom icon.
MCP server for generating rough-draft project plans from natural-language prompts.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lqwangxg/mcp-server-hello'
If you have feedback or need assistance with the MCP directory API, please join our Discord server