We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jrmatherly/mcp-context-forge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
test_server.py•678 B
# -*- coding: utf-8 -*-
"""Tests for Bitbucket MCP Server.
Validates that the server module is importable and tools are registered.
"""
import types
def test_server_module_importable():
"""Basic import test ensures package structure is valid."""
mod = __import__("bitbucket_mcp_server.server_fastmcp", fromlist=["server_fastmcp"])
assert isinstance(mod, types.ModuleType)
def test_mcp_app_has_tools():
"""Verify the FastMCP app has tools registered."""
from bitbucket_mcp_server.server_fastmcp import mcp
# FastMCP registers tools via decorators — check the app object exists
assert mcp is not None
assert mcp.name == "bitbucket-server"