Skip to content

Nitish3571/node-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCP Server for codeRunner

A Model Context Protocol server that provides tools for discovering Products through the codeRunner API, with an optional search by name.

Features

  • Products Listing:
    • List all Products.
    • Optional search by name parameter.

Add your API key to your MCP settings file:

{
  "mcpServers": {
    "codeRunner-mcp": {
      "command": "npx",
      "args": ["path-to-project/build/index.js"],
    }
  }
}

Usage

1. The server provides the list_Products tool, which accepts:

Optional Parameters

  • name: Search term

Examples

Structured JSON Output (Default)

{ 
  "status": true
    "message": "You have fetch Products successfully". 
    "data": {
      "Products": [
        {
          "name": "My Products",
          "price": 1000,
          "category": "Plate"
        }
      ]
    }
}

Human-Readable Text Output

{ 
  "status": true
    "message": "You have fetch Products successfully". 
    "data": {
      "Products": [
        {
          "name": "My Products",
          "price": 1000,
          "category": "Plate"
        }
      ]
    }
}

Development

  1. Clone the repository

  2. Install dependencies:

    npm install
  3. Build the project:

    npm run build
  4. Run inspector tests:

    npm run inspector

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published