mehnoor-mcp-server
v1.0.20
Published
1. Install Node.js version 22 or greater. Check version with `node --version`. 2. Open the command line in the current directory. 3. Run these commands in order: ```bash cd ../sdk npm install cd ../mcp-server npm install ```
Readme
User Management APILib MCP Server
How to Build
- Install Node.js version 22 or greater. Check version with
node --version. - Open the command line in the current directory.
- Run these commands in order:
cd ../sdk
npm install
cd ../mcp-server
npm installHow to Run HTTP Server
Make a copy of the .env.example file and name it .env. It should look something like this:
USER_MANAGEMENT_API_LIB_ENVIRONMENT="[YOUR-ENVIRONMENT-VARIABLE-VALUE-HERE]"
USER_MANAGEMENT_API_LIB_DEFAULT_HOST="[YOUR-ENVIRONMENT-VARIABLE-VALUE-HERE]"
USER_MANAGEMENT_API_LIB_TIMEOUT="[YOUR-ENVIRONMENT-VARIABLE-VALUE-HERE]"Paste in your authentication details in that file.
Now open the command line in the current directory and run npm start. Your server will be hosted on port 3000 by default. You can change the port in the index.ts file.
How to Run Stdio
With Claude Desktop
If you are not familiar with how to setup MCP Servers with Claude Desktop, see this tutorial first.
Now add something like this to your Claude Desktop config:
// claude_desktop_config.json
{
"mcpServers": {
"User Management APILib": {
"command": "node",
"args": ["[YOUR-PATH-HERE]/mcp-server/dist/index.js"],
"env": {
"USER_MANAGEMENT_API_LIB_ENVIRONMENT": "[YOUR-ENVIRONMENT-VARIABLE-VALUE-HERE]",
"USER_MANAGEMENT_API_LIB_DEFAULT_HOST": "[YOUR-ENVIRONMENT-VARIABLE-VALUE-HERE]",
"USER_MANAGEMENT_API_LIB_TIMEOUT": "[YOUR-ENVIRONMENT-VARIABLE-VALUE-HERE]"
}
}
}
}With VS Code
You can also use VS Code to run the MCP Server. The configuration is similar to Claude Desktop. See the official docs for details.
// settings.json
{
"mcp": {
"servers": {
"User Management APILib": {
"type": "stdio",
"command": "node",
"args": ["[YOUR-PATH-HERE]/mcp-server/dist/index.js"],
"env": {
"USER_MANAGEMENT_API_LIB_ENVIRONMENT": "[YOUR-ENVIRONMENT-VARIABLE-VALUE-HERE]",
"USER_MANAGEMENT_API_LIB_DEFAULT_HOST": "[YOUR-ENVIRONMENT-VARIABLE-VALUE-HERE]",
"USER_MANAGEMENT_API_LIB_TIMEOUT": "[YOUR-ENVIRONMENT-VARIABLE-VALUE-HERE]"
}
}
}
}
}Important Notes
If any environment variable is omitted, a default value is used instead. If you're not sure what value to configure, it's better to omit it.
Before using the MCP Server, make sure to configure:
- The absolute path to the location where your MCP Server is stored
- Any authentication variables
Depending on the size of your API's request schemas, MCP Clients can exceed context limits very quickly. To prevent this, you may need to manually enable/disable the available tools. See here for VS Code. If you get any strange errors, reducing the context this way may fix the problem.
