Licence
Apache-2.0
Version
0.1.21
Deps
13
Size
986 kB
Vulns
0
Weekly
586
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)
@hasna/tickets
Open-source MCP-native ticketing system — bugs, features, incidents for any product, service, or app. CLI + MCP server + REST API + Web Dashboard + SDK.
Install
npm install -g @hasna/ticketsCLI Usage
tickets --helpMCP Server
tickets-mcpHTTP mode
Shared Streamable HTTP transport for long-lived local MCP (stdio remains the default):
tickets-mcp --http # or MCP_HTTP=1
tickets-mcp --http --port 8841 # default port 8841- Bind:
127.0.0.1only - Health:
GET /health→{"status":"ok","name":"tickets"} - MCP:
POST /mcp(Streamable HTTP, stateless)
REST API
tickets-serveData Directory
Tickets owns its local SQLite store directly. By default data is stored in
~/.hasna/tickets/; set HASNA_TICKETS_DB_PATH or TICKETS_DB_PATH to use a
specific database file. When no explicit path is set, the CLI also discovers
.tickets/tickets.db in the current directory or an ancestor.
External PostgreSQL deployments may reuse the exported PG_MIGRATIONS schema
with their own database adapter.
License
Apache-2.0 -- see LICENSE