Backlot

Messaging and emailProductivity and workflow

Local emulator for Slack, Gmail, Drive, GitHub, Jira, Notion, S3 and more, with per-document ACLs.

Your AI app calls the Backlot MCP server, which does the messaging and email and productivity and workflow work and sends the result back to the chat.

About Backlot

Backlot is a community MCP server from brekkylab, filed in our directory under messaging and email and productivity and workflow. Local emulator for Slack, Gmail, Drive, GitHub, Jira, Notion, S3 and more, with per-document ACLs.

Backlot runs on your own machine: your AI app starts it with the command uvx backlot==0.1.1 mcp and talks to it over standard input and output.

Backlot is listed in the official MCP registry as io.github.brekkylab/backlot, version 0.1.1.

At a glance

Publisher
brekkylab (community)
Runs
Locally on your machine
Install from
Python package on PyPI: backlot
Written in
Python
License
Apache-2.0
GitHub stars
227
Official MCP registry
io.github.brekkylab/backlot

How to set up Backlot

  1. Install uv on the machine that runs your AI app, because Backlot starts with uvx and fetches its Python package on first run.
  2. Check the Backlot README for keys or settings; the registry lists none that Backlot requires.
  3. Add Backlot to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Backlot tools to confirm the connection.
  5. Run one read-only task with Backlot first, and keep your app asking before each tool call until the results look right.

Backlot compared with similar servers

  • Autopilot Jobhunt by tarunlnmiit has fewer GitHub stars than Backlot (219 against 227); both are community servers, and both run locally.
  • Human In The Loop by KOBA789 has more GitHub stars than Backlot (234 against 227); both are community servers, and both run locally.
  • Agentor by CelestoAI has fewer GitHub stars than Backlot (218 against 227); both are community servers, and both run locally.

Before you connect Backlot

  • Give Backlot its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Backlot tool call until you trust what it does with them.
  • Treat text that Backlot fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Backlot on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Backlot

How marketing and sales teams put Backlot to work, by company size. Pick the size closest to yours and start Backlot on one use case.

Small business

  • A small team can have Backlot summarize the inbox or channel each morning, so nothing from a customer waits until the afternoon.
  • Owners can draft replies and follow-ups with Backlot and send them only after a read, keeping the personal tone customers expect.
  • A busy owner can use Backlot to turn a brain dump into tasks with due dates, and get a short list of what matters today.
  • Backlot runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing teams can use Backlot to turn long launch threads into decisions, owners and dates that land in the project tracker.
  • Sales and success teams can connect Backlot so an agent drafts follow-ups after every customer call, ready to edit and send.
  • Marketing ops can connect Backlot to build launch checklists from a template and post status updates without a weekly meeting.
  • Start Backlot on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can deploy Backlot with retention and data loss rules intact, so agents summarize conversations without moving data outside policy.
  • Internal comms teams can use Backlot to find what employees ask most across channels and answer it once, in the right place.
  • Enterprise PMOs can use Backlot to roll up status across many teams into one view for leadership, with links back to each source task.
  • Backlot is a community server, so have security review the code and pin a version before Backlot touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Backlot README

From brekkylab/backlot on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md

Backlot

Run enterprise SaaS APIs locally.

Backlot is a local emulator for Slack, Gmail, Google Drive, Microsoft Teams, GitHub, Jira, Notion, S3 and other enterprise APIs. It reproduces the response shapes, pagination, authentication, errors and per-document access controls an integration has to handle, over a deterministic corpus you control, so you build and test against the official vendor SDKs with no vendor account, no OAuth approval, no secrets in CI and no network.

Try it in 60 seconds

pip install backlot
backlot import --bundled   # a corpus ships with the package; nothing to fetch or write
backlot serve              # every supported API, at http://127.0.0.1:8000

Point an official SDK at it by changing one base URL:

from slack_sdk import WebClient  # pip install slack_sdk

slack = WebClient(token="admin-service-token", base_url="http://127.0.0.1:8000/slack/api/")
print(slack.conversations_list()["channels"])

The same call targets Slack in production and Backlot in development. Backlot supplies the data and the credentials; your code keeps the vendor's request and response contract.

A test can run its own server instead, on a free port, with nothing to start or clean up:

import backlot
from slack_sdk import WebClient

with backlot.serve() as s:  # no arguments: a tiny hello-world corpus
    slack = WebClient(token=s.token, base_url=f"{s.base_url}/slack/api/")
    channels = slack.conversations_list()["channels"]
Let your coding agent run Backlot instantly

This repo is its own plugin marketplace, so the agent skill installs with no clone and no pip install first. Or hand the agent every source as MCP tools: backlot mcp starts a server if none is running and serves them all over stdio, with --user <email> answering as that person.

claude plugin marketplace add brekkylab/backlot && claude plugin install backlot@brekkylab
codex plugin marketplace add brekkylab/backlot && codex plugin add backlot@brekkylab
npx skills add brekkylab/backlot --skill backlot   # any agent skills.sh installs into
pip install "backlot[mcp]" && claude mcp add backlot -- backlot mcp   # every source as MCP tools

and prompt like this:

Mock our Slack workspace with three messages in an #incidents channel, get a server running, then show me what conversations.history actually returns for that channel.

Why not use mocks?

A hand-written mock returns the response your code already expects. Backlot implements the other side of the integration, so it exposes the assumptions a mock would repeat, it is for when the behavior of the API, not just the contents of one response, is what you need to test.

