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

@yjzf/yjzf-openclaw-plugin

v1.2.0

Published

**优居找房 U+ MCP 工具插件 for [OpenClaw](https://github.com/openclaw/openclaw)**

Readme

yjzf-openclaw-plugin

优居找房 U+ MCP 工具插件 for OpenClaw

通过 stdio 连接 @yjzf/mcp-server-yjzf,以单工具代理模式将优居找房 U+能力接入 OpenClaw Agent。


✨ 功能特性

  • 🔗 单工具代理模式:注册 yjzf_mcp 工具,通过 list / call 两个操作代理所有 MCP 子工具
  • 📋 动态工具发现:运行时通过 yjzf_mcp list 列出所有可用子工具及参数说明
  • ⏱️ 超时控制:可配置单次 MCP 调用超时时间,防止 MCP server 挂起导致 Agent 卡死
  • 🔄 连接自动重建:MCP client 单例管理,断连后下次调用自动重建
  • 📊 OTEL 追踪:工具调用完整记录在 OpenTelemetry trace 中(openclaw.tool.execution span)

🚀 快速开始

安装

openclaw plugins install yjzf-openclaw-plugin

或本地路径安装:

openclaw.json 中配置:

{
  "plugins": {
    "load": {
      "paths": ["/path/to/yjzf-openclaw-plugin"]
    },
    "allow": ["yjzf-openclaw-plugin"]
  }
}

配置

openclaw.json 中添加插件配置:

{
  "plugins": {
    "yjzf-openclaw-plugin": {
      "apiKey": "your-api-key-here"
    }
  }
}

配置完成后重启网关:

openclaw gateway restart

⚙️ 配置项

| 配置项 | 类型 | 必填 | 默认值 | 说明 | |---|---|---|---|---| | apiKey | string | ✅ | — | 优居找房 U+ API Key,对应 MCP server 的 MCP_YJZF_API_KEY 环境变量 | | timeoutMs | number | ❌ | 300000 | 单次 MCP 调用超时时间(毫秒),默认 5 分钟 |

示例(自定义超时):

{
  "plugins": {
    "yjzf-openclaw-plugin": {
      "apiKey": "your-api-key-here",
      "timeoutMs": 60000
    }
  }
}

🛠️ 工具使用

插件注册 yjzf_mcp 工具,支持两种操作:

列出所有可用工具

yjzf_mcp list

返回所有子工具的名称、描述和参数说明。

调用工具

yjzf_mcp call <toolName> '<jsonArgs>'

示例:

yjzf_mcp call query_order '{"orderId": "2024010100001"}'
yjzf_mcp call apply_refund '{"orderId": "2024010100001", "amount": 100}'

在 Skill 中使用

在 skill 文件中直接说明使用方式,模型即可按需调用:

处理支付相关请求时,使用 yjzf_mcp 工具。

常用操作:
- 查询订单:yjzf_mcp call query_order '{"orderId": "..."}'
- 申请退款:yjzf_mcp call apply_refund '{"orderId": "...", "amount": ...}'

如需查看完整工具列表:yjzf_mcp list

📦 更新

openclaw plugins update yjzf-openclaw-plugin

📄 License

MIT