Skip to main content
Glama

eRegulations MCP Server

by unctad-ai

Servidor MCP de eRegulations

Implementación de un servidor de Protocolo de Contexto de Modelo (MCP) para acceder a los datos de la API de eRegulations. Este servidor proporciona acceso estructurado y optimizado para IA a las instancias de eRegulations, lo que facilita que los modelos de IA respondan a las preguntas de los usuarios sobre los procedimientos administrativos.

Características

  • Acceda a los datos de eRegulations a través de un protocolo estandarizado
  • Consulta procedimientos, pasos, requisitos y costos
  • Plantillas de indicaciones de MCP para guiar el uso de la herramienta LLM
  • Implementación optimizada mediante conexiones de E/S estándar

Uso

Ejecutar con Docker (recomendado)

La forma recomendada de ejecutar el servidor es usar la imagen de Docker publicada desde el Registro de Contenedores de GitHub (GHCR). Esto garantiza un entorno consistente y aislado.

# Pull the latest image (optional) docker pull ghcr.io/unctad-ai/eregulations-mcp-server:latest # Run the server, providing the target eRegulations API URL export EREGULATIONS_API_URL="https://your-eregulations-api.com" docker run -i --rm -e EREGULATIONS_API_URL ghcr.io/unctad-ai/eregulations-mcp-server

Reemplace https://your-eregulations-api.com con la URL base real de la instancia de eRegulations a la que desea conectarse (por ejemplo, https://api-tanzania.tradeportal.org ).

El servidor escucha las solicitudes JSON de MCP en la entrada estándar y envía respuestas a la salida estándar.

Ejemplo de configuración de cliente

A continuación se muestra un ejemplo de cómo se podría configurar un cliente (como Claude) para usar este servidor a través de Docker:

{ "mcpServers": { "eregulations": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "EREGULATIONS_API_URL", "ghcr.io/unctad-ai/eregulations-mcp-server:latest" ], "env": { "EREGULATIONS_API_URL": "https://your-eregulations-api.com" } } } }

(Recuerde reemplazar también el valor EREGULATIONS_API_URL en la sección env ).

Instalación mediante herrería

Alternativamente, puedes instalar y ejecutar el servidor usando Smithery:

Visite https://smithery.ai/server/@unctad-ai/eregulations-mcp-server para obtener el comando de instalación.

Instalación a través del Registro npm (obsoleto)

~~Ejecutar el servidor directamente usando npx está obsoleto debido a posibles inconsistencias del entorno.~~

~~```golpe

Obsoleto: Establezca variables de entorno y ejecute con npx

exportar EREGULATIONS_API_URL= https://ejemplo.com/api && exportar NODE_ENV=producción && npx -y @unctad-ai/eregulations-mcp-server@latest

## Configuration The server requires the URL of the target eRegulations API. ### Environment Variables - `EREGULATIONS_API_URL`: **(Required)** URL of the eRegulations API to connect to (e.g., `https://api-tanzania.tradeportal.org`). Passed to the Docker container using the `-e` flag. ## Available Tools The MCP server provides the following tools: ### `listProcedures` Lists all available procedures in the eRegulations system. ### `getProcedureDetails` Gets detailed information about a specific procedure by its ID. Parameters: - `procedureId`: ID of the procedure to retrieve ### `getProcedureStep` Gets information about a specific step within a procedure. Parameters: - `procedureId`: ID of the procedure - `stepId`: ID of the step within the procedure ### `searchProcedures` Searches for procedures by keyword or phrase. Note: This currently searches related objectives based on the underlying API and may include results beyond direct procedure names. Parameters: - `keyword`: The keyword or phrase to search for ## Prompt Templates The server provides prompt templates to guide LLMs in using the available tools correctly. These templates explain the proper format and parameters for each tool. LLM clients that support the MCP prompt templates capability will automatically receive these templates to improve their ability to work with the API. ## Development ```bash # Run in development mode npm run start # Run tests npm test # Run tests with watch mode npm run test:watch # Run test client npm run test-client ```
Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Una implementación de servidor de Protocolo de Contexto de Modelo que brinda acceso estructurado y compatible con IA a los datos de eRegulations, lo que facilita que los modelos de IA respondan preguntas de los usuarios sobre procedimientos administrativos.

  1. Características
    1. Uso
      1. Ejecutar con Docker (recomendado)
      2. Ejemplo de configuración de cliente
      3. Instalación mediante herrería
      4. Instalación a través del Registro npm (obsoleto)
    2. Obsoleto: Establezca variables de entorno y ejecute con npx
      1. Run in development mode
        1. Run tests
          1. Run tests with watch mode
            1. Run test client

              Related MCP Servers

              • A
                security
                A
                license
                A
                quality
                An implementation of the Model Context Protocol server that enables AI models to communicate with Edge Security Acceleration (ESA) services, allowing models to manage routines, deployments, routes, records, and sites through standardized protocols.
                Last updated -
                19
                406
                24
                TypeScript
                MIT License
              • -
                security
                A
                license
                -
                quality
                A server that implements the Model Context Protocol, providing a standardized way to connect AI models to different data sources and tools.
                Last updated -
                1
                8
                TypeScript
                MIT License
              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server that provides AI models with structured access to external data and services, acting as a bridge between AI assistants and applications, databases, and APIs in a standardized, secure way.
                Last updated -
                1
                Python
              • -
                security
                F
                license
                -
                quality
                A Model Context Protocol server that extends AI capabilities through tools for remote control, note-taking, email operations, and knowledge search.
                Last updated -
                Python

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/unctad-ai/eregulations-mcp-server'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server