about
You signed in with another tab or window. Reload
to refresh your session. You signed out in another tab or window. Reload
to refresh your session. You switched accounts on another tab or window. Reload
to refresh your session. Dismiss alert
ryaker / MCP-JS-Server-Template Public
Simplified MCP Server Template for Node.js
1 star
0 forks
Branches
Tags
Activity
Notifications
You must be signed in to change notification settings
main
Go to file
Code
| Name | | Name | Last commit message | Last commit date |
| --- | --- | --- | --- |
| Latest commit
-------------
History
-------
2 Commits
| | |
| README.md | | README.md | | |
| simplified-template-mcp-server.js | | simplified-template-mcp-server.js | | |
| View all files | | |
This is a simplified template for creating Model Context Protocol (MCP) servers in JavaScript for integration with Claude Desktop. It provides a basic structure for developing custom MCP servers with minimal boilerplate code.
about
and hello
@modelcontextprotocol/sdk
for server implementation@modelcontextprotocol/sdk
npm packagenpm install @modelcontextprotocol/sdk
Add to your Claude Desktop configuration file:
Location:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
Configuration Example:
{
"mcpServers": {
"template-server": {
"command": "node",
"args": [\
"/full/path/to/simplified-template-mcp-server.js"\
],
"env": {
"NODE_OPTIONS": "--no-deprecation"
}
}
}
}
about
Returns information about the MCP server.
hello
Provides a greeting, with an optional name parameter.
Example Usage in Claude:
hello with name="Claude"
To create your own MCP server:
TOOLS
arrayserver.fallbackRequestHandler
Contributions are welcome! Please submit pull requests or open issues.
MIT License
Simplified MCP Server Template for Node.js
No releases published
No packages published
You can’t perform that action at this time.