Skip to main content
Glama
OSP Marketing Tools MCP Server

OSP Marketing Tools MCP Server

Node.js 的 OSP 营销工具

模型上下文协议语言执照

基于Open Strategy Partners久经考验的方法论,提供一套全面的技术营销内容创建、优化和产品定位工具。这是 OSP 营销工具 MCP 服务器的 TypeScript 实现。

为什么要使用 TypeScript 实现?

与原始 Python 版本相比,此 TypeScript/Node.js 实现具有显著优势:

  • 简化安装:更少的依赖性和更直接的安装过程

  • 跨平台兼容性:在 Windows 上无缝运行,没有常见的 Python 依赖问题

  • 更快的性能:Node.js 通常为这种类型的服务器提供更好的性能

  • 现代 JavaScript 生态系统:利用强大的 npm 包生态系统

  • 更易于集成:更易于与 Web 应用程序和其他 JavaScript 工具集成

  • 较低的资源使用率:通常需要较少的内存和系统资源

非常适合那些想要使用 OSP 营销工具而又不想处理 Python 依赖项、虚拟环境或兼容性问题的人。

Related MCP server: WithSeismic MCP

特征

1. OSP产品价值图生成器

生成结构化的OSP 产品价值图,有效传达您的产品价值和定位。此工具提供:

  • 战略标语的创建和完善

  • 涵盖市场、技术、用户体验和业务维度的立场声明

  • 角色、挑战和需求的角色发展

  • 价值案例文档,包含明确的优势、挑战和解决方案

  • 结构化层次中的特征分类

2. OSP元信息生成器

通过合理的关键词布局和 SEO 友好的结构,为网页内容创建优化的元数据。此工具可提供以下功能:

  • 文章标题(H1)包含战略性关键词

  • 针对搜索进行优化的元标题(50-60 个字符)

  • 具有引人注目的价值主张的元描述(155-160 个字符)

  • SEO友好的URL段

  • 搜索意图分析和优化

  • 移动显示注意事项

3. OSP内容编辑代码

应用OSP的语义编辑代码进行全面的内容审核。该系统提供:

  • 范围和叙事结构分析

  • 流程和可读性增强

  • 风格和措辞优化

  • 词汇选择和语法验证

  • 技术准确性验证

  • 包容性语言指导

  • 提供前后示例的建设性反馈

4. OSP技术写作指南

系统化的方法,用于创建具有合理叙事结构和流程的高质量技术内容。本指南涵盖以下内容:

  • 叙事结构原则和逻辑进程

  • 流程优化和内容组织

  • 清晰、精确的风格指南

  • 技术准确性验证

  • 内容类型特定指南(教程、参考文档、API 文档)

  • 可访问性和国际化最佳实践

5. OSP页面SEO指南

全面的网站内容优化系统,旨在提升搜索引擎和用户体验。本指南包含以下内容:

  • 元内容优化策略

  • 内容深度增强技术

  • 跨不同查询类型的搜索意图对齐

  • 关键词研究和集成协议

  • 内部链接最佳实践

  • 结构化数据实现

  • 内容推广策略

安装

先决条件

  • Node.js 18 或更高版本

  • npm 或 yarn

设置

您可以通过两种方式安装和使用此包:

通过 npm 设置(推荐)

  1. 全局安装包:

添加到您的 Claude Desktop 配置文件( claude_desktop_config.json ):

{
  "mcpServers": {
    "ai_think_gate": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/osp-marketing-tools-mcp"
      ]
    }
  }
}

从源代码设置

# Clone the repository
git clone https://github.com/x51xxx/osp-marketing-tools-mcp.git
cd osp-marketing-tools-mcp

# Install dependencies
npm install

# Build the project
npm run build

添加到您的 Claude Desktop 配置文件( claude_desktop_config.json ):

{
  "mcpServers": {
    "osp_marketing_tools": {
      "command": "node",
      "args": [
        "path/to/osp-marketing-tools-mcp/dist/index.js"
      ]
    }
  }
}

Windows 用户须知:请务必将path/to/osp-marketing-tools-mcp替换为您计算机上osp-marketing-tools-mcp目录的实际路径。例如,如果您将仓库克隆到C:\Users\YourName\Documents\osp-marketing-tools-mcp ,则args行应如下所示:

"args": ["C:\\Users\\YourName\\Documents\\osp-marketing-tools-mcp\\dist\\index.js"]

另外,请记住在路径中使用双反斜杠\\而不是单反斜杠\ 。

用法

以 stdio 模式运行服务器(适用于 Claude Desktop、Cursor 等)

npm start

以 HTTP/SSE 模式运行服务器

npm run start:sse

这将在端口 3000 上启动一个 Web 服务器(可通过 PORT 环境变量配置),该服务器通过服务器发送事件 (SSE) 公开 MCP API。

一旦服务器在 HTTP/SSE 模式下运行,您就可以访问http://localhost:3000/上的 Web 界面,该界面提供了可用工具的交互式演示。

可用工具

  • health_check - 服务器健康状态和资源可用性检查

  • get_editing_codes - OSP 编辑代码文档和语义内容审查使用协议

  • get_writing_guide - OSP 写作指南,其中包含创建高质量技术内容的原则

  • get_meta_guide - 用于 Web 内容元数据优化的 OSP 元信息生成器

  • get_value_map_positioning_guide - OSP 产品价值图生成器,用于有效的产品定位

  • get_on_page_seo_guide - OSP 页面 SEO 指南,用于全面内容优化

