sepia-mcp 0.1.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.
Files changed (3) hide show
  1. package/README.md +91 -0
  2. package/dist/index.js +9203 -0
  3. package/package.json +38 -0
package/README.md ADDED
@@ -0,0 +1,91 @@
1
+ # sepia-mcp
2
+
3
+ A self-contained MCP server for [Sepia](https://sepia.fly.dev) — your personal
4
+ knowledge-graph memory server. It exposes the **same 7 tools** as the Sepia
5
+ server (`manage_namespace`, `manage_entity`, `manage_relation`, `manage_memory`,
6
+ `search`, `traverse_graph`, `consolidate`), but every call is proxied to the
7
+ Sepia REST API. No database, no migrations — just a lightweight MCP wrapper.
8
+
9
+ ## Install
10
+
11
+ ```bash
12
+ npm install -g sepia-mcp # or run directly with npx
13
+ ```
14
+
15
+ ## Usage
16
+
17
+ ### stdio (default — for Claude, VS Code, etc.)
18
+
19
+ ```bash
20
+ export SEPIA_URL=https://sepia.fly.dev
21
+ export SEPIA_API_KEY=your_token # the server's MCP_BEARER_TOKEN or an API key
22
+ sepia-mcp
23
+ ```
24
+
25
+ Or with `npx`:
26
+
27
+ ```bash
28
+ npx sepia-mcp
29
+ ```
30
+
31
+ MCP client config:
32
+
33
+ ```json
34
+ {
35
+ "mcpServers": {
36
+ "sepia": {
37
+ "command": "npx",
38
+ "args": ["sepia-mcp"],
39
+ "env": {
40
+ "SEPIA_URL": "https://sepia.fly.dev",
41
+ "SEPIA_API_KEY": "your_token"
42
+ }
43
+ }
44
+ }
45
+ }
46
+ ```
47
+
48
+ ### http (self-host on Fly.io / any Node host)
49
+
50
+ ```bash
51
+ export SEPIA_URL=https://sepia.fly.dev
52
+ export SEPIA_API_KEY=your_token
53
+ sepia-mcp --http # serves Streamable HTTP at /mcp on PORT (default 8080)
54
+ ```
55
+
56
+ ## Environment variables
57
+
58
+ | Variable | Default | Description |
59
+ | --------------- | ----------------------- | ------------------------------------------- |
60
+ | `SEPIA_URL` | `https://sepia.fly.dev` | Base URL of the Sepia server |
61
+ | `SEPIA_API_KEY` | _(required)_ | Bearer token (server's `MCP_BEARER_TOKEN`) |
62
+ | `SEPIA_SOURCE` | `sepia-mcp` | Client name recorded as the memory `source` |
63
+ | `PORT` | `8080` | Port for `--http` mode |
64
+
65
+ ## Tools
66
+
67
+ The tool surface matches the Sepia server exactly — same names, same schemas,
68
+ same `instructions` contract. All calls hit `SEPIA_URL/api/*` with
69
+ `Authorization: Bearer $SEPIA_API_KEY`.
70
+
71
+ ## Development
72
+
73
+ ```bash
74
+ bun install
75
+ bun run build # bundles to dist/index.js
76
+ bun run check # type-check
77
+ ```
78
+
79
+ ## Publishing
80
+
81
+ Versioning is handled by [Changesets](https://github.com/changesets/changesets)
82
+ and publishing by the `.github/workflows/release.yml` GitHub Action, which runs
83
+ on every push to `main` touching `packages/sepia-mcp/**`,
84
+ `packages/shared/src/**`, or `.changeset/**`. It auto-creates a patch changeset
85
+ if one is missing, so **every edit to the package ships a new npm version** —
86
+ keeping the MCP in lockstep with the app. Publishes use npm **provenance**
87
+ (OIDC) for supply-chain attestation.
88
+
89
+ ## License
90
+
91
+ MIT