Cover image
Try Now
2025-04-01

Servidor MCP SOPOS Open-API

3 years

Works with Finder

1

Github Watches

4

Github Forks

7

Github Stars

English | 中文

supOS MCP Server

This MCP server is developed based on the typescript-sdk provided by the Model Context Protocol (MCP) protocol, allowing any client that supports the MCP protocol to use it.

It provides a series of supOS open-apis, such as querying topic tree structure, topic details, etc.

supOS Server MCP server

Supported APIs

Tools

  1. get-model-topic-tree

    • Query topic tree structure menu data
    • Input:
      • key (string): Fuzzy search keyword for child nodes
      • showRec (boolean): Number of records to display
      • type (string): Search type: 1--Text search, 2--Tag search
    • Returns: topic tree structure menu data
  2. get-model-topic-detail

    • Get details of a specific topic
    • Input:
      • topic (string): The topic path corresponding to the model
    • Returns: details of a specific topic
  3. get-topic-realtime-data

    • Get real-time data of a specific topic
    • Input:
      • topic (string): The topic path corresponding to the model
    • Returns: real-time data of a specific topic
  4. get-all-topic-realtime-data

    • Get and analyze real-time data of all topics
    • Returns: real-time data of all topics

Let's follow the documentation to start using it

Getting Started

System Requirements

  • Node.js

Installing Client

Currently, there are many clients that support the MCP protocol, such as desktop applications like Claude for Desktop, or IDE plugins (like the Cline plugin for VSCode). To learn about supported clients, visit Model Context Protocol Client.

Here we'll use Claude for Desktop as an example.

  • Download Claude for Desktop.

  • Configure the required MCP server for Claude for Desktop.

    • Open your Claude for Desktop configuration in a text editor: ~/Library/Application Support/Claude/claude_desktop_config.json.
    • You can also find this configuration file location by clicking Edit Config in File -> Setting -> Developer: alt text alt text alt text
    • After opening the configuration file, add the following content to claude_desktop_config.json and restart the application:
      Note: The application needs to be restarted after each modification of this configuration file for changes to take effect.

      {
        "mcpServers": {
          "supos": {
            "command": "npx",
            "args": [
              "-y",
              "mcp-server-supos"
            ],
            "env": {
              "SUPOS_API_KEY": "<API_KEY>",
              "SUPOS_API_URL": "<API_URL>",
              "SUPOS_MQTT_URL": "<MQTT_URL>"
            }
          }
        }
      }
      
    • Where API_URL is the accessible address of supOS Community Edition. API_KEY can be found by logging into the community edition, going to DataModeling -> View specific topic details -> Data Operation -> Fetch, and copying the corresponding ApiKey. MQTT_URL can be found by visiting UNS -> MqttBroker -> Listeners to view the subscribable address.

Note: The above configuration of the MCP server uses npx to pull the mcp-server-supos npm package and run it locally to provide services to clients. However, npx may have issues reading environment variable env configurations on Windows systems, so the following solutions can be adopted:

Running Service Locally

Choose one of the following two methods:

  • Install mcp-server-supos locally and run it through node
  1. Install
npm install mcp-server-supos -g
  1. Find the installed package path, for example: "C://Users//<USER_NAME>//AppData//Roaming//npm//node_modules//mcp-server-supos//dist//index.js"

  2. Modify the configuration in claude_desktop_config.json and restart the application

{
  "mcpServers": {
    "supos": {
      "command": "node",
      "args": [
        "C://Users//<USER_NAME>//AppData//Roaming//npm//node_modules//mcp-server-supos//dist//index.js"
      ],
      "env": {
        "SUPOS_API_KEY": "<API_KEY>",
        "SUPOS_API_URL": "<API_URL>",
        "SUPOS_MQTT_URL": "<MQTT_URL>"
      }
    }
  }
}
  • Download and compile the repository source code locally
  1. Clone the repository:
git clone https://github.com/FREEZONEX/mcp-server-supos.git
  1. Install dependencies
npm ci
  1. Build
npm run build
  1. Modify the configuration in claude_desktop_config.json and restart the application
{
  "mcpServers": {
    "supos": {
      "command": "node",
      "args": [
        "<local project path>//dist//index.js"
      ],
      "env": {
        "SUPOS_API_KEY": "<API_KEY>",
        "SUPOS_API_URL": "<API_URL>",
        "SUPOS_MQTT_URL": "<MQTT_URL>"
      }
    }
  }
}

Conclusion

That's the complete tutorial for using this service. After successful configuration, you can see the corresponding services and tools in the following panels: alt text alt text alt text

Final Note

supOS Community Edition has integrated the open-mcp-client open-sourced by CopilotKit authors, and built-in the mcp-server-supos service, supporting ts version agent. The source code can be accessed at supOS-CE-McpClient.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • J. DE HARO OLLE
  • Especialista en juegos de palabras en varios idiomas.

  • Daren White
  • A supportive coach for mastering all Spanish tenses.

  • albert tan
  • Japanese education, creating tailored learning experiences.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • huahuayu
  • Una puerta de enlace de API unificada para integrar múltiples API de explorador de blockchain similar a Esterscan con soporte de protocolo de contexto modelo (MCP) para asistentes de IA.

  • deemkeen
  • Controle su MBOT2 con un combo de potencia: MQTT+MCP+LLM

  • zhaoyunxing92
  • 本项目是一个钉钉 MCP (Protocolo del conector de mensajes )服务 , 提供了与钉钉企业应用交互的 API 接口。项目基于 Go 语言开发 支持员工信息查询和消息发送等功能。 支持员工信息查询和消息发送等功能。

  • pontusab
  • La comunidad de cursor y windsurf, encontrar reglas y MCP

    Reviews

    2 (1)
    Avatar
    user_Y9WdCevB
    2025-04-16

    I've been using mcp-server-supos for a while now and it has been a game changer! Developed by FREEZONEX, this server application is robust and robustly supports multiple languages. The detailed documentation and the welcoming introduction make getting started straightforward. Highly recommended for anyone in need of a reliable server solution. Check it out at https://github.com/FREEZONEX/mcp-server-supos