🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

lanhu-content-mcp

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

lanhu-content-mcp

A Model Context Protocol (MCP) server demo

1.0.3
unpublished
latest
npm
Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created
Source

lanhu-content-mcp

一个基于Model Context Protocol (MCP)的服务器演示项目,用于处理蓝湖相关内容。

安装

npm install lanhu-content-mcp

使用方法

在代码中使用

import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/dist/server/stdio.js";

// 创建MCP服务器实例
const server = new McpServer({
  name: "Demo",
  version: "1.0.0"
});

// 连接服务器
const transport = new StdioServerTransport();
await server.connect(transport);

在Cursor中使用

本项目已发布到npm,可以直接在Cursor中通过MCP插件使用。插件会自动使用npx运行已发布的包,无需额外配置。

功能特性

  • 支持蓝湖API集成
  • 提供标准MCP服务器功能
  • 支持自定义工具和资源扩展

开发

# 安装依赖
npm install

# 运行开发服务器
npm start

# 运行测试
npm test

# 构建项目
npm run build

许可证

MIT

FAQs

Package last updated on 16 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts