coder-ka/mcp-server-template
3.1
If you are the rightful owner of mcp-server-template 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 template using StdioServerTransport.
Tools
1
Resources
0
Prompts
0
mcp-server-template
This is a MCP server template using StdioServerTransport.
Change your-mcp-server-name in package.json and the .mcp.json example in the next to this section.
Edit this section to explain the purpose of your MCP server.
.mcp.json
To setup mcp server in you project.
Create .mcp.json at the project root like below.
{
"mcpServers": {
"your-mcp-server-name": {
"command": "node",
"args": ["./build/index.js"],
"env": {}
}
}
}
Tools
add・・・addfunction that takes two numbers and returns their suma:numberb:number
Teaching LLMs
This is an example text teaching LLMs how to use this mcp server.
## your-mcp-server-name
- Use `add` tool to calculate sum of two numbers.
License
MIT