Skip to main content
Glama

File Search Server

by liu10250510
models.py638 B
from pydantic import BaseModel from typing import List, Dict class SearchRequest(BaseModel): folder_path: str search_prompt: str max_results: int = 10 class SearchParams(BaseModel): file_types: List[str] = [] filename_keywords: List[str] = [] content_keywords: List[str] = [] search_sequence: List[str] = ["file_type", "filename", "content"] search_logic: str = "AND" # "AND" or "OR" - defines if all criteria must match or any class SearchResult(BaseModel): file_path: str relative_path: str file_name: str relevance_score: int match_details: str search_type: str = "combined"

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/liu10250510/mcp-file-search-server'

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