About MCP Server
A Node.js and TypeScript server project for developers building or running a basic service. It includes Express.js, logging, environment configuration, and Git command integration.
Key features
- 01Express.js server
- 02TypeScript support
- 03Winston logging
- 04Environment variable configuration
- 05Git add, commit, and status commands
Use cases
- 01Run the local development server
- 02Manage Git files and commits with commands
- 03Run tests, linting, and formatting
MCP support
The input identifies it as an MCP server but does not specify which tools or resources it exposes to MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMCP Server
A Master Control Program (MCP) server built with Node.js and TypeScript.
Features
- Express.js server
- TypeScript support
- Winston logger
- Environment configuration
- ESLint and Prettier for code quality
- Jest for testing
- Git integration
Prerequisites
- Node.js (v16 or higher)
- npm (v7 or higher)
- Git
Installation
- Clone the repository
- Install dependencies:
npm install
- Build the project:
npm run build
- Start the development server:
npm run dev
Verification
You can verify that the server is running correctly by checking the following:
- The terminal should display:
Server is running on port 7777
- When you access
http://localhost:7777in your web browser, you should receive the following JSON response:
{
"message": "MCP Server is running"
}
If you can confirm both of these, your server is running successfully.
Git Commands
The server provides Git integration through the following commands:
Add Files
make git-add files="file1.txt file2.txt"
Commit Changes
make git-commit message="Your commit message"
Check Git Status
make git-status
Example workflow:
# Check current status
make git-status
# Add modified files
make git-add files="src/index.ts src/utils/git.ts"
# Commit changes
make git-commit message="Update Git integration"
Development
To start the development server:
make dev
To build the project:
make build
To start the production server:
make start
Testing
Run tests:
make test
Code Quality
Run linter:
make lint
Format code:
make format
Project Structure
src/
├── config/ # Configuration files
├── controllers/ # Route controllers
├── middleware/ # Custom middleware
├── models/ # Data models
├── routes/ # API routes
├── services/ # Business logic
├── utils/ # Utility functions
└── index.ts # Application entry point
Environment Variables
Create a .env file in the root directory with the following variables:
PORT=7777
NODE_ENV=development
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.