Skip to main content
Glama
build_index.py340 B
#!/usr/bin/env python3 from __future__ import annotations from public_apis_mcp.embeddings import build_index, save_index def main() -> None: idx = build_index() save_index(idx) print( f"Built index: {len(idx.ids)} items, dim={idx.vectors.shape[1]}, model={idx.model_id}" ) if __name__ == "__main__": main()

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/zazencodes/public-apis-mcp'

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