Skip to content

Commit 49c0ee1

Browse files
committed
update README
1 parent 082a146 commit 49c0ee1

1 file changed

Lines changed: 14 additions & 33 deletions

File tree

README.md

Lines changed: 14 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -12,56 +12,37 @@ Expense splitting via MCP + Claude. Log expenses (including receipt photos), tra
1212

1313
### 1. Create a Supabase project
1414

15-
Go to [supabase.com](https://supabase.com), create a new project, and note your:
16-
- Project URL: `https://<ref>.supabase.co`
17-
- Service role key (Settings → API)
18-
- Anon key (Settings → API)
15+
Go to [supabase.com](https://supabase.com), create a new project, and note your project ref (visible in the project URL or Settings → General).
1916

20-
### 2. Run the migration
17+
### 2. Set your project ref
2118

22-
In the Supabase dashboard → SQL Editor, run the contents of:
23-
```
24-
supabase/migrations/20260315000000_initial_schema.sql
19+
Add to `.envrc` (used by [direnv](https://direnv.net/)):
20+
```bash
21+
export SUPABASE_PROJECT_REF=<your-ref>
2522
```
2623

27-
Or with the Supabase CLI:
24+
Or export it manually:
2825
```bash
29-
supabase link --project-ref <your-ref>
30-
supabase db push
26+
export SUPABASE_PROJECT_REF=<your-ref>
3127
```
3228

33-
### 3. Deploy the Edge Function
29+
### 3. Deploy
3430

3531
```bash
36-
supabase functions deploy mcp --no-verify-jwt
32+
make deploy
3733
```
3834

39-
The `--no-verify-jwt` flag is required since MCP clients don't send Supabase JWTs.
40-
41-
Your MCP server URL will be:
35+
This links to your project, pushes database migrations, and deploys the MCP edge function. Your server URL will be printed at the end:
4236
```
4337
https://<your-ref>.supabase.co/functions/v1/mcp
4438
```
4539

46-
### 4. Configure your MCP client
47-
48-
**Claude Desktop** (`~/Library/Application Support/Claude/claude_desktop_config.json`):
40+
### 4. Add as a custom connector
4941

50-
```json
51-
{
52-
"mcpServers": {
53-
"splitcount": {
54-
"command": "npx",
55-
"args": ["-y", "mcp-remote", "https://<your-ref>.supabase.co/functions/v1/mcp"]
56-
}
57-
}
58-
}
42+
In Claude Desktop or Claude.ai settings, add a custom MCP connector with your server URL:
43+
```
44+
https://<your-ref>.supabase.co/functions/v1/mcp
5945
```
60-
61-
> Uses [`mcp-remote`](https://github.com/geelen/mcp-remote) to bridge HTTP MCP servers to the Claude Desktop stdio transport.
62-
63-
**Claude.ai** (MCP integrations):
64-
Add the server URL directly: `https://<your-ref>.supabase.co/functions/v1/mcp`
6546

6647
## Usage
6748

0 commit comments

Comments
 (0)