Skip to main content
Glama
by Ritesh-sudo
api.ts681 B
import axios from 'axios' import { JobSearchResponse } from '../types/types' const API_URL = import.meta.env.VITE_API_URL || 'http://localhost:4000' type Params = { location: string includeInternships: boolean includeFullTime: boolean keywords: string[] maxResults?: number } export async function fetchJobs(params: Params): Promise<JobSearchResponse> { const { location, includeInternships, includeFullTime, keywords, maxResults = 50 } = params const resp = await axios.get(`${API_URL}/search`, { params: { location, includeInternships, includeFullTime, keywords: keywords.join(','), maxResults } }) return resp.data }

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/Ritesh-sudo/MCPJobSearch'

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