MCP server (api.scribase.com) plus the scribase skills for creating a project, adding auth/storage, writing a safe RLS policy, branch-per-PR and the preview-branch-and-confirm workflow. Content ported as-is from the live Scribase agents plugin (rithub.dev/scribase/scribase-agents), packaged with a .grok-plugin/plugin.json manifest for Grok Build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
37 lines
2.3 KiB
Markdown
37 lines
2.3 KiB
Markdown
# Scribase plugin for Grok Build
|
|
|
|
Scribase is a hosted backend (Postgres, auth, storage, realtime and edge functions) that a coding agent can create and operate. It works with supabase-js. This plugin connects Grok Build to the hosted Scribase MCP server and adds skills that teach the agent how to use it safely.
|
|
|
|
## What is inside
|
|
|
|
- `.mcp.json`: one remote MCP server, `https://api.scribase.com/mcp` (Streamable HTTP, Bearer token). Nothing runs on your machine.
|
|
- `skills/scribase`: the full reference — create a project, add tables with row-level security, sign-in, storage, realtime, edge functions, preview branches and generated types.
|
|
- `skills/scribase-create-project`: one call to a live backend, for when there is no project here yet.
|
|
- `skills/scribase-add-auth`: email/password, native Apple/Google sign-in, and web OAuth.
|
|
- `skills/scribase-add-storage`: a bucket and its row-level-security policies, then upload/signed URLs.
|
|
- `skills/scribase-write-rls-policy`: the exact shape of a safe policy, the ways it leaks, and how to check it.
|
|
- `skills/scribase-branch-per-pr`: fork a branch on PR open, migrate on push, merge and delete on close.
|
|
- `skills/scribase-safe-change`: ship a schema or policy change through a preview branch, a row-level-security test and an explicit confirm.
|
|
- `.grok-plugin/plugin.json`: the Grok Build plugin manifest.
|
|
|
|
## Network and data
|
|
|
|
The only network traffic this plugin makes is the MCP connection to `api.scribase.com`, carrying the requests your agent makes and the `SCRIBASE_ACCESS_TOKEN` you provide. Reads run immediately; every write returns the exact request and waits for your explicit confirm, and a schema change needs a passing row-level-security test. There are no hooks, no scripts, and no telemetry in this plugin.
|
|
|
|
## Credentials
|
|
|
|
Set `SCRIBASE_ACCESS_TOKEN` in your environment (an access token from your Scribase project settings). The MCP server authenticates that token on every request; this plugin never stores or forwards it anywhere besides that one endpoint.
|
|
|
|
## Links
|
|
|
|
- Source (this repo): https://rithub.dev/scribase/grok-plugin
|
|
- Agent setup docs: https://docs.scribase.com/docs/agents/setup
|
|
- MCP server: https://scribase.com/mcp
|
|
- Docs: https://docs.scribase.com/docs/agents
|
|
- Pricing: https://scribase.com/pricing
|
|
- Support: support@scribase.com
|
|
|
|
## License
|
|
|
|
Apache-2.0, see `LICENSE`.
|