go-mcp-server-service

by MCP-Mirror

300 downloads Not rated yet
GitHub

About

go-mcp-server-service is a JSON‑RPC 2.0 compliant server that implements the Model Context Protocol (MCP) for note management. It serves as an example and boilerplate that can be modified for custom MCP projects, supporting cross‑platform development with both a command‑line…

Explore

- JSON-RPC 2.0 compliant API
- Cross-platform support (Windows, Linux, macOS)
- Thread-safe note management
- Development and release build configurations
- Service and command-line interface components

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name go-mcp-server-service
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

- Go 1.21 or later
- GNU Make or compatible build tool
- Git (for version information)

{
  "mcpServers": {
    "notes-server": {
      "command": "./bin/dev/<platform>/notes-server",
      "args": []
    }
  }
}
{
  "mcpServers": {
    "notes-server": {
      "command": "./bin/release/<platform>/notes-service",
      "args": []
    }
  }
}

add-note

Adds a new note to the server

Available tools:

- add-note: Adds a new note to the server
- Required arguments: name (string), content (string)
- Thread-safe state updates
- Returns confirmation message

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "go-mcp-server-service": {
            "AndrewDonelson_go-mcp-server-service": {
                "command": "npx",
                "args": [
                    "@modelcontextprotocol/inspector",
                    "./bin/dev/<platform>/notes-server"
                ]
            }
        }
    }
}

McpServers

{
    "AndrewDonelson_go-mcp-server-service": {
        "command": "npx",
        "args": [
            "@modelcontextprotocol/inspector",
            "./bin/dev/<platform>/notes-server"
        ]
    }
}
A JSON-RPC 2.0 compliant server implementing the Model Context Protocol (MCP) for note management (as an example)

This is an example. You can modify this and use as a Boilerplate for your own project. It supports cross-platform development and includes a command-line interface and service component for both development and release builds.

Features

- JSON-RPC 2.0 compliant API
- Cross-platform support (Windows, Linux, macOS)
- Thread-safe note management
- Development and release build configurations
- Service and command-line interface components

Components

Command Line Interface (cmd)

The command-line interface provides direct access to the notes server functionality.

Service (service)

The service component enables system-level integration and background operation.

Resources

The server implements a note storage system with:

- Custom note:// URI scheme for accessing individual notes
- Resource metadata including name, description, and MIME type
- Thread-safe concurrent access

Prompts

Available prompts:

- summarize-notes: Creates summaries of all stored notes
- Optional style argument ("brief"/"detailed")
- Combines all current notes with style preference
- Thread-safe note access

Tools

Available tools:

- add-note: Adds a new note to the server
- Required arguments: name (string), content (string)
- Thread-safe state updates
- Returns confirmation message

Building

Prerequisites

- Go 1.21 or later
- GNU Make or compatible build tool
- Git (for version information)

Build Commands

Development builds (includes debug symbols and race detection):

```bash

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.