npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

cbba-kb-mcp

v1.0.0

Published

MCP server for querying the CXone Knowledge Base (WFI, DBConnector, Studio troubleshooting)

Downloads

131

Readme

CXone Knowledge Base MCP Server

Query the CXone KB (WFI, DBConnector, Studio) from Claude Code without any GitHub dependencies.

This is a lightweight MCP server that fetches KB content directly from GitHub and makes it queryable through Claude Code. No GitHub MCP required.


Installation

Option 1: Local Development (This Repo)

cd tools/cbba-kb-mcp
npm install
npm start

Then add to your ~/.claude.json:

{
  "mcpServers": {
    "cbba-kb": {
      "type": "stdio",
      "command": "node",
      "args": ["/full/path/to/cbba-kt/tools/cbba-kb-mcp/index.js"]
    }
  }
}

Option 2: From npm (Coming Soon)

npm install -g cbba-kb-mcp

Then add to ~/.claude.json:

{
  "mcpServers": {
    "cbba-kb": {
      "type": "stdio",
      "command": "cbba-kb-mcp"
    }
  }
}

Restart Claude Code:

claude --restart-servers

Usage

Once installed and running, the KB MCP provides these tools in Claude Code:

1. Search the KB

"Search the knowledge base for 'rule activation'"

Returns matching sections from handbooks with relevant quotes.

2. List Available Handbooks

"What handbooks are available in the knowledge base?"

Shows all available topics (WFI, DBConnector, Studio, etc.).

3. Get FAQ

"Show me the WFI FAQ"
"Show me the DBConnector FAQ"

Returns the complete FAQ section for that system.

4. Get Troubleshooting Guide

"Show me the WFI troubleshooting guide"
"Show me the DBConnector troubleshooting guide"
"Show me the Studio troubleshooting guide"

Returns logs, diagnostics, and triage information.

5. Get Logs Reference

"Show me where to look for WFI logs"
"Show me DBConnector log signatures"

Returns log locations, formats, and common signatures.


Example Queries

Support Team Escalation

User: "A customer reports: 'Error: RegisterDBXService returned empty GUID'"
Claude Code: [Uses search_kb to find the error]
Result: "Log signature found in DBConnector logs handbook with triage steps..."

Developer Onboarding

User: "How does WFI rule activation work?"
Claude Code: [Uses search_kb + FAQ]
Result: Returns architecture overview + FAQ answers

Troubleshooting

User: "Where should I look for WFI errors?"
Claude Code: [Uses get_logs_reference]
Result: Returns log locations, order, and decision tree

How It Works

  1. Fetches from GitHub — Uses raw.githubusercontent.com to fetch KB files on demand
  2. Caches content — Caches files for 5 minutes to avoid repeated API calls
  3. Implements MCP tools — Makes KB data queryable through Claude Code
  4. No external dependencies — Just the MCP SDK, nothing else

Requirements

  • Node.js 18+
  • @modelcontextprotocol/sdk (installed via npm)
  • Internet connection (to fetch from GitHub)

Architecture

The server provides 5 MCP tools:

| Tool | Purpose | |------|---------| | search_kb | Full-text search across handbooks | | list_handbooks | Show all available topics | | get_faq | Fetch FAQ for WFI/DBConnector | | get_troubleshooting | Fetch troubleshooting guides | | get_logs_reference | Fetch logs and diagnostics info |

All tools fetch content from: https://raw.githubusercontent.com/inContact/cbba-kt/main/knowledge-base/


Troubleshooting

"Command not found: cbba-kb-mcp"

Make sure Node is installed and the npm package path is in your $PATH:

npm install -g cbba-kb-mcp
which cbba-kb-mcp

"Failed to fetch KB files"

Check your internet connection. The server fetches from GitHub API:

curl https://raw.githubusercontent.com/inContact/cbba-kt/main/knowledge-base/README.md

"Claude Code doesn't see the tools"

Restart the MCP servers:

claude --restart-servers

Development

To modify the server:

  1. Edit index.js to add new tools or sources
  2. Test locally: npm start
  3. Verify in Claude Code
  4. Commit changes

To publish to npm:

npm version minor
npm publish

Related