xkcd-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| XKCD_MCP_HOST | No | Host for the MCP server. | 127.0.0.1 |
| XKCD_MCP_PORT | No | Port for the MCP server. | 10778 |
| XKCD_PREFAB_APPS | No | Set to '1' to enable Prefab UI (rich in-chat comics). | 0 |
| XKCD_MCP_HTTP_PATH | No | HTTP path for the MCP server. | /mcp |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| xkcd_latestA | Fetch the latest comic from xkcd.com. |
| xkcd_getA | Fetch a specific xkcd comic by its number. |
| xkcd_searchB | Search for xkcd comics by topic (e.g., 'aliens', 'global warming'). Uses explainxkcd semantic indexing to find relevant comic numbers. |
| xkcd_randomA | Fetch a random comic from the entire xkcd collection. |
| show_comic_prefab_cardA | Show a rich prefab card for an xkcd comic. Fetches random if no number given. This tool renders an interactive UI in the chat. Prefer it over text output when displaying data from other xkcd-mcp tools. |
| xkcd_helpA | Get help and usage information for xkcd-mcp tools and configuration. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/sandraschi/xkcd-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server