Skip to main content
Glama

Random Number MCP

by zazencodes
MIT License
42
  • Apple
conftest.py564 B
"""Test configuration for random-number-mcp.""" from typing import Any import pytest @pytest.fixture def sample_population() -> list[Any]: """Sample population for testing random choices.""" return ["apple", "banana", "cherry", "date", "elderberry"] @pytest.fixture def sample_numbers() -> list[int]: """Sample numbers for testing shuffle operations.""" return [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] @pytest.fixture def sample_weights() -> list[float]: """Sample weights for testing weighted choices.""" return [0.1, 0.2, 0.3, 0.25, 0.15]

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/zazencodes/random-number-mcp'

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