mcp-servers
by Aaryash-Shakya
This repository provides examples of MCP (Micro Control Plane) servers. It includes instructions on how to build and use these servers within an MCP configuration.
View on GitHub
Last updated: N/A
Build
-
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"]
}
}
}