Hello World MCP Server
@MCP-Mirror
关于 Hello World MCP Server
Mirror of
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"jageenshukla_hello-world-mcp-server": {
"command": "npx",
"args": [
"@modelcontextprotocol/inspector",
"./dist/server.js"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Hello World MCP Server?
It is a demonstration MCP (Model Context Protocol) server built with TypeScript using the MCP SDK and Express. It shows how to integrate MCP tools, prompts, and server-sent events (SSE) endpoints. Designed for developers learning to build MCP servers for existing services.
How to use Hello World MCP Server?
Clone the repository, install dependencies (npm install), configure the .env file (default port 4000), build the project (npm run build), and start the server (npm start). For testing, use the MCP Inspector: npx @modelcontextprotocol/inspector ./dist/server.js. Development mode with live reloading is available via npm run dev.
Key features of Hello World MCP Server
- MCP SDK integration with tools and prompts
- Express framework for SSE and message communication
- Environment configuration via
.envfiles - Fully typed TypeScript codebase
Use cases of Hello World MCP Server
- Learning how to build an MCP server from scratch
- Creating a bridge between existing services and AI agents
- Prototyping MCP-based applications for proof-of-concepts
- Integrating with local LLM chatbots using external tools
FAQ from Hello World MCP Server
What are the runtime requirements for Hello World MCP Server?
Node.js v16 or higher and npm or yarn are required.
How can I test the tools and prompts of Hello World MCP Server?
Use the MCP Inspector by running npx @modelcontextprotocol/inspector ./dist/server.js.
How do I change the default port?
Edit the PORT variable in the .env file (default is 4000).
What should I do if the port is already in use?
Update the PORT variable in the .env file to an available port.
Does Hello World MCP Server support live reloading during development?
Yes, use npm run dev to start the server with live reloading and detailed logs.
其他 分类下的更多 MCP 服务器
MaxKB
1Panel-dev🔥 MaxKB is an open-source platform for building enterprise-grade agents. 强大易用的开源企业级智能体平台。
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
Website
FunnyWolfAdversary simulation and Red teaming platform with AI
评论