Skip to main content
Glama

list_credentials

Retrieve all stored SSH credentials on the SSH MCP Server to manage and access secure remote connections effectively.

Instructions

List all stored SSH credentials

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function for the 'list_credentials' tool. It queries the SQLite database for all credentials and returns them as a formatted JSON string in the tool response.
    case 'list_credentials': { const credentials = await db.all('SELECT * FROM credentials'); return { content: [{ type: 'text', text: JSON.stringify(credentials, null, 2) }] }; }
  • src/index.ts:111-119 (registration)
    Registration of the 'list_credentials' tool in the list of available tools provided by the ListToolsRequestSchema handler.
    { name: 'list_credentials', description: 'List all stored SSH credentials', inputSchema: { type: 'object', properties: {}, required: [], }, },
  • Input schema definition for the 'list_credentials' tool, specifying no required parameters.
    inputSchema: { type: 'object', properties: {}, required: [], },

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