gareev-app-mcp
by gareevart
README.md
# Gareev Work MCP
[](https://www.npmjs.com/package/@gareev/gareev-app-mcp)
Use Gareev's hosted tools from an MCP client. The hosted service can read content and administrative data within the user's access and create unpublished drafts. It cannot publish posts, send mail, or delete records.
## Connect directly
For clients supporting Streamable HTTP, the URL is `https://gareev.work/mcp`. Create an API key named **Gareev MCP** in your Gareev administrator profile under **API keys**. Configure the client to send this key as a Bearer token. Keep it in the client's local secret store. Never paste it into chat or commit it.
Codex configuration:
```toml
[mcp_servers.gareev]
url = "https://gareev.work/mcp"
bearer_token_env_var = "GAREEV_MCP_API_KEY"
```
## Run the npm package in a stdio client
Requires Node.js 20 or newer. The npm package connects to the same hosted endpoint automatically when `GAREEV_MCP_API_KEY` is in the client's process environment.
```json
{
"mcpServers": {
"gareev": {
"command": "npx",
"args": ["-y", "@gareev/gareev-app-mcp", "--hosted"]
}
}
}
```
Pass the key using the client's secret configuration or environment. The hosted mode does not need Supabase keys. It also rejects redirects and refuses to send a key to unrelated domains.
Global installation is optional:
```sh
npm install -g @gareev/gareev-app-mcp
gareev-app-mcp --version
```
Both the new `gareev-app-mcp` command and the existing `supabase-app-mcp` command are available. Browser clients using only OAuth cannot use the hosted Bearer-token endpoint directly.
## Existing self-hosted Supabase installations
Use `--local` with your existing `SUPABASE_URL`, `SUPABASE_ANON_KEY`, and, if needed, your own `APP_BASE_URL`. Existing clients with the Supabase environment variables and no hosted key continue to select local mode. A configured hosted client does not fall back to local mode on an authentication error. Self-hosted behavior follows the permissions and APIs of your own deployment.
## Development and release
```sh
npm ci --ignore-scripts
npm test
npm pack --dry-run --ignore-scripts
```
The release workflow tests and packs the version registered in `.release/npm-version` before publishing. npm Trusted Publishing must authorize GitHub repository `gareevart/gareev-app-mcp` and workflow `publish.yml`. See [npm Trusted Publishing](https://docs.npmjs.com/trusted-publishers/).