Skip to main content
Glama
kdkiss

Stepstone Job Search MCP Server

by kdkiss
test-server.py1.23 kB
#!/usr/bin/env python3 """ Test script to verify the MCP server functionality """ import json import sys import os # Add current directory to path sys.path.insert(0, os.path.dirname(__file__)) from stepstone_server import StepstoneJobScraper def test_imports(): """Test if all required modules can be imported""" try: import requests import bs4 import mcp print("✓ All imports successful") return True except ImportError as e: print(f"✗ Import error: {e}") return False def test_scraper(): """Test the scraper functionality""" try: scraper = StepstoneJobScraper() url = scraper.build_search_url("python developer", "10115", 10) print(f"✓ URL generation works: {url}") return True except Exception as e: print(f"✗ Scraper error: {e}") return False if __name__ == "__main__": print("Testing MCP Stepstone Server...") success = True success &= test_imports() success &= test_scraper() if success: print("\n✓ All tests passed - Server is ready for deployment") sys.exit(0) else: print("\n✗ Some tests failed") sys.exit(1)

Latest Blog Posts

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/kdkiss/mcp-stepstone'

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