We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jsuryanm/mcp-jobs-recommender-agent'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import os
from pathlib import Path
import logging
logging.basicConfig(level=logging.INFO,format="[%(asctime)s]: %(message)s")
project_name = "job"
list_of_files = [
"setup.py",
"requirements.txt",
"src/__init__.py",
"src/job_api.py",
"src/helper.py",
"mcp_server.py",
"app.py",
]
for filepath in list_of_files:
filepath = Path(filepath)
filedir,filename = os.path.split(filepath)
if filedir != "":
os.makedirs(filedir,exist_ok=True)
logging.info(f"Creating directory: {filedir} for file {filename}")
if (not os.path.exists(filename)) or (os.path.getsize(filename) == 0):
with open(filepath,"w") as f:
pass
logging.info(f"Creating empty file: {filename}")
else:
logging.info(f"{filename} is already created")