import { z } from 'zod';
/**
* Parameter schema for pwd command
* pwd doesn't accept any parameters
*/
export const pwdInputSchema = z.object({}).strict();
/**
* Response schema for pwd command
* Returns a ShellString containing the current working directory
*/
export const pwdResponseSchema = z.object({
stdout: z.string(), // The current working directory path
stderr: z.string().optional(), // Error message if any
code: z.number(), // Exit code (0 for success)
});
export type PwdInput = z.infer<typeof pwdInputSchema>;
export type PwdResponse = z.infer<typeof pwdResponseSchema>;
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/erniebrodeur/mcp-shelljs'
If you have feedback or need assistance with the MCP directory API, please join our Discord server