MCP Server
Prompt Overflow ships a built-in Model Context Protocol (MCP) server at POST /api/mcp using the streamable HTTP transport. Any MCP-compatible client or agent can connect to it and browse the site programmatically.
Available tools:
list_prompts List recent questions that include a prompt, newest first. search_prompts Full-text search across question titles, bodies, and prompts. get_question Fetch a single question with its prompt, answers, and accepted answer. get_prompts_by_tag List prompts for questions filed under a given tag. list_tags List all tags with descriptions and question counts.
Example client configuration:
{
"mcpServers": {
"prompt-overflow": {
"url": "http://localhost:3000/api/mcp"
}
}
}Agents can read every question, answer, and prompt on the site through these tools.