PATAKAMURIVENKATAGANESH/Scrapper.ai-MCP-Server
3.1
If you are the rightful owner of Scrapper.ai-MCP-Server 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.
CSS Selector Extraction MCP Server & Tool provides tools and an MCP server for extracting CSS selectors and visible text from web pages.
Math MCP Server
Overview
This is a simple MCP (Model Context Protocol) server that provides basic mathematical operations. Currently, it supports adding two numbers together.
What Does This Server Do?
- Addition Tool:
- Takes two numbers as input
- Returns their sum
- Supports both integers and decimal numbers
Features
- add_numbers tool:
- Input: Two numbers (a and b)
- Output: The sum of the two numbers
- Validates input to ensure both arguments are numbers
Installation
npm install
Usage
Running the Server
npm start
Testing the Server
node test.js
MCP Tool Schema
The server provides one tool:
- add_numbers
- Description: Add two numbers together
- Parameters:
a(number, required): First number to addb(number, required): Second number to add
- Returns: Text message with the sum
Example Usage
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "add_numbers",
"arguments": {
"a": 5,
"b": 3
}
}
}
Response:
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "The sum of 5 and 3 is 8"
}
]
}
}