Octocat Harry Potter MCP Server
Provides access to GitHub's Octodex API, enabling fetching and retrieval of Octocat characters from the Octodex collection.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Workshop slides:
https://drive.google.com/drive/folders/1CQaKkrcuD8Vxam559EEdCByX0z2s-Oxc?usp=sharing
Postman Agent Generator
Welcome to your generated agent! π
This project was created with the Postman Agent Generator, configured to Model Context Provider (MCP) Server output mode. It provides you with:
β An MCP-compatible server (
mcpServer.js)β Automatically generated JavaScript tools for each selected Postman API request
Let's set things up!
π¦ Getting Started
βοΈ Prerequisites
Before starting, please ensure you have:
npm (included with Node)
π₯ Installation & Setup
1. Install dependencies
Run from your project's root directory:
npm installπ Set tool environment variables (not needed for octocat and harry potter api)
In the .env file, you'll see environment variable placeholders, one for each workspace that the selected tools are from. For example, if you selected requests from 2 workspaces, e.g. Acme and Widgets, you'll see two placeholders:
ACME_API_KEY=
WIDGETS_API_KEY=Update the values with actual API keys for each API. These environment variables are used inside of the generated tools to set the API key for each request. You can inspect a file in the tools directory to see how it works.
// environment variables are used inside of each tool file
const apiKey = process.env.ACME_API_KEY;Caveat: This may not be correct for every API. The generation logic is relatively simple - for each workspace, we create an environment variable with the same name as the workspace slug, and then use that environment variable in each tool file that belongs to that workspace. If this isn't the right behavior for your chosen API, no problem! You can manually update anything in the .env file or tool files to accurately reflect the API's method of authentication.
π οΈ List Available Tools
List descriptions and parameters from all generated tools with:
node index.js toolsExample:
Available Tools:
Workspace: 6-harry-potter-api-with-magic-visualizations
Collection: hogwarts-staff.js
get_hogwarts_staff
Description: Retrieve all Hogwarts staff characters.
Parameters:
Collection: spells.js
fetch_spells
Description: Fetch spells from the Harry Potter API.
Parameters:
Collection: hogwarts-students.js
get_hogwarts_students
Description: Fetch all Hogwarts students from the Harry Potter API.
Parameters:
Collection: characters-in-house.js
get_characters_in_house
Description: Retrieve characters from a specific Hogwarts house.
Parameters:
- house: The name of the Hogwarts house to retrieve characters from.
Collection: all-characters.js
get_all_characters
Description: Retrieve all characters from the Harry Potter API.
Parameters:
Workspace: 7-git-hub-octodex-postbot
Collection: build-your-own-octodex-api.js
fetch_octocats
Description: Fetch Octocats from the Octodex API.
Parameters:Related MCP server: GitHub MCP Server
π Running the MCP Server
The MCP Server (mcpServer.js) exposes your automated API tools to MCP-compatible clients, such as Claude Desktop or the Postman Desktop Application.
Find node path:
which nodeFind
mcpServer.jspath:
realpath mcpServer.jsA) π₯οΈ Run with Postman
The Postman Desktop Application is the easiest way to run and test MCP servers.
Step 1: Download the latest Postman Desktop Application from https://www.postman.com/downloads/ or install the latest Postman Desktop Agent to work with Postman in your browser.
Step 2: Fork or modify the Octodex-HP-MCP Server Postman Collection from here and adjust the Octodex & HP Local Node server settings to point to your local MCP server:

