Skip to main content
Glama

Withings MCP Client

by gchallen
cli.js1.04 kB
#!/usr/bin/env node "use strict"; const args = process.argv.slice(2); const command = args[0]; if (command === 'tokens') { // Run the token authorization tool import('./login.js').then((module) => { // The login module runs its main function on import }).catch((error) => { console.error('Failed to run tokens command:', error); process.exit(1); }); } else if (command === 'server' || !command) { // Run the MCP server (default) import('./index.js').then((module) => { // The index module runs the server on import }).catch((error) => { console.error('Failed to run MCP server:', error); process.exit(1); }); } else { console.error(`Unknown command: ${command}`); console.error('Usage:'); console.error(' withings-mcp # Start MCP server (default)'); console.error(' withings-mcp server # Start MCP server'); console.error(' withings-mcp tokens # Run OAuth authorization'); process.exit(1); } //# sourceMappingURL=cli.js.map

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/gchallen/withings-mcp'

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