MCP Utils Server
An experimental MCP server offering calculator, GitHub repository fetching, a movie database resource, and JavaScript code review capabilities. Designed for learning and compatible with Cursor and Claude Desktop.
README
MCP Utils Server
An experimental Model Context Protocol (MCP) server providing a collection of utility tools and resources, including calculator operations, GitHub repository fetching, a movie database resource, and JavaScript code review capabilities.
This project was built as a learning-first MCP server and is compatible with MCP clients such as Cursor, Claude Desktop, and other MCP-enabled tools.
⨠Features
- š§® Calculator tools (basic arithmetic operations)
- š GitHub integration ā fetch public repositories by username
- š¬ Movies resource ā access a JSON database of modern movies
- š§āš» Code review prompt ā review JavaScript / TypeScript code
- š¦ Written in TypeScript with schema validation using Zod
- š Uses stdio transport, as required by MCP
š¦ Prerequisites
Before you begin, ensure you have the following installed:
- Node.js (v16 or higher)
- npm or yarn
š Installation
- Clone the repository:
git clone https://github.com/kh-mahmoud/experimental-mcp.git
cd experimental-mcp
- Install dependencies:
npm install
- Build the project:
npm run build
This will compile TypeScript files from src/ to JavaScript in the build/ directory.
Run the following command from the project root to test and debug the MCP server locally using the MCP Inspector :
npx -y @modelcontextprotocol/inspector tsx src/index.ts
š» Usage
As an MCP Server
This server is designed to be used with MCP-compatible clients (like Cursor, Claude Desktop, etc.).
The server exposes itself as utils and runs via stdio transport.
Running the Server
After building, you can run the server:
node build/index.js
Or use the binary (after building):
./build/index.js
MCP Client Configuration
To use this server with an MCP client, add it to your client's configuration file:
{
"mcpServers": {
"utils": {
"command": "node",
"args": ["/path/to/first-mcp/build/index.js"]
}
}
}
š Available Tools
Calculator Operations
GitHub - Get Repositories
Fetches all public repositories for a given GitHub username.
Movies Resource
Provides access to a JSON database of recent modern movies with details including:
- Title
- Year
- Genre
- Director
- Description
Code Review Prompt
Reviews JavaScript/TypeScript code against JavaScript Standard Style best practices.
š Project Structure
first-mcp/
āāā src/ # TypeScript source files
ā āāā data/ # Data files (movies.json, rules.md)
ā āāā logic/ # Business logic
ā āāā tools/ # MCP tools implementation
ā ā āāā calculator/ # Calculator tools
ā ā āāā github/ # GitHub integration
ā ā āāā prompts/ # Code review prompts
ā ā āāā ressource/ # Resources (movies)
ā āāā index.ts # Server entry point
āāā build/ # Compiled JavaScript (generated)
āāā package.json # Project dependencies
āāā tsconfig.json # TypeScript configuration
āāā README.md # This file
š Notes
- The server uses TypeScript with strict type checking
- All tools use Zod for schema validation
- The server communicates via stdio transport (standard input/output)
- Resources are served as JSON with proper MIME types
š Related Links
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.