Skip to main content
Glama

remove_credential

Remove stored SSH credentials from the SSH MCP Server to manage access securely and maintain credential hygiene for remote command execution.

Instructions

Remove a stored SSH credential

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes

Implementation Reference

  • The handler function for the 'remove_credential' tool. It extracts the 'name' from arguments, deletes the corresponding credential from the SQLite database using a prepared statement, and returns a success message.
    case 'remove_credential': { const { name } = request.params.arguments as { name: string }; await db.run('DELETE FROM credentials WHERE name = ?', [name]); return { content: [{ type: 'text', text: `Credential ${name} removed successfully` }] }; }
  • src/index.ts:121-130 (registration)
    The tool registration entry in the ListTools response, including the name, description, and input schema definition.
    name: 'remove_credential', description: 'Remove a stored SSH credential', inputSchema: { type: 'object', properties: { name: { type: 'string' }, }, required: ['name'], }, },
  • The input schema for the 'remove_credential' tool, specifying that it requires a 'name' string parameter.
    inputSchema: { type: 'object', properties: { name: { type: 'string' }, }, required: ['name'], },

Other Tools

Related Tools

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/KinoThe-Kafkaesque/ssh-mcp-server'

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