Skip to main content
Glama
main.py1.02 kB
#!/usr/bin/env python3 """Local STDIO launcher for the Smithery FastMCP server.""" from __future__ import annotations import asyncio import logging from mcp.server import NotificationOptions from mcp.server.models import InitializationOptions from mcp.server.stdio import stdio_server from arxiv_latex_mcp.server import create_server logging.basicConfig(level=logging.INFO) async def main() -> None: """Run the FastMCP server over stdio for local development.""" server = create_server() async with stdio_server() as (read_stream, write_stream): await server.run( read_stream, write_stream, InitializationOptions( server_name=server.name, server_version="1.0.0", capabilities=server.get_capabilities( notification_options=NotificationOptions(), experimental_capabilities={}, ), ), ) if __name__ == "__main__": asyncio.run(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/IoanaCristescu15/arxiv-latex-mcp'

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