mcpField
M
MCP Server

MCP Server

Local
github.com/negabaroDeveloper Tools0Updated 79w ago

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

  1. 01Express.js server
  2. 02TypeScript support
  3. 03Winston logging
  4. 04Environment variable configuration
  5. 05Git add, commit, and status commands

Use cases

  1. 01Run the local development server
  2. 02Manage Git files and commits with commands
  3. 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.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

MCP 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

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Start the development server:
npm run dev

Verification

You can verify that the server is running correctly by checking the following:

  1. The terminal should display:
Server is running on port 7777
  1. When you access http://localhost:7777 in 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

Markdown supported

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.