Logo di RISKEN MCP Server

RISKEN MCP Server

Organizzazione
ca-risken

RISKEN's official MCP Server

Pubblicato daca-risken
Repositoryrisken-mcp-server
LinguaGo
Fork
1
Stelle
7
Strumenti disponibili
0
Tipo di trasportostdio
Categorie
LicenzaMIT
Link
  • Collega gli strumenti ai flussi di lavoro IA

    RISKEN MCP Server mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • Strumenti disponibili: 0

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni se il server li fornisce.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse della comunità open source

    Stelle: 7; fork: 1 (repository collegato).

RISKEN MCP Server

Remote MCP Server

The RISKEN MCP Server is a Model Context Protocol (MCP) server that provides seamless integration with RISKEN APIs, enabling advanced automation and interaction capabilities for developers and tools.

Use Cases

By connecting the RISKEN MCP server to your everyday AI tools, you can perform various operations such as:

  • Checking active alerts in RISKEN and monitoring their status.
  • Searching, analyzing, and reviewing findings including their explanations and remediation steps.
  • Archiving resolved findings to maintain a clean and organized security posture.

Prerequisites

  1. To run the server in a container, you will need to have Docker installed.
  2. Once Docker is installed, you will also need to ensure Docker is running.
  3. You will also need to have a RISKEN Access Token.

Local MCP Server

Please add the following MCP server configuration to your MCP Client (Claude Desktop or Cursor) settings.

json
{
  "mcpServers": {
    "risken": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "RISKEN_ACCESS_TOKEN",
        "-e",
        "RISKEN_URL",
        "ghcr.io/ca-risken/risken-mcp-server",
        "stdio"
      ],
      "env": {
        "RISKEN_URL": "http://localhost:8098",
        "RISKEN_ACCESS_TOKEN": "your_access_token"
      }
    }
  }
}

Remote MCP Server

RISKEN MCP Server supports Streamable HTTP.

on Local

bash
docker run -it --rm \
  -e RISKEN_URL=http://localhost:8098 \
  -e RISKEN_ACCESS_TOKEN=xxxxxx \
  -p 8080:8080 \
  ghcr.io/ca-risken/risken-mcp-server http

on Cloud Run

You can deploy the server on Google Cloud Run with Terraform.

  1. Visit terraform/examples/googlecloud and deploy the server on Google Cloud Run with Terraform.

  2. Add the following MCP server configuration to your MCP Client (Claude Desktop or Cursor) settings.

Note: Since most MCP clients only allow stdio connections, it is currently necessary to use mcp-remote as a proxy to connect to remote MCP servers.

Claude Desktop, Cursor ...

json
{
  "mcpServers": {
    "risken": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "http://localhost:8098/mcp",
        "--header",
        "RISKEN-ACCESS-TOKEN:${RISKEN_ACCESS_TOKEN}"
      ],
      "env": {
        "RISKEN_ACCESS_TOKEN": "xxxxxx"
      }
    }
  }
}

Third-Party Authorization (OAuth2.1)

RISKEN MCP Server supports Third-Party Authorization (OAuth2.1) that enables secure authentication through external Identity Providers (IdP).

Overview

The OAuth2.1 implementation follows the MCP Authorization specification with Third-Party Authorization Flow, where:

  1. MCP Client initiates OAuth flow with MCP Server
  2. MCP Server acts as authorization server and redirects user to IdP
  3. IdP authenticates user and returns to MCP Server
  4. MCP Server issues access token for MCP Client
  5. MCP Client uses access token for subsequent MCP requests

OAuth Flow

Configuration

MCP Server Configuration

The following environment variables are required for OAuth2.1 support:

