@hasna/prompts
v0.3.22
Published
Reusable prompt library for AI agents — CLI + MCP server + REST API + web dashboard
Downloads
746
Maintainers
Readme
@hasna/prompts
Reusable prompt library for AI agents — CLI + MCP server + REST API + web dashboard
Install
npm install -g @hasna/promptsCLI Usage
prompts --helpMCP Server
prompts-mcpHTTP mode
prompts-mcp --http # default port 8828
MCP_HTTP=1 MCP_HTTP_PORT=8828 prompts-mcpEndpoints: GET /health → {"status":"ok","name":"prompts"}, MCP at /mcp. The REST server (prompts-serve) also mounts /mcp on its port.
REST API
prompts-serveCloud Sync
This package supports cloud sync via @hasna/cloud:
cloud setup
cloud sync push --service prompts
cloud sync pull --service promptsData Directory
Data is stored in ~/.hasna/prompts/.
License
Apache-2.0 -- see LICENSE
