Build
April 6, 2025 ยท View on GitHub
-
Install dependencies
yarn install -
Build the project
yarn build -
You will find the corresponding .js files in the root directory. For each filename.ts a corresponding filename.js will be generated in the root directory.
Usage example
-
For each .js file, use chmod +x to make it executable.
-
Then copy the path to the executable file to the MCP configuration file.
{
"mcpServers": {
"weather": {
"command": "npx",
"args": ["-y", "node", "/home/aaryash-f/Documents/mcp/weather-mcp.js"]
},
"store": {
"command": "npx",
"args": ["-y", "node", "/home/aaryash-f/Documents/mcp/store-mcp.js"]
}
}
}