import fs from 'fs';
import semver from 'semver';
// Read current version from package.json
const pkg = JSON.parse(fs.readFileSync('./package.json', 'utf8'));
const currentVersion = pkg.version;
// Increment patch version
const nextVersion = semver.inc(currentVersion, 'patch');
// Output just the version number
console.log(nextVersion);
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/kortexa-ai/mcp-slop-adapter'
If you have feedback or need assistance with the MCP directory API, please join our Discord server