OSP Marketing Tools for Node.js is a comprehensive MCP server implementation in TypeScript that provides tools for technical marketing content creation, optimization, and product positioning based on Open Strategy Partners' methodologies. It offers simplified installation, cross-platform compatibility, and better performance compared to the Python version.
Add to your Claude Desktop configuration file (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
Then add to your Claude Desktop configuration file (claude_desktop_config.json
):
{
"mcpServers": {
"osp_marketing_tools": {
"command": "node",
"args": [
"path/to/osp-marketing-tools-mcp/dist/index.js"
]
}
}
}
Note for Windows users: Use double backslashes in your path. For example:
"args": ["C:\\Users\\YourName\\Documents\\osp-marketing-tools-mcp\\dist\\index.js"]
npm start
npm run start:sse
This starts a web server on port 3000 (configurable via PORT environment variable). You can access the web interface at http://localhost:3000/
for an interactive demo.
health_check
- Server health status and resource availability checkget_editing_codes
- OSP Editing Codes for semantic content reviewget_writing_guide
- OSP Writing Guide for creating technical contentget_meta_guide
- OSP Meta Information Generator for web content optimizationget_value_map_positioning_guide
- OSP Product Value Map Generator for product positioningget_on_page_seo_guide
- OSP On-Page SEO Guide for content optimizationedit-content
- Review content using OSP editing codesgenerate-meta
- Generate optimized metadata for web contentgenerate-value-map
- Create a structured OSP value mapapply-writing-guide
- Apply OSP writing principles to technical contentoptimize-seo
- Apply on-page SEO strategies to contentTo review content using OSP editing codes:
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.
To generate a product value map:
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
Example JavaScript code for connecting to the SSE endpoint:
// 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();
}
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "osp_marketing_tools" '{"command":"node","args":["path/to/osp-marketing-tools-mcp/dist/index.js"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"osp_marketing_tools": {
"command": "node",
"args": [
"path/to/osp-marketing-tools-mcp/dist/index.js"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"osp_marketing_tools": {
"command": "node",
"args": [
"path/to/osp-marketing-tools-mcp/dist/index.js"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect