@calypsohq/elephant-mcp-server 1.5.0 → 1.5.1
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 +3 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -49,17 +49,13 @@ An unauthenticated request gets `401` with `WWW-Authenticate: Bearer resource_me
|
|
|
49
49
|
|
|
50
50
|
## Configuration
|
|
51
51
|
|
|
52
|
+
What the HTTP server reads when you run it yourself (`npm start`). Sign-in with Calypso happens on the hosted endpoint only; a local HTTP server takes a Calypso API key as a bearer token.
|
|
53
|
+
|
|
52
54
|
| Env | Default | Purpose |
|
|
53
55
|
|---|---|---|
|
|
54
56
|
| `PORT` | `8080` | listen port |
|
|
55
|
-
| `ELEPHANT_PUBLIC_BASE_URL` | `https://mcp.calypso.so` | public origin; each endpoint's OAuth audience |
|
|
56
|
-
| `CALYPSO_OAUTH_ISSUER` | `https://login.calypso.so` | authorization server |
|
|
57
|
-
| `ELEPHANT_JWKS_URL` | `<issuer>/.well-known/jwks.json` | token signing keys |
|
|
58
|
-
| `ELEPHANT_TOKEN_ENC_KEY` | — | 32-byte base64 key shared with the authorization server; unset turns OAuth off (API keys only) |
|
|
59
57
|
| `CALYPSO_API_BASE_URL` | `https://api.calypso.so/v1` | Calypso API |
|
|
60
58
|
| `ELEPHANT_REQUESTS_PER_MINUTE` | `120` | per-caller request budget |
|
|
61
|
-
| `ELEPHANT_OPENAI_CHALLENGE_TOKEN` | — | OpenAI plugin portal domain-verification token, served as plain text at `/.well-known/openai-apps-challenge`; unset answers 404 |
|
|
62
|
-
| `ELEPHANT_SLACK_WEBHOOK_URL` | — | Slack incoming webhook told about each noticed tool call (ask, search, and every tool that adds or organises knowledge; the two inventory tools stay quiet). The post carries the caller's own input, the outcome and the duration — never anything from a result. At most 60 posts a minute per process; unset posts nothing. The stdio server never posts |
|
|
63
59
|
|
|
64
60
|
## Layout
|
|
65
61
|
|
|
@@ -115,9 +111,7 @@ import { McpTool, StatelessMcpEndpoint, ToolGroup, ToolPreset } from "@calypsohq
|
|
|
115
111
|
|
|
116
112
|
## MCP Registry
|
|
117
113
|
|
|
118
|
-
The server is listed in the official [MCP Registry](https://registry.modelcontextprotocol.io) as `io.github.calypso-so/elephant-mcp-server`. [`server.json`](./server.json) is what the registry holds: the hosted endpoint and this npm package.
|
|
119
|
-
|
|
120
|
-
After a push to `main` publishes the package to npm, the `Publish to MCP Registry` workflow publishes the same version to the registry, signing in with GitHub OIDC. A version already listed is skipped.
|
|
114
|
+
The server is listed in the official [MCP Registry](https://registry.modelcontextprotocol.io) as `io.github.calypso-so/elephant-mcp-server`. [`server.json`](./server.json) is what the registry holds: the hosted endpoint and this npm package.
|
|
121
115
|
|
|
122
116
|
## Commands
|
|
123
117
|
|
|
@@ -128,8 +122,5 @@ npm run lint
|
|
|
128
122
|
npm run smoke # spawns the HTTP server locally and probes discovery, challenges, 405s
|
|
129
123
|
npm run smoke:stdio # spawns elephant-mcp per preset and checks tools/list
|
|
130
124
|
SMOKE_API_KEY=sk-… npm run smoke:stdio # same, plus a real elephant-list-buckets call
|
|
131
|
-
SMOKE_BASE_URL=https://mcp.calypso.so SMOKE_API_KEY=sk-… npm run smoke # probe a deployment, including tools/list
|
|
132
125
|
npm start # node dist/index.js
|
|
133
126
|
```
|
|
134
|
-
|
|
135
|
-
Deployment is described by [`../render.yaml`](../render.yaml) (service `elephant-mcp`, manual deploys). The npm package publishes from [`../.github/workflows/publish.yml`](../.github/workflows/publish.yml) on push to `main` when the version is new; `prepublishOnly` runs lint, typecheck, tests and the stdio smoke first.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@calypsohq/elephant-mcp-server",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"mcpName": "io.github.calypso-so/elephant-mcp-server",
|
|
5
5
|
"description": "Elephant: PDF AI and docs Q&A as an MCP server. Chat with your PDFs, documents and web pages from Claude, ChatGPT and Cursor, with every answer cited.",
|
|
6
6
|
"type": "module",
|