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

dscn-mcp-local

v0.1.4

Published

A local MCP server for interacting with Dassault Systemes 3DExperience

Downloads

166

Readme

dscn-mcp-local

一个本地 MCP (Model Context Protocol) 服务器,用于与 Dassault Systèmes 3DExperience 平台进行交互。

功能特性

  • execute_mql: 在 3DExperience 服务器上执行 MQL (Matrix Query Language) 命令
  • import_spinner_file: 通过 Spinner 机制将本地文件导入到 3DExperience 平台
  • reload_cache: 重新加载 3DExperience 服务器上的 Spinner 缓存(可选重置 RMI)
  • monitor_thread_dump: 获取本地 3DSpace 服务器的线程转储信息
  • monitor_top_sql: 获取数据库 Top SQL(按耗时降序排序)
  • monitor_db_locks: 获取当前所有数据库阻塞锁
  • monitor_db_locks_by_time: 获取满足时间过滤条件的数据库阻塞锁
  • monitor_top_db_locks: 获取 Top N 数据库阻塞锁(按锁定时间降序)
  • monitor_db_sessions: 获取数据库会话信息(可按用户名过滤)
  • log_search: 按关键字搜索 3DSpace 服务器日志文件(支持来源/时间/文件模式过滤)
  • log_trace: 开启或关闭 3DSpace 服务器的 MQL Trace 日志
  • log_coretime: 在 3DSpace 服务器上执行 Coretime 日志性能分析

安装

npm install
npm run build

配置

在项目根目录创建 .env 文件,配置以下环境变量:

3DEXPERIENCE_URL=https://your-server.com/3dspace
3DEXPERIENCE_SECURITY_CONTEXT=your-security-context
3DEXPERIENCE_USERNAME=your-username
3DEXPERIENCE_PASSWORD=your-password
3DEXPERIENCE_MQL_ENDPOINT=/resources/mcp/mql/run
3DEXPERIENCE_SPINNER_IMPORT_ENDPOINT=/resources/mcp/spinner/importFiles
3DEXPERIENCE_SPINNER_RELOAD_ENDPOINT=/resources/mcp/spinner/reloadCache
3DEXPERIENCE_MONITOR_ENDPOINT=/resources/mcp/monitor
3DEXPERIENCE_LOG_ENDPOINT=/resources/mcp/log

使用

# 构建项目
npm run build

# 启动服务器
npm start

# 开发模式
npm run dev

MCP 集成

本服务器使用 stdio 传输协议,可与支持 MCP 的 AI 助手(如 Claude Desktop、VS Code Copilot)集成。

依赖

  • @modelcontextprotocol/sdk - MCP 协议 SDK
  • axios - HTTP 客户端
  • zod - 数据验证
  • archiver - 文件归档
  • dotenv - 环境变量管理

许可证

ISC