VariableRequiredDescriptionExample
MCP_SERVER_URL✅Public URL of MCP serverhttp://localhost:8080
AUTHZ_METADATA_ENDPOINT✅IdP's OAuth metadata endpointhttps://your-idp.com/.well-known/oauth-authorization-server
CLIENT_ID✅OAuth client ID for IdPyour-client-id
CLIENT_SECRET✅OAuth client secret for IdPyour-client-secret
JWT_SIGNING_KEY✅Signing key for session JWT tokensyour-256-bit-secret

Identity Provider Requirements

Your IdP must support the following OAuth features:

FeatureRequirementDescription
Authorization Code Flow✅ REQUIREDStandard OAuth authorization code grant
JWKS Endpoint✅ REQUIREDJSON Web Key Set for JWT validation
Metadata Discovery✅ REQUIREDRFC 8414 Authorization Server Metadata

Note: PKCE verification is handled internally by the MCP Server between MCP Client and MCP Server (per MCP specification). The IdP does not need to support PKCE.

Tools

Context

  • get_context - Get the current authentication context.
    • Returns Organization info if using Organization token, or Project info if using Project token.

Finding

  • search_finding - Search RISKEN findings. (Supports both Organization and Project tokens)

    • finding_id - Search by finding ID.
    • alert_id - Search by alert ID. (Project token only)
    • data_source - Search by data source.
    • resource_name - Search by resource name.
    • from_score - Search by minimum score.
      • 0.0 ~ 0.3 - Low
      • 0.3 ~ 0.6 - Medium
      • 0.6 ~ 0.8 - High
      • 0.8 ~ 1.0 - Critical
    • status - Search by status.
      • 0 - All
      • 1 - Active (default)
      • 2 - Pending
    • offset - Search by offset.
    • limit - Search by limit.
  • archive_finding - Archive RISKEN finding. (Supports both Organization and Project tokens)

    • finding_id - Archive by finding ID. (Required)
    • note - Note.

Alert

  • search_alert - Search RISKEN alert. (Project token only)
    • status - Search by status.
      • 1 - Active
      • 2 - Pending
      • 3 - Deactive (already closed)

Resources

Finding Contents

  • Get Finding Contents Retrieves the content of a specific finding.
    • Template: finding://{project_id}/{finding_id}
    • Parameters:
      • project_id: The ID of the project.
      • finding_id: The ID of the finding.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Installazione

TypingMind
Prerequisiti:

Node.js 18+

{
  "mcpServers": {
    "ca-risken-risken-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "risken-mcp-server"
      ]
    }
  }
}

Usa RISKEN MCP Server MCP con più modelli AI

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso RISKEN MCP Server, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP viene eseguita localmente sul tuo dispositivo tramite il connettore MCP di TypingMind.

Guida alla configurazione del connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura connettore.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura connettore e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con l’opzione «Questo dispositivo» selezionata
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi RISKEN MCP Server come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di RISKEN MCP Server.
  4. Salva l'elenco dei server.
  5. Se vuoi verificare che il connettore sia ancora pronto, aggiorna la pagina.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "ca-risken-risken-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "risken-mcp-server"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di RISKEN MCP Server, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di RISKEN MCP Server.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare RISKEN MCP Server per aiutarmi con questa attività?
RISKEN MCP Server
Certo. L’ho letto.
Ecco cosa ho trovato con RISKEN MCP Server.

Domande frequenti

A cosa serve il server MCP RISKEN MCP Server?

RISKEN MCP Server è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare il server MCP RISKEN MCP Server con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare RISKEN MCP Server con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP RISKEN MCP Server con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando RISKEN MCP Server, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego il server MCP RISKEN MCP Server a TypingMind?

RISKEN MCP Server funziona tramite il connettore MCP locale di TypingMind. È la soluzione ideale quando il server MCP deve accedere a file locali, app desktop, strumenti da riga di comando o risorse private sul tuo computer.

Quali strumenti offre il server MCP RISKEN MCP Server in TypingMind?

RISKEN MCP Server mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare il server MCP RISKEN MCP Server?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se RISKEN MCP Server richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