DevangJayswal/js-mcp-server-demo
3.2
If you are the rightful owner of js-mcp-server-demo and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
This document provides a comprehensive overview of a Model Context Protocol (MCP) server, detailing its setup, features, and integration capabilities.
Getting Started
- Install dependencies:
npm install - Build the project:
npm run build - Run the server:
npm run start
VS Code Integration
To connect this server to VS Code, add the following configuration to your mcp.json file:
"hello-world": {
"command": "node",
"args": [
"/Users/devang.jayswal/workspace/temp/js-mcp-server-demo/dist/index.js"
]
}
Testing
Using MCP Inspector
Use the MCP Inspector to exercise the server locally:
- Install or run directly:
npx @modelcontextprotocol/inspector - Select transport type: STDIO
- Command:
node - Arguments:
/Users/devang.jayswal/workspace/temp/js-mcp-server-demo/dist/index.js
Technical Details
- Built with
@modelcontextprotocol/sdk - Uses Zod for schema validation
- TypeScript compilation to JavaScript
- Node.js runtime support
gh release create v0.1 --title "Version 0.1" --notes-file release-notes/v0.1.md
🎉 https://github.com/DevangJayswal/js-mcp-server-demo/releases/tag/v0.1