import Smithery from '@smithery/api';
const client = new Smithery({
apiKey: process.env['SMITHERY_API_KEY'], // This is the default and can be omitted
});
const response = await client.servers.secrets.set('server', {
namespace: 'namespace',
name: 'x',
value: 'x',
});
console.log(response.success);