
MCP Server
kabragaurav
public
MCP Server AI
A Simple Model Context Server (MCP) For AI Usecases
Repository Info
0
Stars
0
Forks
0
Watchers
0
Issues
JavaScript
Language
-
License
About This Server
A Simple Model Context Server (MCP) For AI Usecases
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
# MCP (Model Context Protocol)
by Gaurav Kabra
The Model Context Protocol (MCP) is a standardized way, introduced by Anthropic, for LLMs to interact with external tools and functions and injecting context in LLMs. It allows models to:
* Request real-time information
* Execute actions in external systems
* Access specialized knowledge
* Interact with APIs and services

ā Agents
ā MCP

The 2nd figure is like this:

So we improve and get to the 3rd figure, which is similar to:

The MCP is similar to USB hub in above picture.
Due to it being a standard, changes become in a standard way. So less chances of API breaking since each MCP server is now being maintained by individual companies (Yahoo or Google etc.) and we just integrate with them.
An MCP server will expose 3 things:
Tool:

Resource: includes knowledge base, DB, files etc.

Prompt:

You can refer [this](https://github.com/modelcontextprotocol/python-sdk/blob/main/examples/clients/simple-chatbot/mcp_simple_chatbot/main.py) for above images.
## Setup From Scratch
```
mkdir mcpserver
npm init
npm install @modelcontextprotocol/sdk
```
See [this](https://github.com/modelcontextprotocol/typescript-sdk) for official documentation.
Now in Cursor IDE, click on Settings cog -> MCP. Create the file `mcp.json` and put below code:
```json
{
"mcpServers": {
"Gaurav Kabra's MCP Server": {
"command": "node",
"args": ["/Users/gauravkabra/Desktop/MCPServer/index.js"]
}
}
}
```
Replace `args` with absolute path (full path) of `index.js` on your local.
And now it should show the `add` tool available:

You can find documentation [here](https://docs.cursor.com/context/model-context-protocol).
Do CMD + I and ask to add two numbers and you should see a response which we coded in `index.js`.
STDIO (Standard Input-Output) is ideal on local but for remote we use SSE transport (Server Sent Event). See [this](https://modelcontextprotocol.io/docs/concepts/transports) to know more.
Quick Start
1
Clone the repository
git clone https://github.com/kabragaurav/MCP-Server-AI2
Install dependencies
cd MCP-Server-AI
npm install3
Follow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Ownerkabragaurav
RepoMCP-Server-AI
Language
JavaScript
License-
Last fetched8/8/2025
Recommended MCP Servers
š¬
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
integrationsdiscordchat
š
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
integrationsautomationsaas
š·ļø
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
apifycrawlerdata
š
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
testingqabrowsers
ā”
Zapier MCP
A Zapier server that provides automation capabilities for various apps.
zapierautomation