MCP Server
A lightweight and extensible Model Context Protocol server built with Node.js, exposing custom tools and resources for AI clients.
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
.envfile 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
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.