❌ Hand-written mocks ✅ Backlot
Test-specific response dictionaries Vendor-shaped responses served over HTTP
Usually cover the happy path Pagination, validation, auth and vendor-shaped errors
Custom test helpers Official vendor SDKs and ordinary HTTP clients
Little or no identity model Generated users, tokens, groups and document ACLs
Fixtures drift between tests One deterministic corpus, shared locally and in CI
Each API mocked differently Every API served from one process

What it serves

Every source on one local port, each behind the path prefix its own SDK expects, all reading one SQLite corpus.

The corpus defines the facts: messages, files, issues, authors, timestamps, threads, comments, labels, readers. Backlot derives stable ids, users, groups and tokens from them, so every run serves the same records, the same ACL-filtered views and the same pages.

It emulates the documented subset of each API it supports, not every vendor endpoint. The endpoint-by-endpoint matrix says which, and an implemented endpoint that diverges from the real API is a bug.

Service Base path Example, on the official SDK
Slack /slack/api slack.py
Gmail /gmail/v1 gmail.py
Google Drive (Docs, Sheets, Slides) /drive/v3 /docs/v1 /sheets/v4 /slides/v1 gdrive.py
Microsoft Teams /msgraph/v1.0 msteams.py
GitHub /github github.py
Jira /atlassian/rest/api jira.py
Confluence /atlassian/wiki/rest/api confluence.py
Notion /notion/v1 notion.py
Linear /linear/graphql linear/
HubSpot /hubspot hubspot.py
Fireflies /fireflies/graphql fireflies.py
Amazon S3 /s3 s3.py

The roadmap lives in the tracking issue, ask there for the source you need.

When you need this

  • 🔌 Building or upgrading an integration. The cursors, page shapes and error bodies the real API returns, without an account to get them from.
  • 🧪 Testing it, and keeping it tested. One fixture on your laptop and in CI, with no secrets and nothing to flake. Every user in the corpus gets a token, so you can also assert that one caller's documents never reach another.
  • 🤖 Evaluating a RAG pipeline or an agent. The same corpus, the same ids and the same answers on every run, so a score that moves means your code moved. Backlot supports write APIs for some vendors, so an agent that acts rather than only reads can be run here and graded on what it actually did, one endpoint reports it, another puts the corpus back for the next run (docs/write-overlay.md).
  • 🐛 Reproducing a bug in data you can't see. A document inside someone else's workspace breaks your parser. Write one shaped like it, serve it, and keep the failing test.

Bring your own corpus

The bundled corpus covers every supported service, but the main workflow is to serve your own test world: a JSONL file, one source document per line.

{"source_type":"slack","channel":"incidents","author_email":"bob@acme.com","created":"2026-02-10T18:00:00Z","content":"Anyone seeing 502s from the gateway?","replies":[{"content":"Looking now.","author_email":"ava@acme.com","created":"2026-02-10T18:00:40Z"}]}
backlot import my-corpus.jsonl --dry-run   # validate against each service's schema, touch nothing
backlot import my-corpus.jsonl && backlot serve

Every imported identity gets deterministic credentials, listed at GET /_meta/users; send the same request with another user's token to test what that caller is allowed to see. Preparing a corpus covers schemas, rosters, sharded corpora and public datasets, and Auth and tokens covers each service's authentication style.

Examples

Point this at it Runnable
📦 Official vendor SDKs, one script per service examples/using-official-sdk/
🔗 MCP tools for an agent: backlot mcp, or a vendor's own MCP server pointed at Backlot examples/using-mcp-with-agents/
🦙 Load it as documents, with the official LlamaIndex readers examples/using-llamaindex-readers/
🐍 Read it with pandas, pyarrow or dask, over an fsspec filesystem examples/using-fsspec/
🗂️ Read it with ls, cat and grep, over mirage's virtual filesystem examples/using-mirage/
📥 Your own corpus, from a JSONL file examples/bring-your-own-corpus/

Documentation

Every source Backlot serves, and every endpoint of each docs/supported-sources.md
Building a corpus, and public datasets docs/corpus.md
Auth schemes and tokens docs/auth.md
Measuring Backlot against the real APIs docs/fidelity.md
Writes, and where they go docs/write-overlay.md
Every BACKLOT_* setting, and Docker docs/configuration.md
Usage telemetry: why it is collected, what is sent, and how to turn it off docs/telemetry.md
Notices and trademarks NOTICE.md

Contributing

See CONTRIBUTING.md. Fidelity to the real APIs is the point, so a divergence is a bug, measure against the real service, and bring a test that fails without your fix.

Backlot exists thanks to all the people who contribute.

License

Apache-2.0. NOTICE.md has the MIT License earlier releases were under.

Questions about Backlot

What is the Backlot MCP server?

Local emulator for Slack, Gmail, Drive, GitHub, Jira, Notion, S3 and more, with per-document ACLs. Backlot is maintained by brekkylab on GitHub at brekkylab/backlot, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Backlot MCP server?

Add Backlot to your AI app's MCP config with the command uvx backlot==0.1.1 mcp. In Claude Code, run claude mcp add --transport stdio backlot -- uvx backlot==0.1.1 mcp. To run Backlot this way you need uv installed.

Does Backlot need an API key?

The registry lists no required keys for Backlot. Check the Backlot README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Backlot an official MCP server?

No. Backlot is a community server maintained by brekkylab. Community servers can be excellent; read the code and the open issues before you give Backlot access to company data.

What license is Backlot under?

Backlot is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of Backlot; the service it connects to has its own terms.