B) π©βπ» Run with Claude Desktop
To integrate with Claude Desktop:
Open Claude Desktop β Settings β Developers β Edit Config and add your server:
{
"mcpServers": {
"octocat-hp-mcp-server-local": {
"command": "<absolute_path_to_node>",
"args": ["<absolute_path_to_mcpServer.js>"]
}
}
}e.g.
{
"mcpServers": {
"octocat-hp-mcp-server-local": {
"command": "/usr/local/bin/node",
"args": ["/Users/yourusername/octocat-harry-potter-mcp-server/mcpServer.js"]
}
}
}Restart Claude Desktop to activate this change.
C) πββοΈ Run MCP Server in VSCode
In order to run the local MCP server in VSCode, you can adapt and start the octocat-hp-mcp-server-local server in the .vscode folder.
If you then select Agent mode in Co-Pilot Chat, the tools icon should should show API endpoints (tools) exposed by the octocat-hp-mcp-server-local server.
Additional Options
π³ Docker Deployment (Production)
For production deployments, you can use Docker:
1. Build Docker image
docker build -t octocat-hp-mcp-server .Add your environment variables (API keys, etc.) inside the .env file.
Test it locally:
docker run -i --rm --env-file .env octocat-hp-mcp-server2. Claude Desktop Integration
Add Docker server configuration to Claude Desktop (Settings β Developers β Edit Config):
{
"mcpServers": {
"octocat-hp-mcp-server-docker": {
"command": "docker",
"args": ["run", "-i", "--rm", "--env-file=.env", "octocat-hp-mcp-server"]
}
}
}3. VS Code Integration
In order to run the Docker MCP server in VSCode, you can adapt and start the octocat-hp-mcp-server-docker server in the .vscode folder.
If you then select Agent mode in Co-Pilot Chat, the tools icon should should show API endpoints (tools) exposed by the octocat-hp-mcp-server-docker server.
π Server-Sent Events (SSE)
To run the server with Server-Sent Events (SSE) support, use the --sse flag:
node mcpServer.js --sseTo run with SSE in Docker and expose on port 9000:
docker run -i --rm -p 9000:9000 --env-file .env octocat-hp-mcp-server node mcpServer.js --sseThis will start the server in the background, mapping port 9000 on your host to port 9000 in the container, and enable SSE support.
π³ Dockerfile (Included)
The project comes bundled with the following minimal Docker setup:
FROM node:22.12-alpine AS builder
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm install
COPY . .
ENTRYPOINT ["node", "mcpServer.js"]β Adding New Tools
Extend your agent with more tools easily:
Visit Postman Agent Generator.
Pick new API request(s), generate a new agent, and download it.
Copy new generated tool(s) into your existing project's
tools/folder.Update your
tools/paths.jsfile to include new tool references.
Example prompts and visualizations
prompts.md has some example prompts how to test the capabilities of the MCP server, which lead to visualizations like this
π¬ Questions & Support
Visit the Postman Agent Generator page for updates and new capabilities.
Visit the Postman Community to share what you've built, ask questions and get help.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Habitica MCP server for ChatGPT, Claude and any AI agent: list tasks, create task, score habit or daily, update checklist, hatch and feed pets and start party quest in your own Habitica account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Habitica yourself; Cotlet does not store your password and you need no Habitica API key. About the official Habitica API: Habitica has a full public REST API (v3) but no official MCP server (checked 17 Oct 2026). The API reads and changes tasks, tags, pets, mounts, parties and quests. Setup and FAQ: https://cotlet.dev/integrations/habitica-api-mcp-server
Ghost MCP server for ChatGPT, Claude and any AI agent: list posts, create draft post, schedule post, send newsletter, list members and label members in your own Ghost account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Ghost yourself; Cotlet does not store your password and you need no Ghost API key. About the official Ghost API: Ghost has a full REST Admin API, but no official MCP server (checked 17 Oct 2026). The Admin API covers posts, pages, members, labels, newsletters, tiers and offers, and Ghost says everything Ghost Admin can do is also possible with the API. Setup and FAQ: https://cotlet.dev/integrations/ghost-api-mcp-server
Nextcloud MCP server for ChatGPT, Claude and any AI agent: upload file, share file, create calendar event, add contact, create Deck card and search files in your own Nextcloud account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Nextcloud yourself; Cotlet does not store your password and you need no Nextcloud API key. About the official Nextcloud API: Yes. Every Nextcloud instance has WebDAV for files, CalDAV for calendars, CardDAV for contacts, an OCS Share API and a Deck API, and they accept an app password (checked 16 Oct 2026). Setup and FAQ: https://cotlet.dev/integrations/nextcloud-api-mcp-server
17hats MCP server for ChatGPT, Claude and any AI agent: add contact, create project, send quote, send invoice and record payment in your own 17hats account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to 17hats yourself; Cotlet does not store your password and you need no 17hats API key. About the official 17hats API: 17hats publishes no public API. Its only key is for Zapier, on the new subscription plan, and that integration "is limited to importing, updating and syncing Contacts" (checked 9 Nov 2026). Setup and FAQ: https://cotlet.dev/integrations/17hats-api-mcp-server
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables access to GitHub repositories and data through the GitHub API. Supports retrieving repositories, issues, pull requests, and searching code across GitHub with authentication via personal access tokens.-
- AlicenseNot gradedqualityDmaintenanceEnables interaction with GitHub API for repository management, commits, pushes, and pulls through natural language.494 npm1ISC
- AlicenseNot gradedqualityCmaintenanceEnables querying Harry Potter data including students, staff, and spells from the Harry Potter API via direct tools or natural language through Pipeworx.128 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables searching GitHub users and repositories, fetching details, and performing stock market technical analysis via AlphaVantage.-