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

visflow-agent-connector

v1.0.16

Published

VisFlow Agent Skill and MCP connector for browser automation through Agent Relay

Readme

VisFlow Agent Connector

VisFlow Agent Connector packages two things:

  • A VisFlow Agent Skill that teaches agents when and how to use VisFlow.
  • A VisFlow MCP connector that lets MCP-capable agents call a signed-in VisFlow browser extension through Agent Relay.

Users do not need to clone the VisFlow source repository. The package can install MCP configuration, expose the bundled skill folder, or print a generic MCP JSON block for agents that use custom configuration.

Prerequisites

  • Install the VisFlow browser extension and sign in.
  • Use a VisFlow build with Agent Relay enabled.
  • Install Node.js 18 or newer.
  • Restart the target agent after installation.

Install

Recommended one-command install:

npx -y visflow-agent-connector install --env=prod

Test/internal environment:

npx -y visflow-agent-connector install --env=test

The installer configures the integrations available on the current machine:

  • Codex: installs the VisFlow Skill and MCP config.
  • Cursor: installs MCP config.
  • VS Code: installs MCP config into the VS Code mcp.json.
  • Wiscode-compatible clients: installs VS Code-style mcp.json under the WisCode user config directory. If Wiscode uses a different config path on your machine, pass --config <path-to-mcp.json>.
  • Claude Code: installs MCP config through the claude CLI when available.
  • OpenCode: installs MCP config.
  • OpenClaw: installs MCP config through the openclaw CLI when available.
  • Other MCP clients: supported through print-mcp-json.

Install a single client instead:

npx -y visflow-agent-connector install-codex --db-type=1 --base-url=https://api.research.360.cn/api

Wiscode or other VS Code-compatible clients:

npx -y visflow-agent-connector install-wiscode --env=prod

If the client stores MCP config somewhere else:

npx -y visflow-agent-connector install-wiscode --env=prod --config /path/to/mcp.json

After restarting the agent, ask:

调用 VisFlow 总结当前页面。

For simple one-step browser actions, agents should pass concise prompts to VisFlow and relay VisFlow's final message directly instead of rewriting the result from page metadata.

Agent Skill

Print the bundled skill path:

npx -y visflow-agent-connector skill-path

Install only the skill for Codex:

npx -y visflow-agent-connector install-codex-skill

Print the SKILL.md content:

npx -y visflow-agent-connector print-skill

Install the skill into a custom skills root:

npx -y visflow-agent-connector install-skill --target ~/.codex/skills

The skill is intentionally small. It tells agents to prefer the visflow_* MCP tools, how to verify setup, and which browser actions require caution.

MCP Client Installers

Codex

npx -y visflow-agent-connector install-codex --db-type=1 --base-url=https://api.research.360.cn/api

Writes a managed block into ~/.codex/config.toml.

Cursor

npx -y visflow-agent-connector install-cursor --db-type=1 --base-url=https://api.research.360.cn/api

Writes ~/.cursor/mcp.json. Use --scope=project to write ./.cursor/mcp.json instead.

VS Code

npx -y visflow-agent-connector install-vscode --db-type=1 --base-url=https://api.research.360.cn/api

Writes the user mcp.json for VS Code. Use --scope=project to write ./.vscode/mcp.json instead.

Wiscode-Compatible Clients

npx -y visflow-agent-connector install-wiscode --db-type=1 --base-url=https://api.research.360.cn/api

This writes VS Code-style MCP configuration to the WisCode user config directory. On macOS the default path is:

~/Library/Application Support/WisCode/User/mcp.json

The config content is:

{
  "servers": {
    "visflow": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "visflow-agent-connector", "mcp"]
    }
  }
}

If Wiscode uses this mcp.json format, this is enough after restarting the client. If it uses a custom location, run the command with --config /path/to/mcp.json.

Claude Code

npx -y visflow-agent-connector install-claude-code --db-type=1 --base-url=https://api.research.360.cn/api

Uses the claude mcp add-json command. Claude Code must already be installed. Use --scope=user, --scope=project, or --scope=local as needed.

OpenCode

npx -y visflow-agent-connector install-opencode --db-type=1 --base-url=https://api.research.360.cn/api

Writes ~/.config/opencode/opencode.json. Use --scope=project to write ./opencode.json instead.

OpenClaw

npx -y visflow-agent-connector install-openclaw --db-type=1 --base-url=https://api.research.360.cn/api

Uses the openclaw mcp set command. OpenClaw must already be installed.

Other MCP Clients

For any client that accepts a standard mcpServers JSON block:

npx -y visflow-agent-connector print-mcp-json --db-type=1 --base-url=https://api.research.360.cn/api

Example output:

{
  "mcpServers": {
    "visflow": {
      "command": "npx",
      "args": ["-y", "visflow-agent-connector", "mcp"],
      "env": {
        "VISFLOW_RELAY_BASE_URL": "https://api.research.360.cn/api",
        "VISFLOW_RELAY_DB_TYPE": "1",
        "VISFLOW_RELAY_AUTO_DISCOVER_SESSION": "true"
      }
    }
  }
}

Compatibility

VisFlow Agent Connector does not hardcode a Chrome extension ID. It scans local Chrome extension storage for a signed-in VisFlow session, so it works with:

  • A zip package installed through Chrome developer mode.
  • The Chrome Web Store version.

If multiple VisFlow extension builds are installed, set VISFLOW_RELAY_EXTENSION_ID in the MCP environment to target a specific extension.

Security Model

The skill does not grant browser access by itself. It only teaches an agent how to use the MCP connector and what safety constraints to respect.

The connector does not store the user's access token in agent configuration. For normal local usage, it discovers the current signed-in extension session from Chrome's local extension storage. Hosted or company agent services should use a service-level Agent Relay API key on the server side instead of relying on local discovery.

The connector does not execute arbitrary shell or browser JavaScript from an agent. It sends explicit Agent Relay commands such as ai.execute to the VisFlow extension, and the extension executes through its existing AI execution module.