@prompthub/mcp
MCP server for PromptHub. Enables publishing, fetching, listing, updating, and searching prompt repositories from Claude Code or Codex.
README
@prompthub/mcp
MCP server for PromptHub. Publish, fetch, list, update and search prompt repositories from Claude Code or Codex.
1. Get a token
Sign in at https://www.awesome-prompt.com → Settings → API tokens → create a token. Copy the ph_… value (shown once).
2. Configure
Either set an environment variable:
export PROMPTHUB_TOKEN=ph_xxx
# optional, defaults to https://www.awesome-prompt.com
export PROMPTHUB_BASE_URL=https://www.awesome-prompt.com
…or create ~/.prompthub/config.json:
{ "token": "ph_xxx", "baseUrl": "https://www.awesome-prompt.com" }
Environment variables take precedence over the file.
3. Register the server
Claude Code:
claude mcp add prompthub --env PROMPTHUB_TOKEN=ph_xxx -- npx -y @prompthub/mcp
Codex — add to ~/.codex/config.toml:
[mcp_servers.prompthub]
command = "npx"
args = ["-y", "@prompthub/mcp"]
env = { PROMPTHUB_TOKEN = "ph_xxx" }
4. Tools
| Tool | What it does |
|---|---|
prompthub_whoami |
Verify the token; show your handle/name |
prompthub_search |
Search public repos by keyword |
prompthub_get_repo |
Fetch one repo (owner/name) with its file tree |
prompthub_list_repos |
List your repos, or a user's public repos |
prompthub_create_repo |
Create a repo from explicit fields |
prompthub_update_repo |
Full-replace one of your repos |
prompthub_publish_session |
Distill the current session into a reusable repo and publish |
prompthub_describe_file_format |
Show the exact files[] JSON shapes (text/conversation/workflow) |
5. First run
Confirm it's wired up — ask your assistant:
"Use prompthub_whoami to check my PromptHub login."
You should see your handle. Then publish:
"Publish the prompt we just wrote to PromptHub as a private repo called
my-first-prompt."
The assistant will call prompthub_publish_session and reply with the new repo URL (e.g. https://www.awesome-prompt.com/@you/my-first-prompt). If it's unsure of the format, it can call prompthub_describe_file_format first.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.