Skip to main content
Glama
dion-hagan

MCP Server for Spinnaker

by dion-hagan
lines.js334 B
'use strict'; const strip = require('./strip'); /** * @param {string} msg * @param {number} perLine */ module.exports = function (msg, perLine) { let lines = String(strip(msg) || '').split(/\r?\n/); if (!perLine) return lines.length; return lines.map(l => Math.ceil(l.length / perLine)) .reduce((a, b) => a + b); };

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dion-hagan/mcp-server-spinnaker'

If you have feedback or need assistance with the MCP directory API, please join our Discord server