company-dossier 0.1.0 → 0.2.0
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 +41 -0
- package/dist/mcp-http.js +1547 -0
- package/dist/mcp-server.js +1392 -0
- package/dist/mcp.js +42 -30
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -99,6 +99,47 @@ Tool input:
|
|
|
99
99
|
{ "target": "acme.com", "sections": ["overview", "tech", "risk"] }
|
|
100
100
|
```
|
|
101
101
|
|
|
102
|
+
## Remote MCP server
|
|
103
|
+
|
|
104
|
+
In addition to the stdio server, `company-dossier` ships a **remote (HTTP) MCP
|
|
105
|
+
server** over the MCP Streamable HTTP transport, exposing the same single tool,
|
|
106
|
+
`build_dossier`. This is what you deploy so hosted assistants (ChatGPT Apps SDK,
|
|
107
|
+
Claude connectors) can reach it over the network.
|
|
108
|
+
|
|
109
|
+
Run it locally:
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
npx company-dossier-mcp-http
|
|
113
|
+
# listening on http://0.0.0.0:8787 (override with PORT=...)
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
Endpoints: `POST/GET/DELETE /mcp` for the MCP session and `GET /health`
|
|
117
|
+
(returns `{"status":"ok"}`). It listens on `process.env.PORT || 8787`.
|
|
118
|
+
|
|
119
|
+
### Hosted endpoint
|
|
120
|
+
|
|
121
|
+
Deploy it (see [`deploy/README.md`](deploy/README.md) for one-command steps to
|
|
122
|
+
Render, Fly.io, or any Docker host) and point a subdomain at it. The hosted MCP
|
|
123
|
+
endpoint is then:
|
|
124
|
+
|
|
125
|
+
```
|
|
126
|
+
https://mcp.companydossier.lol/mcp
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
**Claude connectors / Claude Desktop (custom connector):** add a remote MCP
|
|
130
|
+
server with URL `https://mcp.companydossier.lol/mcp`. The `build_dossier` tool
|
|
131
|
+
becomes available.
|
|
132
|
+
|
|
133
|
+
**ChatGPT (Apps SDK / connectors):** add an MCP server pointing at
|
|
134
|
+
`https://mcp.companydossier.lol/mcp`; ChatGPT discovers and calls the
|
|
135
|
+
`build_dossier` tool.
|
|
136
|
+
|
|
137
|
+
Tool input (same as the stdio server):
|
|
138
|
+
|
|
139
|
+
```json
|
|
140
|
+
{ "target": "acme.com", "sections": ["overview", "tech", "risk"] }
|
|
141
|
+
```
|
|
142
|
+
|
|
102
143
|
## Output
|
|
103
144
|
|
|
104
145
|
- A `<Company> DOSSIER/` folder with `README.md`, nine numbered markdown
|