We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/activepieces/activepieces'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import {
type HttpResponse,
type HttpRequest,
httpClient
} from '@activepieces/pieces-common';
export const callSevenApi = async <T>(
httpRequest: Omit<HttpRequest, 'url'>,
path: string,
apiKey: string
): Promise<HttpResponse<T>> => {
return await httpClient.sendRequest<T>({
...httpRequest,
headers: {
...httpRequest.headers,
Accept: 'application/json',
'Content-Type': 'application/json',
SentWith: 'Activepieces',
'X-Api-Key': apiKey
},
url: `https://gateway.seven.io/api/${path}`
});
};