NovaLead MCP
Officialby NovaLeadApp
README.md
# NovaLead MCP
An MCP server for setting up NovaLead chat widgets and custom client chat integrations. This repository is a development preview. The local demo uses synthetic data and fixture URLs under `example.invalid`.
## Try the demo
Use Node.js 24 and pnpm 9.15.4.
```sh
pnpm install --frozen-lockfile
pnpm test
export NOVALEAD_MCP_DEMO_TOKEN="$(openssl rand -hex 24)"
pnpm demo
```
The demo binds to `http://127.0.0.1:3188/mcp`. In an MCP client that supports HTTP bearer tokens, connect to that URL using the token above. In Codex, put the environment variable name in the server configuration.
```toml
[mcp_servers.novalead-demo]
url = "http://127.0.0.1:3188/mcp"
bearer_token_env_var = "NOVALEAD_MCP_DEMO_TOKEN"
```
The demo stores drafts in memory. It does not publish to NovaLead, visit a website, generate AI answers, or deliver messages to customers. The installation check reports which facts the demo could establish.
## Tools
| Tool | Purpose | Scope |
| --------------------------- | -------------------------------------------------- | ---------------- |
| `get_workspace_context` | Read the authorized business and its installations | `widget:read` |
| `prepare_widget_launch` | Create a launch draft | `widget:prepare` |
| `get_widget_launch_status` | Check an operation and its next action | `widget:read` |
| `test_widget_launch` | Request an isolated test of a draft revision | `widget:test` |
| `apply_widget_launch` | Request publication of the exact approved revision | `widget:publish` |
| `get_widget_installation` | Get a loader URL or custom chat connection details | `widget:read` |
| `check_widget_installation` | Read evidence for an installation on a page | `widget:test` |
Visitor messages use a separate chat API and Socket.IO transport. This server controls installation, configuration and verification.
## Hosted integration
The hosted entry point exposes the workspace and published widget reads. It expects a trusted OAuth authorization server and a private NovaLead bridge. An official endpoint for real accounts is still in development. Hosting the demo does not grant access to NovaLead accounts.
| Setting | Purpose |
| --------------------------------- | ----------------------------------------------------------------- |
| `MCP_RESOURCE_URL` | Canonical HTTPS MCP endpoint, including its path |
| `MCP_OAUTH_ISSUER` | OAuth issuer URI |
| `MCP_OAUTH_INTROSPECTION_URL` | HTTPS endpoint on the OAuth issuer origin |
| `MCP_OAUTH_INTROSPECTION_BASIC` | Base64-encoded confidential client credentials for introspection |
| `MCP_NOVALEAD_BRIDGE_URL` | HTTPS endpoint of the private NovaLead bridge |
| `MCP_NOVALEAD_BRIDGE_SIGNING_KEY` | Base64url-encoded 32-byte service key provisioned by the operator |
| `HOST`, `PORT` | Bind address and port, defaulting to loopback and 3188 |
Do not place production credentials in a tracked file or connect the demo to a live workspace. See [the bridge contract](docs/bridge.md) for the trust boundary.
## License
[Apache License 2.0](LICENSE).
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues