stravinsky 0.2.67__py3-none-any.whl → 0.4.66__py3-none-any.whl

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.

Potentially problematic release.


This version of stravinsky might be problematic. Click here for more details.

Files changed (190) hide show
  1. mcp_bridge/__init__.py +1 -1
  2. mcp_bridge/auth/__init__.py +16 -6
  3. mcp_bridge/auth/cli.py +202 -11
  4. mcp_bridge/auth/oauth.py +1 -2
  5. mcp_bridge/auth/openai_oauth.py +4 -7
  6. mcp_bridge/auth/token_store.py +112 -11
  7. mcp_bridge/cli/__init__.py +1 -1
  8. mcp_bridge/cli/install_hooks.py +503 -107
  9. mcp_bridge/cli/session_report.py +0 -3
  10. mcp_bridge/config/MANIFEST_SCHEMA.md +305 -0
  11. mcp_bridge/config/README.md +276 -0
  12. mcp_bridge/config/__init__.py +2 -2
  13. mcp_bridge/config/hook_config.py +247 -0
  14. mcp_bridge/config/hooks_manifest.json +138 -0
  15. mcp_bridge/config/rate_limits.py +317 -0
  16. mcp_bridge/config/skills_manifest.json +128 -0
  17. mcp_bridge/hooks/HOOKS_SETTINGS.json +17 -4
  18. mcp_bridge/hooks/__init__.py +19 -4
  19. mcp_bridge/hooks/agent_reminder.py +4 -4
  20. mcp_bridge/hooks/auto_slash_command.py +5 -5
  21. mcp_bridge/hooks/budget_optimizer.py +2 -2
  22. mcp_bridge/hooks/claude_limits_hook.py +114 -0
  23. mcp_bridge/hooks/comment_checker.py +3 -4
  24. mcp_bridge/hooks/compaction.py +2 -2
  25. mcp_bridge/hooks/context.py +2 -1
  26. mcp_bridge/hooks/context_monitor.py +2 -2
  27. mcp_bridge/hooks/delegation_policy.py +85 -0
  28. mcp_bridge/hooks/directory_context.py +3 -3
  29. mcp_bridge/hooks/edit_recovery.py +3 -2
  30. mcp_bridge/hooks/edit_recovery_policy.py +49 -0
  31. mcp_bridge/hooks/empty_message_sanitizer.py +2 -2
  32. mcp_bridge/hooks/events.py +160 -0
  33. mcp_bridge/hooks/git_noninteractive.py +4 -4
  34. mcp_bridge/hooks/keyword_detector.py +8 -10
  35. mcp_bridge/hooks/manager.py +43 -22
  36. mcp_bridge/hooks/notification_hook.py +13 -6
  37. mcp_bridge/hooks/parallel_enforcement_policy.py +67 -0
  38. mcp_bridge/hooks/parallel_enforcer.py +5 -5
  39. mcp_bridge/hooks/parallel_execution.py +22 -10
  40. mcp_bridge/hooks/post_tool/parallel_validation.py +103 -0
  41. mcp_bridge/hooks/pre_compact.py +8 -9
  42. mcp_bridge/hooks/pre_tool/agent_spawn_validator.py +115 -0
  43. mcp_bridge/hooks/preemptive_compaction.py +2 -3
  44. mcp_bridge/hooks/routing_notifications.py +80 -0
  45. mcp_bridge/hooks/rules_injector.py +11 -19
  46. mcp_bridge/hooks/session_idle.py +4 -4
  47. mcp_bridge/hooks/session_notifier.py +4 -4
  48. mcp_bridge/hooks/session_recovery.py +4 -5
  49. mcp_bridge/hooks/stravinsky_mode.py +1 -1
  50. mcp_bridge/hooks/subagent_stop.py +1 -3
  51. mcp_bridge/hooks/task_validator.py +2 -2
  52. mcp_bridge/hooks/tmux_manager.py +7 -8
  53. mcp_bridge/hooks/todo_delegation.py +4 -1
  54. mcp_bridge/hooks/todo_enforcer.py +180 -10
  55. mcp_bridge/hooks/tool_messaging.py +113 -10
  56. mcp_bridge/hooks/truncation_policy.py +37 -0
  57. mcp_bridge/hooks/truncator.py +1 -2
  58. mcp_bridge/metrics/cost_tracker.py +115 -0
  59. mcp_bridge/native_search.py +93 -0
  60. mcp_bridge/native_watcher.py +118 -0
  61. mcp_bridge/notifications.py +150 -0
  62. mcp_bridge/orchestrator/enums.py +11 -0
  63. mcp_bridge/orchestrator/router.py +165 -0
  64. mcp_bridge/orchestrator/state.py +32 -0
  65. mcp_bridge/orchestrator/visualization.py +14 -0
  66. mcp_bridge/orchestrator/wisdom.py +34 -0
  67. mcp_bridge/prompts/__init__.py +1 -8
  68. mcp_bridge/prompts/dewey.py +1 -1
  69. mcp_bridge/prompts/planner.py +2 -4
  70. mcp_bridge/prompts/stravinsky.py +53 -31
  71. mcp_bridge/proxy/__init__.py +0 -0
  72. mcp_bridge/proxy/client.py +70 -0
  73. mcp_bridge/proxy/model_server.py +157 -0
  74. mcp_bridge/routing/__init__.py +43 -0
  75. mcp_bridge/routing/config.py +250 -0
  76. mcp_bridge/routing/model_tiers.py +135 -0
  77. mcp_bridge/routing/provider_state.py +261 -0
  78. mcp_bridge/routing/task_classifier.py +190 -0
  79. mcp_bridge/server.py +542 -59
  80. mcp_bridge/server_tools.py +738 -6
  81. mcp_bridge/tools/__init__.py +40 -25
  82. mcp_bridge/tools/agent_manager.py +616 -697
  83. mcp_bridge/tools/background_tasks.py +13 -17
  84. mcp_bridge/tools/code_search.py +70 -53
  85. mcp_bridge/tools/continuous_loop.py +0 -1
  86. mcp_bridge/tools/dashboard.py +19 -0
  87. mcp_bridge/tools/find_code.py +296 -0
  88. mcp_bridge/tools/init.py +1 -0
  89. mcp_bridge/tools/list_directory.py +42 -0
  90. mcp_bridge/tools/lsp/__init__.py +12 -5
  91. mcp_bridge/tools/lsp/manager.py +471 -0
  92. mcp_bridge/tools/lsp/tools.py +723 -207
  93. mcp_bridge/tools/model_invoke.py +1195 -273
  94. mcp_bridge/tools/mux_client.py +75 -0
  95. mcp_bridge/tools/project_context.py +1 -2
  96. mcp_bridge/tools/query_classifier.py +406 -0
  97. mcp_bridge/tools/read_file.py +84 -0
  98. mcp_bridge/tools/replace.py +45 -0
  99. mcp_bridge/tools/run_shell_command.py +38 -0
  100. mcp_bridge/tools/search_enhancements.py +347 -0
  101. mcp_bridge/tools/semantic_search.py +3627 -0
  102. mcp_bridge/tools/session_manager.py +0 -2
  103. mcp_bridge/tools/skill_loader.py +0 -1
  104. mcp_bridge/tools/task_runner.py +5 -7
  105. mcp_bridge/tools/templates.py +3 -3
  106. mcp_bridge/tools/tool_search.py +331 -0
  107. mcp_bridge/tools/write_file.py +29 -0
  108. mcp_bridge/update_manager.py +585 -0
  109. mcp_bridge/update_manager_pypi.py +297 -0
  110. mcp_bridge/utils/cache.py +82 -0
  111. mcp_bridge/utils/process.py +71 -0
  112. mcp_bridge/utils/session_state.py +51 -0
  113. mcp_bridge/utils/truncation.py +76 -0
  114. stravinsky-0.4.66.dist-info/METADATA +517 -0
  115. stravinsky-0.4.66.dist-info/RECORD +198 -0
  116. {stravinsky-0.2.67.dist-info → stravinsky-0.4.66.dist-info}/entry_points.txt +1 -0
  117. stravinsky_claude_assets/HOOKS_INTEGRATION.md +316 -0
  118. stravinsky_claude_assets/agents/HOOKS.md +437 -0
  119. stravinsky_claude_assets/agents/code-reviewer.md +210 -0
  120. stravinsky_claude_assets/agents/comment_checker.md +580 -0
  121. stravinsky_claude_assets/agents/debugger.md +254 -0
  122. stravinsky_claude_assets/agents/delphi.md +495 -0
  123. stravinsky_claude_assets/agents/dewey.md +248 -0
  124. stravinsky_claude_assets/agents/explore.md +1198 -0
  125. stravinsky_claude_assets/agents/frontend.md +472 -0
  126. stravinsky_claude_assets/agents/implementation-lead.md +164 -0
  127. stravinsky_claude_assets/agents/momus.md +464 -0
  128. stravinsky_claude_assets/agents/research-lead.md +141 -0
  129. stravinsky_claude_assets/agents/stravinsky.md +730 -0
  130. stravinsky_claude_assets/commands/delphi.md +9 -0
  131. stravinsky_claude_assets/commands/dewey.md +54 -0
  132. stravinsky_claude_assets/commands/git-master.md +112 -0
  133. stravinsky_claude_assets/commands/index.md +49 -0
  134. stravinsky_claude_assets/commands/publish.md +86 -0
  135. stravinsky_claude_assets/commands/review.md +73 -0
  136. stravinsky_claude_assets/commands/str/agent_cancel.md +70 -0
  137. stravinsky_claude_assets/commands/str/agent_list.md +56 -0
  138. stravinsky_claude_assets/commands/str/agent_output.md +92 -0
  139. stravinsky_claude_assets/commands/str/agent_progress.md +74 -0
  140. stravinsky_claude_assets/commands/str/agent_retry.md +94 -0
  141. stravinsky_claude_assets/commands/str/cancel.md +51 -0
  142. stravinsky_claude_assets/commands/str/clean.md +97 -0
  143. stravinsky_claude_assets/commands/str/continue.md +38 -0
  144. stravinsky_claude_assets/commands/str/index.md +199 -0
  145. stravinsky_claude_assets/commands/str/list_watchers.md +96 -0
  146. stravinsky_claude_assets/commands/str/search.md +205 -0
  147. stravinsky_claude_assets/commands/str/start_filewatch.md +136 -0
  148. stravinsky_claude_assets/commands/str/stats.md +71 -0
  149. stravinsky_claude_assets/commands/str/stop_filewatch.md +89 -0
  150. stravinsky_claude_assets/commands/str/unwatch.md +42 -0
  151. stravinsky_claude_assets/commands/str/watch.md +45 -0
  152. stravinsky_claude_assets/commands/strav.md +53 -0
  153. stravinsky_claude_assets/commands/stravinsky.md +292 -0
  154. stravinsky_claude_assets/commands/verify.md +60 -0
  155. stravinsky_claude_assets/commands/version.md +5 -0
  156. stravinsky_claude_assets/hooks/README.md +248 -0
  157. stravinsky_claude_assets/hooks/comment_checker.py +193 -0
  158. stravinsky_claude_assets/hooks/context.py +38 -0
  159. stravinsky_claude_assets/hooks/context_monitor.py +153 -0
  160. stravinsky_claude_assets/hooks/dependency_tracker.py +73 -0
  161. stravinsky_claude_assets/hooks/edit_recovery.py +46 -0
  162. stravinsky_claude_assets/hooks/execution_state_tracker.py +68 -0
  163. stravinsky_claude_assets/hooks/notification_hook.py +103 -0
  164. stravinsky_claude_assets/hooks/notification_hook_v2.py +96 -0
  165. stravinsky_claude_assets/hooks/parallel_execution.py +241 -0
  166. stravinsky_claude_assets/hooks/parallel_reinforcement.py +106 -0
  167. stravinsky_claude_assets/hooks/parallel_reinforcement_v2.py +112 -0
  168. stravinsky_claude_assets/hooks/pre_compact.py +123 -0
  169. stravinsky_claude_assets/hooks/ralph_loop.py +173 -0
  170. stravinsky_claude_assets/hooks/session_recovery.py +263 -0
  171. stravinsky_claude_assets/hooks/stop_hook.py +89 -0
  172. stravinsky_claude_assets/hooks/stravinsky_metrics.py +164 -0
  173. stravinsky_claude_assets/hooks/stravinsky_mode.py +146 -0
  174. stravinsky_claude_assets/hooks/subagent_stop.py +98 -0
  175. stravinsky_claude_assets/hooks/todo_continuation.py +111 -0
  176. stravinsky_claude_assets/hooks/todo_delegation.py +96 -0
  177. stravinsky_claude_assets/hooks/tool_messaging.py +281 -0
  178. stravinsky_claude_assets/hooks/truncator.py +23 -0
  179. stravinsky_claude_assets/rules/deployment_safety.md +51 -0
  180. stravinsky_claude_assets/rules/integration_wiring.md +89 -0
  181. stravinsky_claude_assets/rules/pypi_deployment.md +220 -0
  182. stravinsky_claude_assets/rules/stravinsky_orchestrator.md +32 -0
  183. stravinsky_claude_assets/settings.json +152 -0
  184. stravinsky_claude_assets/skills/chrome-devtools/SKILL.md +81 -0
  185. stravinsky_claude_assets/skills/sqlite/SKILL.md +77 -0
  186. stravinsky_claude_assets/skills/supabase/SKILL.md +74 -0
  187. stravinsky_claude_assets/task_dependencies.json +34 -0
  188. stravinsky-0.2.67.dist-info/METADATA +0 -284
  189. stravinsky-0.2.67.dist-info/RECORD +0 -76
  190. {stravinsky-0.2.67.dist-info → stravinsky-0.4.66.dist-info}/WHEEL +0 -0
@@ -0,0 +1,152 @@
1
+ {
2
+ "statusLine": {
3
+ "type": "command",
4
+ "command": "~/.claude/statusline.sh"
5
+ },
6
+ "hooks": {
7
+ "Notification": [
8
+ {
9
+ "matcher": "*",
10
+ "hooks": [
11
+ {
12
+ "type": "command",
13
+ "command": "python3 ~/.claude/hooks/notification_hook.py"
14
+ }
15
+ ]
16
+ }
17
+ ],
18
+ "SubagentStop": [
19
+ {
20
+ "matcher": "*",
21
+ "hooks": [
22
+ {
23
+ "type": "command",
24
+ "command": "python3 ~/.claude/hooks/subagent_stop.py"
25
+ }
26
+ ]
27
+ }
28
+ ],
29
+ "PreCompact": [
30
+ {
31
+ "matcher": "*",
32
+ "hooks": [
33
+ {
34
+ "type": "command",
35
+ "command": "python3 ~/.claude/hooks/pre_compact.py"
36
+ }
37
+ ]
38
+ }
39
+ ],
40
+ "PreToolUse": [
41
+ {
42
+ "matcher": "Read,Search,Grep,Bash,Edit,MultiEdit",
43
+ "hooks": [
44
+ {
45
+ "type": "command",
46
+ "command": "python3 ~/.claude/hooks/stravinsky_mode.py"
47
+ }
48
+ ]
49
+ },
50
+ {
51
+ "matcher": "Bash",
52
+ "hooks": [
53
+ {
54
+ "type": "command",
55
+ "command": "python3 ~/.claude/hooks/comment_checker.py"
56
+ }
57
+ ]
58
+ }
59
+ ],
60
+ "UserPromptSubmit": [
61
+ {
62
+ "matcher": "*",
63
+ "hooks": [
64
+ {
65
+ "type": "command",
66
+ "command": "python3 ~/.claude/hooks/context_monitor.py"
67
+ },
68
+ {
69
+ "type": "command",
70
+ "command": "python3 ~/.claude/hooks/parallel_execution.py"
71
+ },
72
+ {
73
+ "type": "command",
74
+ "command": "python3 ~/.claude/hooks/parallel_reinforcement.py"
75
+ },
76
+ {
77
+ "type": "command",
78
+ "command": "python3 ~/.claude/hooks/parallel_reinforcement_v2.py"
79
+ },
80
+ {
81
+ "type": "command",
82
+ "command": "python3 ~/.claude/hooks/context.py"
83
+ },
84
+ {
85
+ "type": "command",
86
+ "command": "python3 ~/.claude/hooks/todo_continuation.py"
87
+ }
88
+ ]
89
+ }
90
+ ],
91
+ "PostToolUse": [
92
+ {
93
+ "matcher": "*",
94
+ "hooks": [
95
+ {
96
+ "type": "command",
97
+ "command": "python3 ~/.claude/hooks/truncator.py"
98
+ },
99
+ {
100
+ "type": "command",
101
+ "command": "python3 ~/.claude/hooks/session_recovery.py"
102
+ },
103
+ {
104
+ "type": "command",
105
+ "command": "python3 ~/.claude/hooks/execution_state_tracker.py"
106
+ }
107
+ ]
108
+ },
109
+ {
110
+ "matcher": "mcp__stravinsky__*,mcp__grep-app__*,Task",
111
+ "hooks": [
112
+ {
113
+ "type": "command",
114
+ "command": "python3 ~/.claude/hooks/tool_messaging.py"
115
+ }
116
+ ]
117
+ },
118
+ {
119
+ "matcher": "Edit,MultiEdit",
120
+ "hooks": [
121
+ {
122
+ "type": "command",
123
+ "command": "python3 ~/.claude/hooks/edit_recovery.py"
124
+ }
125
+ ]
126
+ },
127
+ {
128
+ "matcher": "TodoWrite",
129
+ "hooks": [
130
+ {
131
+ "type": "command",
132
+ "command": "python3 ~/.claude/hooks/todo_delegation.py"
133
+ },
134
+ {
135
+ "type": "command",
136
+ "command": "python3 ~/.claude/hooks/dependency_tracker.py"
137
+ }
138
+ ]
139
+ }
140
+ ],
141
+ "Stop": [
142
+ {
143
+ "hooks": [
144
+ {
145
+ "type": "command",
146
+ "command": "python3 ~/.claude/hooks/stop_hook.py"
147
+ }
148
+ ]
149
+ }
150
+ ]
151
+ }
152
+ }
@@ -0,0 +1,81 @@
1
+ ---
2
+ description: Browser automation with Chrome DevTools MCP. Use for web scraping, testing, screenshots, form filling, and browser interactions. Preferred over Playwright for direct browser control.
3
+ mcp:
4
+ chrome-devtools:
5
+ command: npx
6
+ args: ["-y", "@anthropic/mcp-chrome-devtools"]
7
+ ---
8
+
9
+ # Chrome DevTools Skill
10
+
11
+ Browser automation using the Chrome DevTools Protocol via MCP.
12
+
13
+ ## When to Use
14
+
15
+ - Web scraping and data extraction
16
+ - UI testing and verification
17
+ - Taking screenshots of web pages
18
+ - Form filling and submission
19
+ - Browser-based automation tasks
20
+ - Debugging web applications
21
+
22
+ ## Available Tools
23
+
24
+ ### Navigation
25
+ - `navigate_page` - Navigate to URL, back, forward, or reload
26
+ - `new_page` - Create new browser tab
27
+ - `list_pages` - List all open pages
28
+ - `select_page` - Switch to a specific page
29
+ - `close_page` - Close a page
30
+
31
+ ### Interaction
32
+ - `click` - Click on an element (supports double-click)
33
+ - `fill` - Type text into input/textarea or select option
34
+ - `fill_form` - Fill multiple form elements at once
35
+ - `hover` - Hover over an element
36
+ - `press_key` - Press keyboard keys or combinations
37
+ - `drag` - Drag element to another element
38
+ - `upload_file` - Upload file through file input
39
+
40
+ ### Inspection
41
+ - `take_snapshot` - Get page content as a11y tree (preferred)
42
+ - `take_screenshot` - Capture page or element screenshot
43
+ - `list_console_messages` - Get browser console logs
44
+ - `get_console_message` - Get specific console message
45
+ - `list_network_requests` - List network activity
46
+ - `get_network_request` - Get request details
47
+
48
+ ### Performance
49
+ - `performance_start_trace` - Start performance recording
50
+ - `performance_stop_trace` - Stop recording
51
+ - `performance_analyze_insight` - Analyze performance insights
52
+
53
+ ### Dialogs & Emulation
54
+ - `handle_dialog` - Accept/dismiss browser dialogs
55
+ - `emulate` - Set network conditions, CPU throttling, geolocation
56
+ - `resize_page` - Resize browser window
57
+ - `wait_for` - Wait for text to appear
58
+
59
+ ## Usage Pattern
60
+
61
+ 1. **Start with snapshot**: Always use `take_snapshot` to get the current page state with element UIDs
62
+ 2. **Use UIDs for interaction**: Elements in snapshot have `uid` identifiers - use these for clicks, fills, etc.
63
+ 3. **Verify after actions**: Take another snapshot to verify state changes
64
+
65
+ ## Example Workflow
66
+
67
+ ```
68
+ 1. navigate_page(url="https://example.com")
69
+ 2. take_snapshot() -> get element UIDs
70
+ 3. fill(uid="search-input", value="query")
71
+ 4. click(uid="submit-button")
72
+ 5. wait_for(text="Results")
73
+ 6. take_snapshot() -> verify results
74
+ ```
75
+
76
+ ## Notes
77
+
78
+ - Prefer `take_snapshot` over `take_screenshot` for understanding page structure
79
+ - Use `wait_for` after navigation or clicks that trigger loading
80
+ - Console messages and network requests help debug issues
81
+ - Performance tracing is useful for optimization tasks
@@ -0,0 +1,77 @@
1
+ ---
2
+ description: SQLite database operations via MCP. Use for local database queries, schema exploration, and data manipulation in SQLite files.
3
+ mcp:
4
+ sqlite:
5
+ command: npx
6
+ args: ["-y", "@anthropic/mcp-server-sqlite", "--db-path", "./data.db"]
7
+ ---
8
+
9
+ # SQLite Skill
10
+
11
+ Local SQLite database operations using MCP server.
12
+
13
+ ## When to Use
14
+
15
+ - Local database queries and operations
16
+ - Prototyping before moving to production database
17
+ - Data analysis on SQLite files
18
+ - Schema exploration and documentation
19
+ - Test database setup and teardown
20
+
21
+ ## Configuration
22
+
23
+ Specify the database path in the args:
24
+
25
+ ```yaml
26
+ mcp:
27
+ sqlite:
28
+ command: npx
29
+ args: ["-y", "@anthropic/mcp-server-sqlite", "--db-path", "./path/to/database.db"]
30
+ ```
31
+
32
+ For in-memory database:
33
+
34
+ ```yaml
35
+ mcp:
36
+ sqlite:
37
+ command: npx
38
+ args: ["-y", "@anthropic/mcp-server-sqlite", "--db-path", ":memory:"]
39
+ ```
40
+
41
+ ## Available Tools
42
+
43
+ ### Query Operations
44
+ - `read_query` - Execute SELECT queries (safe, read-only)
45
+ - `write_query` - Execute INSERT/UPDATE/DELETE queries
46
+ - `create_table` - Create new tables with schema
47
+
48
+ ### Schema Operations
49
+ - `list_tables` - List all tables in the database
50
+ - `describe_table` - Get table schema (columns, types, constraints)
51
+
52
+ ### Data Operations
53
+ - `insert_rows` - Bulk insert data
54
+ - `export_query` - Export query results
55
+
56
+ ## Usage Pattern
57
+
58
+ 1. **List tables first**: Use `list_tables` to understand database structure
59
+ 2. **Describe before querying**: Use `describe_table` for column names and types
60
+ 3. **Use read_query for exploration**: Safe, cannot modify data
61
+ 4. **Backup before writes**: Always backup important data before modifications
62
+
63
+ ## Example Workflow
64
+
65
+ ```
66
+ 1. list_tables() -> see available tables
67
+ 2. describe_table(table_name="users") -> see columns
68
+ 3. read_query(query="SELECT * FROM users LIMIT 10") -> preview data
69
+ 4. write_query(query="UPDATE users SET status = 'active' WHERE id = 1")
70
+ ```
71
+
72
+ ## Notes
73
+
74
+ - Database file is created if it doesn't exist
75
+ - In-memory databases are lost when server stops
76
+ - Use `--db-path` to point to existing SQLite files
77
+ - Supports standard SQLite syntax and functions
@@ -0,0 +1,74 @@
1
+ ---
2
+ description: Supabase database operations via MCP. Use for PostgreSQL queries, authentication, storage, and real-time subscriptions in Supabase projects.
3
+ mcp:
4
+ supabase:
5
+ command: npx
6
+ args: ["-y", "@supabase/mcp-server-supabase@latest", "--read-only"]
7
+ ---
8
+
9
+ # Supabase Skill
10
+
11
+ Database and backend operations using Supabase MCP server.
12
+
13
+ ## When to Use
14
+
15
+ - PostgreSQL database queries and operations
16
+ - User authentication and session management
17
+ - File storage operations
18
+ - Real-time subscription setup
19
+ - Database schema exploration
20
+ - Row-level security (RLS) policy management
21
+
22
+ ## Configuration
23
+
24
+ The MCP server requires environment variables:
25
+
26
+ ```bash
27
+ SUPABASE_URL=https://your-project.supabase.co
28
+ SUPABASE_SERVICE_ROLE_KEY=your-service-role-key
29
+ ```
30
+
31
+ Or pass project reference directly:
32
+
33
+ ```yaml
34
+ mcp:
35
+ supabase:
36
+ command: npx
37
+ args: ["-y", "@supabase/mcp-server-supabase@latest", "--project-ref", "your-project-ref"]
38
+ ```
39
+
40
+ ## Available Operations
41
+
42
+ ### Database
43
+ - Query tables with full SQL support
44
+ - Insert, update, delete operations
45
+ - Schema introspection
46
+ - View and function management
47
+
48
+ ### Authentication
49
+ - User management
50
+ - Session handling
51
+ - OAuth provider configuration
52
+
53
+ ### Storage
54
+ - Bucket management
55
+ - File upload/download
56
+ - Signed URL generation
57
+
58
+ ### Real-time
59
+ - Channel subscription setup
60
+ - Broadcast configuration
61
+ - Presence tracking
62
+
63
+ ## Usage Pattern
64
+
65
+ 1. **Explore schema first**: List tables and columns before querying
66
+ 2. **Use parameterized queries**: Avoid SQL injection
67
+ 3. **Check RLS policies**: Understand row-level security before operations
68
+ 4. **Prefer --read-only**: Use read-only mode for exploration tasks
69
+
70
+ ## Notes
71
+
72
+ - `--read-only` flag prevents destructive operations (recommended for exploration)
73
+ - Service role key bypasses RLS - use with caution
74
+ - For production, prefer anon key with proper RLS policies
@@ -0,0 +1,34 @@
1
+ {
2
+ "dependencies": {
3
+ "tier_def": {
4
+ "deps": [],
5
+ "independent": true,
6
+ "parallel_safe": true
7
+ },
8
+ "chain_logic": {
9
+ "deps": [],
10
+ "independent": true,
11
+ "parallel_safe": true
12
+ },
13
+ "config_update": {
14
+ "deps": [],
15
+ "independent": true,
16
+ "parallel_safe": true
17
+ },
18
+ "router_integration": {
19
+ "deps": [],
20
+ "independent": true,
21
+ "parallel_safe": true
22
+ },
23
+ "invoke_update": {
24
+ "deps": [],
25
+ "independent": true,
26
+ "parallel_safe": true
27
+ },
28
+ "verify_routing": {
29
+ "deps": [],
30
+ "independent": true,
31
+ "parallel_safe": true
32
+ }
33
+ }
34
+ }