可用提示

  • edit-content - 使用 OSP 编辑代码审查内容,以提高质量和清晰度

  • generate-meta - 为网页内容生成优化的元数据,并放置适当的关键词

  • generate-value-map - 创建结构化的 OSP 价值图,用于产品定位

  • apply-writing-guide - 应用 OSP 写作原则来创建技术内容

  • optimize-seo - 应用页面搜索引擎优化策略来优化搜索内容

示例用法

与 Claude 或其他 LLM 一起使用

要使用 OSP 编辑代码来审查内容,只需将此提示发送给 Claude(配置 MCP 服务器后):

Review this technical content using OSP editing codes:

Kubernetes is a container orchestration platform. It handles deploying applications and scaling them as needed. There's lots of things it can do. It's really good. You should use it for your applications to make them more resilient.

生成产品价值图:

Generate an OSP value map for [Product Name] focusing on [target audience] with the following key features: [list features]

Example:
Generate an OSP value map for CloudDeploy focusing on DevOps engineers with these key features:
- Automated deployment pipeline
- Infrastructure as code support
- Real-time monitoring
- Multi-cloud compatibility

与直接 API 集成 (SSE) 结合使用

该服务器提供了一个 JavaScript 客户端示例,演示了如何使用服务器发送事件 (SSE) 连接到 MCP 服务器。当您以 HTTP/SSE 模式运行服务器时,您可以通过http://localhost:3000/访问该示例。

下面是一个以编程方式连接到 SSE 端点的简单示例:

// Connect to SSE endpoint
const source = new EventSource('http://localhost:3000/sse');
let sessionId;

// Listen for session ID
source.addEventListener('sessionId', (event) => {
    sessionId = JSON.parse(event.data).sessionId;
    console.log(`Connected with session ID: ${sessionId}`);
});

// Listen for tool responses
source.addEventListener('toolResponse', (event) => {
    const response = JSON.parse(event.data);
    console.log('Tool response:', response);
});

// Call a tool
async function callTool(name, args = {}) {
    const response = await fetch(`http://localhost:3000/messages?sessionId=${sessionId}`, {
        method: 'POST',
        headers: {
            'Content-Type': 'application/json',
        },
        body: JSON.stringify({
            jsonrpc: '2.0',
            id: Date.now().toString(),
            method: 'tools/call',
            params: {
                name: name,
                arguments: args
            }
        })
    });

    return response.json();
}

发展

# Run in development mode (stdio)
npm run dev

# Run in development mode (HTTP/SSE)
npm run dev:sse

项目结构

osp-marketing-tools-mcp/
├── prompts/             # Markdown resources from OSP tools
├── public/              # Static web files for HTTP server
│   └── index.html       # SSE client demo interface
├── src/
│   ├── utils/           # Utility functions
│   │   └── contentReader.ts
│   ├── tools/           # MCP tool implementations
│   │   └── index.ts
│   ├── prompts/         # MCP prompt templates
│   │   └── index.ts
│   ├── resources/       # MCP resource implementations
│   │   └── index.ts
│   ├── index.ts         # Main entry point (stdio)
│   └── http.ts          # HTTP/SSE server
├── dist/                # Compiled JavaScript (generated)
├── package.json
└── tsconfig.json

归因

该软件基于Open Strategy Partners开发的内容创建和优化方法,并实现了其基于 LLM 的营销工具和专业内容创建框架。

欲了解更多信息和原始资源,请访问:

  1. OSP写作和编辑指南

  2. 编辑代码快速入门指南

  3. OSP 免费资源

执照

本软件根据知识共享公司 (“知识共享”) 的署名-相同方式共享 4.0 国际许可进行授权。

Available Tools

6 tools
get_editing_codesB

Get the Open Strategy Partners (OSP) editing codes documentation and usage protocol for editing texts. These semantic editing marks provide a standardized framework for content review with a teaching/learning focus.

Inputs: no named parameters.

get_meta_guideC

Get the Open Strategy Partners (OSP) Web Content Meta Information Generation System for creating optimized article titles, meta titles, meta descriptions, and slugs for web content with proper keyword placement and search intent analysis.

Inputs: no named parameters.

get_on_page_seo_guideB

Get the Open Strategy Partners (OSP) On-Page SEO Optimization Guide for comprehensive web content optimization, covering meta content, keyword research, content depth, search intent alignment, internal linking, and structured data.

Inputs: no named parameters.

get_value_map_positioning_guideB

Get the Open Strategy Partners (OSP) Product Communications Value Map Generation System for Product Positioning, including taglines, position statements, personas, value cases, and feature categorization in a structured hierarchy.

Inputs: no named parameters.

get_writing_guideB

Get the Open Strategy Partners (OSP) writing guide and usage protocol for creating high-quality technical content. This guide provides systematic principles for narrative structure, flow, style, and technical accuracy.

Inputs: no named parameters.

health_checkB

Check if the server is running and can access its resources

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap: editing codes, meta guide, SEO guide, value map positioning, writing guide, and health check. The descriptions specify unique domains (e.g., semantic editing marks vs. web content optimization), making misselection unlikely.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with 'get_' prefix for five tools and a descriptive 'health_check' for the sixth. The naming is uniform and predictable, using snake_case throughout without deviations.

    Tool Count4/5

    Six tools are reasonable for a marketing-focused server, covering key areas like SEO, content creation, and positioning. It's slightly thin but well-scoped; each tool earns its place without redundancy or obvious gaps in the core domain.

    Completeness3/5

    The tools provide comprehensive guides for content creation, SEO, and positioning, but they are all 'get' operations with no create/update/delete actions. This limits agent workflows to retrieval only, leaving notable gaps for interactive or generative tasks in the marketing domain.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers