Skip to main content
Glama
usafhulk

Sales MCP Server

by usafhulk
test_server.py783 B
"""Test script for MCP server functions""" import sys sys.path.insert(0, 'app') from tools.sales_tools import get_total_sales from resources.sales_resources import list_quarters from prompts.sales_prompts import sales_summary_prompt print("Testing MCP Server Functions\n") print("=" * 50) print("\n1. Testing list_quarters():") quarters = list_quarters() print(f" Result: {quarters}") print("\n2. Testing get_total_sales('Q1'):") sales = get_total_sales("Q1") print(f" Result: {sales}") print("\n3. Testing get_total_sales('Q2'):") sales = get_total_sales("Q2") print(f" Result: {sales}") print("\n4. Testing sales_summary_prompt('Q1'):") prompt = sales_summary_prompt("Q1") print(f" Result: {prompt}") print("\n" + "=" * 50) print("All functions working correctly!")

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/usafhulk/MCP'

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