MCP Server

MCP Server

A lightweight and extensible Model Context Protocol server built with Node.js, exposing custom tools and resources for AI clients.

Category
Visit Server

README

MCP Server šŸš€

A lightweight and extensible Model Context Protocol (MCP) Server built with Node.js and the official MCP SDK. This project exposes custom tools and resources that can be used by MCP-compatible AI clients, enabling seamless integration with external services and AI models.

✨ Features

  • šŸ”§ Custom MCP tools
  • šŸ¤– AI model integration
  • šŸ“¦ Modular project structure
  • ⚔ Fast and lightweight
  • šŸ” Environment variable support
  • 🌐 JSON-RPC communication
  • šŸ“š Easy to extend with new tools
  • šŸ“ Resource support
  • šŸ› ļø Developer-friendly architecture

šŸ› ļø Tech Stack

  • Node.js
  • TypeScript
  • Model Context Protocol (MCP) SDK
  • Google Gemini API (Optional)
  • dotenv

šŸ“‚ Project Structure

mcp-server/
ā”œā”€ā”€ src/
│   ā”œā”€ā”€ index.ts
│   ā”œā”€ā”€ tools/
│   ā”œā”€ā”€ resources/
│   ā”œā”€ā”€ handlers/
│   └── utils/
ā”œā”€ā”€ package.json
ā”œā”€ā”€ tsconfig.json
ā”œā”€ā”€ .env.example
ā”œā”€ā”€ .gitignore
└── README.md

šŸš€ Installation

Clone the repository:

git clone https://github.com/NavanethaKrishnan-14/<repository-name>.git

Navigate to the project:

cd <repository-name>

Install dependencies:

npm install

āš™ļø Environment Variables

Create a .env file in the project root.

Example:

GEMINI_API_KEY=your_api_key

Never commit your actual .env file to GitHub.


ā–¶ļø Running the Server

Development mode:

npm run dev

Production:

npm run build
npm start

šŸ”§ Example MCP Tools

  • Greeting Tool
  • Calculator Tool
  • AI Chat Tool (Gemini)
  • Custom Resource Provider

These tools can be extended by adding new handlers in the tools directory.


šŸ“” Compatible MCP Clients

This server can be integrated with MCP-compatible clients such as:

  • Cursor
  • Claude Desktop
  • VS Code MCP extensions
  • Custom MCP clients

šŸ“ˆ Future Enhancements

  • Authentication support
  • Streaming responses
  • Database integration
  • Logging and monitoring
  • Additional AI providers
  • File system tools
  • Web search tools

šŸ¤ Contributing

Contributions are welcome. Feel free to fork the repository, create a feature branch, and submit a pull request.


šŸ“„ License

This project is licensed under the MIT License.


šŸ‘Øā€šŸ’» Author

Navanetha Krishnan

GitHub: https://github.com/NavanethaKrishnan-14

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured