Skip to main content
Glama

Micro.blog Books MCP Server

by 7robots
__main__.py729 B
"""Main entry point for the Micro.blog Books MCP Server.""" import sys import click from .server import create_server @click.command() @click.option( "--bearer-token", envvar="MICRO_BLOG_BEARER_TOKEN", required=True, help="Bearer token for Micro.blog API (can also be set via MICRO_BLOG_BEARER_TOKEN env var)", ) def main(bearer_token: str) -> None: """Run the Micro.blog Books MCP Server.""" if not bearer_token: click.echo("Error: Bearer token is required", err=True) click.echo("Set MICRO_BLOG_BEARER_TOKEN environment variable or use --bearer-token option", err=True) sys.exit(1) app = create_server(bearer_token) app.run() 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/7robots/micro-mcp-server'

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