Skip to main content
Glama
generate_endpoints.py877 B
#!/usr/bin/env python3 """ Generate third-party endpoints documentation from the endpoint registry. This script reads the endpoint registry and generates a markdown file documenting all third-party API endpoints used by BioMCP. """ import sys from pathlib import Path # Add src to Python path sys.path.insert(0, str(Path(__file__).parent.parent.parent / "src")) from biomcp.utils.endpoint_registry import EndpointRegistry def main(): """Generate endpoints documentation.""" # Initialize registry registry = EndpointRegistry() # Generate markdown report markdown_content = registry.generate_markdown_report() # Write to file output_path = Path(__file__).parent / "03-third-party-endpoints.md" output_path.write_text(markdown_content) print(f"Generated endpoints documentation: {output_path}") if __name__ == "__main__": main()

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/genomoncology/biomcp'

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