MCP Quick Start Server
@scriptstar
MCP Quick Start Server について
MCP Server example for up and running in Node
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mcp-starter-kit-node": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP Quick Start Server?
A simple quick-start example of a Model Context Protocol (MCP) server built with TypeScript and the @modelcontextprotocol/sdk. It demonstrates how to define basic tools, resources, and prompts for developers learning MCP.
How to use MCP Quick Start Server?
Clone the repository, run npm install, then npm run build to compile TypeScript to JavaScript. Start the server with node build/index.js or npm start. For development, use npm run dev for live-reload. The server communicates via stdin/stdout using StdioServerTransport.
Key features of MCP Quick Start Server
- Tool
add: sums two numbers and returns the result. - Tool
fetch-chuck-jokes: fetches a random Chuck Norris joke. - Resource
greeting: provides a personalized greeting via URI template. - Prompt
getGreetingAndJoke: guides an AI to greet then tell a joke. - Built with TypeScript and the official MCP SDK.
Use cases of MCP Quick Start Server
- Learning how to structure an MCP server with tools, resources, and prompts.
- Prototyping and testing MCP client-server interactions.
- Starting point for building more complex MCP-based applications.
FAQ from MCP Quick Start Server
What are the prerequisites?
Node.js v18.x or later and npm.
How do I build and run the server?
Run npm run build to compile, then npm start or node build/index.js to start.
What tools, resources, and prompts are included?
Tools: add (sum two numbers) and fetch-chuck-jokes (random joke). Resource: greeting://{name} returns a personal greeting. Prompt: getGreetingAndJoke with a name argument sets up a conversation.
How does the server communicate?
It uses StdioServerTransport – listening on stdin and responding on stdout via JSON-RPC messages.
Can I modify and extend this server?
Yes, the source is in src/ with separate modules for tools, resources, and prompts. The README suggests adding more complex tools, resources, or other transport layers.
「開発者ツール」の他のコンテンツ
MCP-Bridge
SecretiveShellA middleware to provide an openAI compatible endpoint that can call MCP tools
DevDocs by CyberAGI 🚀
cyberagiincCompletely free, private, UI based Tech Documentation MCP server. Designed for coders and software developers in mind. Easily integrate into Cursor, Windsurf, Cline, Roo Code, Claude Desktop App
MCP Inspector
modelcontextprotocolVisual testing tool for MCP servers
mcp-excalidraw
yctimlinMCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.
Code Index MCP
johnhuang316A Model Context Protocol (MCP) server that helps large language models index, search, and analyze code repositories with minimal setup
コメント