Skip to main content
Glama

mcp-server

Initialization

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

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

Related MCP server: MCP Server Demo

Development

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

Related MCP Connectors

Related MCP Servers

  • F
    license
    B
    quality
    D
    maintenance
    A Model Context Protocol server implementation that can be run directly or through Docker, enabling AI assistants to interact with external systems through the MCP standard.
    2
    -
  • F
    license
    B
    quality
    D
    maintenance
    A template MCP server that provides a basic structure and configuration for building Model Context Protocol servers. Includes Docker support, environment configuration, and examples for both STDIO and SSE transport modes.
    1
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol (MCP) server designed for learning and experimentation. It provides a foundational setup for developers to build, run, and debug MCP server implementations using Node.js.
    -