Skip to main content
Glama

Solr MCP

by allenday
constants.py543 B
"""Constants for vector module.""" from typing import Any, Dict # Default configuration for vector providers DEFAULT_OLLAMA_CONFIG: Dict[str, Any] = { "base_url": "http://localhost:11434", "model": "nomic-embed-text", "timeout": 30, # seconds "retries": 3, } # Environment variable names ENV_OLLAMA_BASE_URL = "OLLAMA_BASE_URL" ENV_OLLAMA_MODEL = "OLLAMA_MODEL" # HTTP endpoints OLLAMA_EMBEDDINGS_PATH = "/api/embeddings" # Model-specific constants MODEL_DIMENSIONS = {"nomic-embed-text": 768} # 768-dimensional vectors

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/allenday/solr-mcp'

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