mcp-server

by MCP-Mirror

269 downloads
Not rated
GitHub

About

mcp-server is a Model Context Protocol server that can be initialized and run in either a Node or Docker environment. It provides a structured setup for integrating MCP capabilities into an IDE, with Makefile commands for building, configuring, and managing the server.

Details

Author
MCP-Mirror
Downloads
269
Categories
Other

- Supports both Node and Docker environments for flexibility
- Makefile-based commands for build, config, run, and cleanup
- Automatic MCP settings refresh via make node-config
- Manual MCP settings refresh via make mcp-refresh
- Built with bun v1.2.5 for fast JavaScript runtime performance

Choose an initialization method: run make node-init for Node or make docker-init for Docker. After initialization, build the server and configure MCP settings by adding a new MCP server in your IDE with the path to the built server executable.

mcp-server

Initialization

Choose one of the following initialization methods based on your preferred environment:

Node Environment (Recommended)

To initialize the Node environment (installs dependencies, builds the server, and configures MCP settings):

make node-init

Docker Environment

To initialize the Docker environment (builds the Docker image and configures MCP settings):

make docker-init

Development

Using Node (Recommended)

To build and run the server using Node:

# Build the server
make node-build

Configure the server

make node-config

Using Docker

To build and run the server using Docker:

# Build the Docker image
make docker-build

Run the Docker container

make docker-run

Stop the Docker container

make docker-stop

Clean up Docker resources

make docker-clean

MCP Settings

The MCP settings are automatically refreshed when you run make node-config. If you need to manually refresh the MCP settings:

make mcp-refresh

After running the server, you need to configure MCP settings:

1. Open your IDE settings
2. Navigate to the MCP configuration section
3. Add a new MCP server with the following settings:
- Name: MCP Server
- Version: 1.0.0
- Path: The path to your built server executable

This project was created using bun init in bun v1.2.5. Bun is a fast all-in-one JavaScript runtime.

sample-mcp-server

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.