@hasna/microservices 0.0.23 → 0.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (6) hide show
  1. package/LICENSE +2 -1
  2. package/README.md +12 -0
  3. package/bin/index.js +1337 -12707
  4. package/bin/mcp.js +2186 -9758
  5. package/dist/index.js +526 -9399
  6. package/package.json +1 -1
package/LICENSE CHANGED
@@ -1,3 +1,4 @@
1
+
1
2
  Apache License
2
3
  Version 2.0, January 2004
3
4
  http://www.apache.org/licenses/
@@ -175,7 +176,7 @@
175
176
 
176
177
  END OF TERMS AND CONDITIONS
177
178
 
178
- Copyright 2025 Hasna
179
+ Copyright 2026 Hasna, Inc.
179
180
 
180
181
  Licensed under the Apache License, Version 2.0 (the "License");
181
182
  you may not use this file except in compliance with the License.
package/README.md CHANGED
@@ -145,6 +145,18 @@ For AI agents — add to your Claude config:
145
145
 
146
146
  Tools: `list_microservices`, `search_microservices`, `install_microservice`, `microservice_status`, `run_microservice_command`, `remove_microservice`, `get_microservice_info`
147
147
 
148
+ ## HTTP mode
149
+
150
+ Run a shared Streamable HTTP MCP server (stateless, `127.0.0.1` only):
151
+
152
+ ```bash
153
+ microservices-mcp --http
154
+ # or: MCP_HTTP=1 microservices-mcp
155
+ # default port: 8825 (override with --port or MCP_HTTP_PORT)
156
+ ```
157
+
158
+ Endpoints: `GET /health`, `POST /mcp` (Streamable HTTP).
159
+
148
160
  ## PostgreSQL Schema Isolation
149
161
 
150
162
  Each service owns its schema — all on one PostgreSQL instance: