service-mcp-server

openremote/service-mcp-server

3.1

If you are the rightful owner of service-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The Model Context Protocol (MCP) server is a specialized server designed to handle and manage model context protocols, facilitating communication and data exchange between different systems and applications.

OpenRemote MCP Server Service

MCP Server for your OpenRemote instance.

Quick start guide

This guide assumes you already have an OpenRemote instance running.

  1. Create service user

    In your OpenRemote instance, create a new service user (settings > users > SERVICE USERS > ADD USER) and give it the permissions you want to have. The MCP server will auto discover the tools that are available.

    Note: The service user is required to have the read:services & write:services role.

  2. Setup docker service Create a docker-compose.yml file and configure the service.

    services:
      # Other OpenRemote services...
    
      mcp-server:
        image: openremote/mcp-server:latest
        restart: always
        depends_on:
          manager:
            condition: service_healthy
        ports:
          - "8420:8420"
        environment:
          APP_HOMEPAGE_URL: https://<SERVICE_URL>:8420 # Change this to the URL this service is available on
          
          OPENREMOTE_CLIENT_ID: <OPENREMOTE_CLIENT_ID>
          OPENREMOTE_CLIENT_SECRET: <OPENREMOTE_CLIENT_SECRET>
          OPENREMOTE_URL: <OPENREMOTE_URL>
          OPENREMOTE_VERIFY_SSL: 1
    
  3. Run the service

    Finally, you can run the new service by using docker compose.

    docker compose up
    

    This will run the additional service, it will auto-register to your OpenRemote instance. and you can view them in the services tab inside your OpenRemote dashboard.

Development guide

This guide assumes you already have an OpenRemote instance running.

Prerequisites:

  1. Create service user

    In your OpenRemote instance, create a new service user (settings > users > SERVICE USERS > ADD USER) and give it the permissions you want to have. The MCP server will auto discover the tools that are available.

    Note: The service user is required to have the read:services & write:services role.

  2. Sync dependencies

    uv sync
    
  3. Setup environment variables

    Create a new file .env in the root of the project directory. and fill in the following variables replacing the brackets with your own values.

    OPENREMOTE_CLIENT_ID=<OPENREMOTE_CLIENT_ID>
    OPENREMOTE_CLIENT_SECRET=<OPENREMOTE_CLIENT_SECRET>
    OPENREMOTE_URL=<OPENREMOTE_URL>
    OPENREMOTE_VERIFY_SSL=0
    
  4. Run service

    uv run uvicorn app:app --reload --port=8420
    

Production guide

Prerequisites:

  1. Build docker image

    Build the docker image

    docker build . --tag=openremote/mcp-server:latest