Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

@infopercept/invinsense-rag-mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@infopercept/invinsense-rag-mcp

MCP (Model Context Protocol) server that provides Claude and other AI assistants with semantic search access to InvinSense documentation using Vertex AI RAG Engine. Enables AI-powered documentation queries with grounded, citation-backed responses.

latest
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

@infopercept/invinsense-rag-mcp

MCP (Model Context Protocol) server that provides Claude and other AI assistants with semantic search access to InvinSense documentation using Vertex AI RAG Engine.

npm version

Installation

npm install -g @infopercept/invinsense-rag-mcp

Or use directly with npx (recommended for MCP):

npx @infopercept/invinsense-rag-mcp

MCP Configuration

Claude Code CLI

Add to ~/.claude/settings.json:

{
  "mcpServers": {
    "invinsense-rag": {
      "command": "npx",
      "args": ["@infopercept/invinsense-rag-mcp"],
      "env": {
        "RAG_API_URL": "https://your-rag-endpoint",
        "RAG_API_KEY": "your-api-key"
      }
    }
  }
}

Claude Desktop

Add to ~/.config/claude/mcp.json:

{
  "mcpServers": {
    "invinsense-rag": {
      "command": "npx",
      "args": ["@infopercept/invinsense-rag-mcp"],
      "env": {
        "RAG_API_URL": "https://your-rag-endpoint",
        "RAG_API_KEY": "your-api-key"
      }
    }
  }
}

Environment Variables

VariableDescriptionDefault
RAG_API_URLRAG service endpointhttp://localhost:8080
RAG_API_KEYAPI key for RAG service(none)

Available Tools

rag_query

Semantic search through InvinSense documentation.

Search for "How does identity broker authentication work?"

rag_generate

Get AI-generated answers with citations using Gemini + RAG.

What authentication protocols does the Identity Broker support?

rag_corpus_info

Get RAG corpus information (document count, status).

rag_health

Check RAG service health and connectivity.

Architecture

┌─────────────────┐     ┌─────────────────┐     ┌─────────────────┐
│  Claude/MCP     │────▶│   MCP Server    │────▶│   RAG Service   │
│   Client        │     │  (this package) │     │  (your endpoint)│
└─────────────────┘     └─────────────────┘     └────────┬────────┘
                                                         │
                              ┌───────────────────────────┼───────────────────────────┐
                              │                           │                           │
                              ▼                           ▼                           ▼
                     ┌─────────────────┐        ┌─────────────────┐        ┌─────────────────┐
                     │  Vertex AI RAG  │        │   Google AI     │        │      GCS        │
                     │    Engine       │        │  Gemini 2.0     │        │   (Documents)   │
                     └─────────────────┘        └─────────────────┘        └─────────────────┘

RAG Service Setup

This MCP server connects to a RAG service backend. See the full repository for RAG service setup:

Prerequisites

  • Node.js >= 20.0.0
  • Google Cloud account with billing enabled
  • Service account with Vertex AI permissions

Quick Start

# Clone the repository
git clone https://gitlab.invinsense.dev/infopercept/docs/pg-rag.git
cd pg-rag

# Install dependencies
npm install

# Configure environment
cp .env.example .env
# Edit .env with your GCP credentials

# Start the RAG service
npm run dev

API Endpoints

EndpointMethodDescription
/health/liveGETLiveness probe
/health/readyGETReadiness probe with checks
/v1/queryPOSTSemantic search
/v1/generatePOSTRAG-powered answer generation
/v1/corpusGETCorpus information

License

MIT

Keywords

mcp

FAQs

Package last updated on 16 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts