@mcp-com-ai/shared-utils 1.0.1-beta.260912 → 1.0.1-beta.260914
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.
- package/README.md +46 -0
- package/dist/config.js +126 -126
- package/dist/errors.js +2 -2
- package/dist/home.d.ts +13 -0
- package/dist/home.js +1 -1
- package/dist/index.js +176 -176
- package/dist/logger.js +38 -38
- package/dist/runtime.js +1 -1
- package/dist/secrets.js +1 -1
- package/package.json +56 -56
package/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
MCP.com.ai — Server Registry
|
|
3
|
+
Deploying & Registering MCP Servers
|
|
4
|
+
-->
|
|
5
|
+
|
|
6
|
+
<p align="center">
|
|
7
|
+
<img src="https://img.shields.io/badge/MCP-Model%20Context%20Protocol-1193b0?style=for-the-badge" />
|
|
8
|
+
<img src="https://img.shields.io/badge/Server%20Registry-Deploy%20%26%20Discover-da7756?style=for-the-badge" />
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<h1 align="center">MCP Server Registry Integration</h1>
|
|
12
|
+
|
|
13
|
+
<p align="center">
|
|
14
|
+
<b>Build Once. Deploy Everywhere. Discover Globally.</b><br/>
|
|
15
|
+
Self-host, deploy, and register MCP servers with confidence using HAPI CLI, Docker, or Cloudflare Workers.
|
|
16
|
+
</p>
|
|
17
|
+
|
|
18
|
+
<p align="center">
|
|
19
|
+
<a href="https://mcp.com.ai"><b>Website</b></a>
|
|
20
|
+
·
|
|
21
|
+
<a href="https://docs.mcp.com.ai"><b>Docs</b></a>
|
|
22
|
+
·
|
|
23
|
+
<a href="https://registry.modelcontextprotocol.io/?q=ai.com.mcp"><b>MCP Registry</b></a>
|
|
24
|
+
·
|
|
25
|
+
<a href="https://run.mcp.com.ai"><b>Run MCP</b></a>
|
|
26
|
+
·
|
|
27
|
+
<a href="https://hapi.mcp.com.ai"><b>HAPI CLI</b></a>
|
|
28
|
+
</p>
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
# HAPI Shared Utilities 
|
|
33
|
+
|
|
34
|
+
`@mcp-com-ai/shared-utils` contains the configuration, logging, HAPI home, and
|
|
35
|
+
runtime helpers used internally by the HAPI CLI and its plugins.
|
|
36
|
+
|
|
37
|
+
You do not need to install it to run an API as MCP. It is installed
|
|
38
|
+
automatically by `@mcp-com-ai/hapi` and the document plugins:
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
bun add -g @mcp-com-ai/hapi @mcp-com-ai/plugin-openapi
|
|
42
|
+
hapi serve --specs ./openapi.yaml --mcp
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Install it directly only when a package you are building explicitly requires
|
|
46
|
+
it, and keep it on the same HAPI version as the rest of your installation.
|