Skip to content

cwfs-insight/realinsight-connector

v0.2.3MIT

Connect AI agents to authenticated Realinsight tools and reusable workflow skills.

Realinsight For Agents

Realinsight For Agents is the public distribution workspace for Realinsight agent integrations.

It packages the ri-agent CLI, local and hosted MCP connection examples, Codex, Claude, and Cursor plugin assets, Claude Desktop extension assets, and Realinsight skills for agent harnesses that can use them.

The repository root also follows the Agent Plugins 1.0.0 portable package format. Compatible clients can discover the root plugin.json, the production streamable-http server in mcp.json, and the exported skills/ together. See docs/agent-plugins.md.

Toolkit 0.2.3 also exposes the public Realinsight skill through the current draft SEP-2640 MCP extension. Compatible hosted and stdio clients can discover it with skills/list, resolve it with skills/get, and fetch its declared files lazily with resources/read.

Which Install Should I Use?

UserRecommended pathWhy
Business user in ChatGPTHosted Realinsight ConnectorBrowser-based install and OAuth, no terminal setup.
Business user in Claude or Claude DesktopHosted custom connectorUses Claude's connector UI and Realinsight OAuth.
Claude Code userClaude pluginBundles the Realinsight skill and MCP server config.
Claude Desktop user who needs local stdioClaude Desktop .mcpb extensionOne local extension bundle with the CLI runtime included.
Codex userCodex pluginBundles the Realinsight skill and MCP server config.
Cursor userCursor pluginBundles Realinsight skill files and hosted MCP config.
Copilot, OpenCode, or other coding harnessGenerated MCP packageUses bundled Node source, hosted HTTP MCP, or mcp-remote depending on host support.
Developer or pilotLocal Node source from this repoDirect CLI, doctor, auth, and local MCP testing before npm publication.

Start with the guided installation site or docs/install/chooser.md for the full decision tree. Agents can read docs/agent-install.md, docs/install-data.json, or docs/llms.txt. See docs/environments.md for dev, QA, production, and pilot environment packaging guidance. See providers/ for checked-in provider marketplaces, and docs/distribution-packages.md for local-only generated package workflows.

Quick Install Paths

Use this repository as the source:

cwfs-insight/realinsight-agent-toolkit
HostProductionDevelopmentQA
Codex marketplaceRepository root, install realinsight-connectorRepository root, install realinsight-connector-devRepository root, install realinsight-connector-qa
Claude marketplace pathRepository root, or providers/claude/prodproviders/claude/devproviders/claude/qa
Cursor plugin pathproviders/cursor/pluginproviders/cursor/dev/pluginproviders/cursor/qa/plugin

Codex and Claude install from marketplace roots. Cursor installs from the plugin folder itself. In Codex Desktop, leave Sparse paths empty when adding this GitHub marketplace; sparse paths filter the checkout but do not change the marketplace root.

Default production endpoints use:

https://www.realinsight.cloud/api/v1/mcp

Dev and QA provider paths are intentionally explicit so they do not replace the public production default.

Repository Layout

packages/agent-toolkit/              # npm package for ri-agent CLI and stdio MCP
plugin.json                           # portable Agent Plugins manifest
mcp.json                              # portable production Streamable HTTP MCP config
skills/                              # public Realinsight skills and references
plugins/codex/realinsight-connector/ # Source Codex plugin bundle copied into providers
plugins/claude/realinsight-connector/ # Source Claude plugin bundle copied into providers
extensions/claude-desktop/           # Claude Desktop MCPB source
providers/                           # checked-in Codex, Claude, and Cursor providers
examples/mcp/                        # MCP config examples by environment
docs/install/                        # host-specific install guides
docs/environments.md                 # dev/qa/prod environment packaging guidance
.claude-plugin/                      # Claude plugin marketplace metadata

The Realinsight release pipeline exports managed runtime, skill, plugin, and extension assets into this workspace. Repo-owned documentation, install guides, provider metadata, security docs, and release process files should not be overwritten by that export.

Developer Quick Start

npm run ri-agent -- auth login --base-url https://www.realinsight.cloud/api/v1
npm run ri-agent -- doctor --json
npm run ri-agent -- mcp

For package publication testing:

npm run test:contract
npm run test:agent-plugin
npm run pack:dry-run
npm run validate:agent-plugin

For checked-in provider marketplaces:

npm run build:providers
npm run validate:providers

Local Toolkit Quick Start

npm run ri-agent -- auth login --base-url https://www.realinsight.cloud/api/v1
npm run ri-agent -- doctor --json
npm run ri-agent -- mcp

The native npx -y @realinsight/agent-toolkit@<version> path is reserved for a future npm publication. Until then, generated stdio bundles use checked-in Node source, and generated mcp-remote bundles use npx -y mcp-remote@latest as a bridge to the hosted Streamable HTTP MCP endpoint.

Managed Content

The managed export contract lives in docs/release-process.md. In short:

  • Generated runtime code lives under packages/agent-toolkit/src/.
  • The npm-packaged MCP skill copy lives under packages/agent-toolkit/skills/.
  • Exported public skills live under skills/.
  • Host bundle copies live under plugins/ and extensions/.
  • Root docs, install guides, provider metadata, security files, and release process files are repo-owned.

When Realinsight starts publishing documentation corpora for agents, add them as a separate managed root with its own manifest entry rather than mixing them into the CLI or skill folders.