Skip to content

Commit f0ca208

Browse files
committed
2 parents 4761dd2 + 63a062f commit f0ca208

File tree

24 files changed

+2126
-526
lines changed

24 files changed

+2126
-526
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ _**Note:** these tools will be unavailable if the server is [scoped to a project
164164
- `apply_migration`: Applies a SQL migration to the database. SQL passed to this tool will be tracked within the database, so LLMs should use this for DDL operations (schema changes).
165165
- `execute_sql`: Executes raw SQL in the database. LLMs should use this for regular queries that don't change the schema.
166166
- `get_logs`: Gets logs for a Supabase project by service type (api, postgres, edge functions, auth, storage, realtime). LLMs can use this to help with debugging and monitoring service performance.
167+
- `get_advisors`: Gets a list of advisory notices for a Supabase project. LLMs can use this to check for security vulnerabilities or performance issues.
167168

168169
#### Storage Operations
169170

@@ -192,6 +193,7 @@ _**Note:** these tools will be unavailable if the server is [scoped to a project
192193

193194
#### Development Tools
194195

196+
- `search_docs`: Searches the Supabase documentation for up-to-date information. LLMs can use this to find answers to questions or learn how to use specific features.
195197
- `generate_typescript_types`: Generates TypeScript types based on the database schema. LLMs can save this to a file and use it in their code.
196198

197199
#### Cost Confirmation

biome.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3+
"vcs": {
4+
"enabled": false,
5+
"clientKind": "git",
6+
"useIgnoreFile": false
7+
},
8+
"files": {
9+
"ignoreUnknown": false,
10+
"ignore": [
11+
"**/dist",
12+
"packages/mcp-server-supabase/src/management-api/types.ts"
13+
]
14+
},
15+
"formatter": {
16+
"enabled": true,
17+
"indentStyle": "space"
18+
},
19+
"organizeImports": {
20+
"enabled": false
21+
},
22+
"linter": {
23+
"enabled": false
24+
},
25+
"javascript": {
26+
"formatter": {
27+
"quoteStyle": "single",
28+
"trailingCommas": "es5",
29+
"bracketSameLine": false,
30+
"arrowParentheses": "always"
31+
}
32+
},
33+
"json": {
34+
"formatter": {
35+
"trailingCommas": "none"
36+
}
37+
}
38+
}

package-lock.json

Lines changed: 161 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
2-
"workspaces": [
3-
"packages/*"
4-
],
2+
"workspaces": ["packages/*"],
53
"scripts": {
64
"build": "npm run build --workspace @supabase/mcp-utils --workspace @supabase/mcp-server-supabase",
75
"test": "npm run test --workspace @supabase/mcp-utils --workspace @supabase/mcp-server-supabase",
8-
"test:coverage": "npm run test:coverage --workspace @supabase/mcp-server-supabase"
6+
"test:coverage": "npm run test:coverage --workspace @supabase/mcp-server-supabase",
7+
"format": "biome check --write .",
8+
"format:check": "biome check ."
99
},
1010
"devDependencies": {
11+
"@biomejs/biome": "1.9.4",
1112
"supabase": "^2.1.1"
1213
}
1314
}

packages/mcp-server-postgrest/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
"prepublishOnly": "npm run build",
1313
"test": "vitest"
1414
},
15-
"files": [
16-
"dist/**/*"
17-
],
15+
"files": ["dist/**/*"],
1816
"bin": {
1917
"mcp-server-postgrest": "./dist/stdio.js"
2018
},

packages/mcp-server-supabase/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@supabase/mcp-server-supabase",
3-
"version": "0.4.1",
3+
"version": "0.4.3",
44
"description": "MCP server for interacting with Supabase",
55
"license": "Apache-2.0",
66
"type": "module",
@@ -17,9 +17,7 @@
1717
"test:coverage": "vitest --coverage",
1818
"generate:management-api-types": "openapi-typescript https://api.supabase.com/api/v1-json -o ./src/management-api/types.ts"
1919
},
20-
"files": [
21-
"dist/**/*"
22-
],
20+
"files": ["dist/**/*"],
2321
"bin": {
2422
"mcp-server-supabase": "./dist/transports/stdio.js"
2523
},
@@ -40,6 +38,7 @@
4038
"@modelcontextprotocol/sdk": "^1.11.0",
4139
"@supabase/mcp-utils": "0.2.1",
4240
"common-tags": "^1.8.2",
41+
"graphql": "^16.11.0",
4342
"openapi-fetch": "^0.13.5",
4443
"zod": "^3.24.1"
4544
},

0 commit comments

Comments
 (0)