# happy-platform-mcp

happy-platform-mcp is a Claude Code MCP server for ServiceNow. It searches records in plain language and routes requests across multiple instances.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 56 repo stars
- Author: Happy-Technologies-LLC
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Happy-Technologies-LLC/happy-platform-mcp
- Updated: 2026-11-15
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/happy-platform-mcp

## What it does

happy-platform-mcp connects an AI coding client to ServiceNow through MCP and exposes table operations. It can discover table structures and relationships at runtime, search with natural-language requests, and handle CRUD work across multiple instances. Batch operations are supported.

The server supports OAuth 2.0 and Basic Auth, Service Catalog form submission, and server-side scripts through `sys_trigger`. It requires Node.js 20+, one or more ServiceNow instances with REST API access, and valid credentials for each instance. Without REST API access, the instance cannot be connected.

Run it with `npx happy-platform-mcp` or install it globally with npm. Local instance management uses commands such as `happy-platform-mcp instance add`, `list`, `test`, `update`, `remove`, and `migrate`; credential prompts require an interactive local TTY.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `SERVICENOW_INSTANCE_URL`, `SERVICENOW_USERNAME`, `SERVICENOW_PASSWORD`, `SERVICENOW_AUTH_TYPE`, `SERVICENOW_INSTANCE`, `HAPPY_MCP_DOCS_ONLY`, `HAPPY_DOCS_ENABLE_LOCAL_INDEX`, `HAPPY_DOCS_CACHE_DIR`, `HAPPY_DOCS_ENABLE_VECTOR`, `HAPPY_DOCS_EMBEDDING_PROVIDER` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env SERVICENOW_INSTANCE_URL=<SERVICENOW_INSTANCE_URL> --env SERVICENOW_USERNAME=<SERVICENOW_USERNAME> --env SERVICENOW_PASSWORD=<SERVICENOW_PASSWORD> --env SERVICENOW_AUTH_TYPE=<SERVICENOW_AUTH_TYPE> --env SERVICENOW_INSTANCE=<SERVICENOW_INSTANCE> --transport stdio happy-platform-mcp -- npx -y happy-platform-mcp
```
Replace <…> with your own values. 9 more environment variables are in the server README

### Codex

**Platform CLI**
```bash
codex mcp add happy-platform-mcp --env SERVICENOW_INSTANCE_URL=<SERVICENOW_INSTANCE_URL> --env SERVICENOW_USERNAME=<SERVICENOW_USERNAME> --env SERVICENOW_PASSWORD=<SERVICENOW_PASSWORD> --env SERVICENOW_AUTH_TYPE=<SERVICENOW_AUTH_TYPE> --env SERVICENOW_INSTANCE=<SERVICENOW_INSTANCE> -- npx -y happy-platform-mcp
```
Replace <…> with your own values. 9 more environment variables are in the server README

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "happy-platform-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "happy-platform-mcp"
            ],
            "env": {
                "SERVICENOW_INSTANCE_URL": "<SERVICENOW_INSTANCE_URL>",
                "SERVICENOW_USERNAME": "<SERVICENOW_USERNAME>",
                "SERVICENOW_PASSWORD": "<SERVICENOW_PASSWORD>",
                "SERVICENOW_AUTH_TYPE": "<SERVICENOW_AUTH_TYPE>",
                "SERVICENOW_INSTANCE": "<SERVICENOW_INSTANCE>"
            }
        }
    }
}
```
Replace <…> with your own values. 9 more environment variables are in the server README

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "happy-platform-mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "happy-platform-mcp"
            ],
            "env": {
                "SERVICENOW_INSTANCE_URL": "<SERVICENOW_INSTANCE_URL>",
                "SERVICENOW_USERNAME": "<SERVICENOW_USERNAME>",
                "SERVICENOW_PASSWORD": "<SERVICENOW_PASSWORD>",
                "SERVICENOW_AUTH_TYPE": "<SERVICENOW_AUTH_TYPE>",
                "SERVICENOW_INSTANCE": "<SERVICENOW_INSTANCE>"
            }
        }
    }
}
```
Replace <…> with your own values. 9 more environment variables are in the server README

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e SERVICENOW_INSTANCE_URL=<SERVICENOW_INSTANCE_URL> -e SERVICENOW_USERNAME=<SERVICENOW_USERNAME> -e SERVICENOW_PASSWORD=<SERVICENOW_PASSWORD> -e SERVICENOW_AUTH_TYPE=<SERVICENOW_AUTH_TYPE> -e SERVICENOW_INSTANCE=<SERVICENOW_INSTANCE> happy-platform-mcp npx -y happy-platform-mcp
```
Replace <…> with your own values. 9 more environment variables are in the server README

## When to use it
- search ServiceNow records with plain-language requests
- work with ServiceNow tables through MCP
- route requests across several ServiceNow instances
- run batch operations on ServiceNow data
- submit Service Catalog forms programmatically

## Example prompts
- Search ServiceNow for records matching this plain-language request.
- Show the structure of a ServiceNow table and its related records.
- Test the ServiceNow instance connection and run a batch operation.

## Similar
- [platform-trust-archive-manage](https://affpapa.org/en/nevibecode/skills/platform-trust-archive-manage.md) — skill · 5200 installs
- [webhook-platform-design](https://affpapa.org/en/nevibecode/skills/webhook-platform-design.md) — skill · 10500 installs
- [OnlyFlows ServiceNow MCP](https://affpapa.org/en/nevibecode/mcp/onlyflows-servicenow-mcp.md) — MCP server · ★ 13 repo stars
- [servicenow-mcp-ai](https://affpapa.org/en/nevibecode/mcp/servicenow-mcp-ai.md) — MCP server · ★ 13 repo stars
- [servicenow-sdk](https://affpapa.org/en/nevibecode/plugins/servicenow-sdk.md) — plugin · ★ 146 repo stars
- [developer-platform-hiring](https://affpapa.org/en/nevibecode/skills/developer-platform-hiring.md) — skill · 10500 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
