Skip to main content
Glama

ArXiv MCP Server

prompt_manager.py791 B
"""Research journey prompt management for the arXiv MCP server.""" from typing import Dict, Optional from mcp.types import Prompt from .prompts import PROMPTS # Global prompt manager instance _prompt_manager: Optional[Dict[str, Prompt]] = None def get_prompt_manager() -> Dict[str, Prompt]: """Get or create the global prompt manager dictionary. Returns: Dict[str, Prompt]: Dictionary of available prompts """ global _prompt_manager if _prompt_manager is None: _prompt_manager = PROMPTS return _prompt_manager def register_prompt(prompt: Prompt) -> None: """Register a new prompt in the prompt manager. Args: prompt (Prompt): The prompt to register """ manager = get_prompt_manager() manager[prompt.name] = prompt

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/blazickjp/arxiv-mcp-server'

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