Skip to main content
Glama

get_blogs

Fetch all blogs from the MCP Blog API service to access available blog posts for reading or analysis.

Instructions

Fetch all blogs from the mock API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • main.py:16-20 (handler)
    The implementation of the get_blogs tool. It is registered via the @mcp.tool() decorator and fetches all blogs from the mock API endpoint defined in the MOCK_API_URL environment variable, returning the JSON response.
    @mcp.tool() def get_blogs(): """Fetch all blogs from the mock API.""" response = httpx.get(mock_api_url) return response.json()

Other Tools

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/tussanakorn/POC_MCP_Protocol_using_FastMCP'

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