Skip to main content
Glama

MCP Claude Spotify

Mozilla Public License 2.0
16
  • Apple
  • Linux
jest-mock.d.ts820 B
// Type definitions to improve Jest mock type compatibility // Extend Jest's Mock to accept any parameters declare namespace jest { interface Mock<T extends (...args: any[]) => any> { mockResolvedValueOnce(value: any): this; mockRejectedValueOnce(value: any): this; mockImplementation(fn: (...args: any[]) => any): this; mockReturnValue(value: any): this; mockReturnThis(): this; } } // Utility types for mocking Axios declare global { namespace jest { interface MockAxios extends jest.Mock { post: jest.Mock; get: jest.Mock; put: jest.Mock; delete: jest.Mock; patch: jest.Mock; create: jest.Mock; defaults: { headers: { common: Record<string, string>; }; }; } } } // Export to make this a module export {};

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/imprvhub/mcp-claude-spotify'

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