# Build brief — a focused alternative to Composio

> **Verdict:** Partly, if you narrow it · **Buildability:** 46/100 · **Category:** Dev Tools
> **Source:** https://www.canitbevibecoded.com/composio
> Independent editorial assessment from Can It Be Vibe Coded? Not affiliated with, endorsed by, or derived from Composio. Verify current pricing and capabilities before acting.

## Context

**Composio** — Managed tool and auth layer that gives AI agents working access to hundreds of third-party apps. It currently costs $29/mo.

If you personally use four apps, not four hundred, most of Composio evaporates. An agent can write you a local MCP server that wraps Gmail, Slack, GitHub and Notion with your own personal access tokens in about a session, and the tool-calling loop works fine. What you are actually buying from Composio is the part nobody enjoys: OAuth app registration per provider, token refresh, per-user credential storage, rate limit handling, and schemas for tools you have not thought of yet. That gets ugly the moment you want more than a handful of integrations, or multiple users, or an OAuth flow instead of a static token you pasted in. Solo and token-based: build it. Multi-tenant or breadth-hungry: pay.

This brief describes a focused, single-operator replacement for the part of Composio that is genuinely reproducible. It is deliberately narrower than the product it replaces, and it says so in writing. Build the useful core; do not pretend to have rebuilt the rest.

## What you are building

A local MCP server that exposes hand-written tools for the three or four SaaS APIs you actually touch, authenticated with your own personal tokens.

- Build the focused developer workflow you use repeatedly, with local configuration.
- A responsive interface with real empty, loading, success, and error states.

## Requirements

### Functional

- Node 20+.
- An MCP-capable client such as Claude Desktop, Cursor or your own agent loop.

### Data and integrations

- Personal access tokens for each service you want to wrap.

Each of these needs a real account, credential, or quota. Set them up before writing feature code.

### Non-functional

- Accessibility: semantic markup, labelled controls, visible focus, and reduced-motion support.
- Security: server-side secrets, validated input, and no credentials in the client bundle.
- Reliability: retries with backoff on external calls, and a clear failure state when a provider is down.
- Portability: the operator can export their data and leave without losing it.

## Implementation brief

Build a local MCP (Model Context Protocol) server in TypeScript that gives an AI agent working tools for my own SaaS accounts, using personal access tokens. No hosted service, no accounts, no telemetry.

Stack, non-negotiable:
- Node 20+, TypeScript, pnpm
- @modelcontextprotocol/sdk over stdio transport
- zod for tool input schemas
- undici fetch for HTTP, no per-provider SDKs

Structure:
- src/index.ts: server bootstrap, registers every tool module
- src/providers/gmail.ts, slack.ts, github.ts, notion.ts
- src/http.ts: one shared request helper with timeout, retry on 429 and 5xx with exponential backoff, and error normalization
- .env.example listing every token var, .env gitignored, fail loudly at startup if a token for an enabled provider is missing

Tools to implement, keep them small and honest:
- gmail_search_messages, gmail_get_message, gmail_send_message
- slack_list_channels, slack_post_message, slack_search_messages
- github_list_issues, github_create_issue, github_comment_issue
- notion_search, notion_get_page, notion_append_block
Each tool: zod-validated input, a one-line description an LLM can act on, and output trimmed to useful fields only, never raw API dumps.

In scope: static token auth, a PROVIDERS env var to enable a subset, structured logging to stderr only (stdout is the MCP channel), a vitest suite that mocks HTTP and covers happy path plus 401 and 429 handling.
Out of scope: OAuth flows, multi-user credential storage, a web UI, a database. Say so in the README.

Deliver a README with setup steps, token scope requirements per provider, and the exact JSON block to paste into a Claude Desktop or Cursor MCP config.

## Delivery standard

- Inspect the repository first, then write a short implementation plan before writing code.
- Deliver the smallest complete end-to-end workflow first; every primary control must work against persisted data.
- Use real validation and storage; never substitute fake dashboards, decorative controls, hard-coded success states, or mock integrations.
- Include responsive layouts plus genuine empty, loading, success, validation, and failure states.
- Keep secrets server-side in environment variables, provide .env.example, and never commit credentials or user data.
- Add structured logs around every external call and return actionable errors without leaking sensitive details.
- Write unit tests for the core logic and one automated test of the main user journey.
- Finish with a README covering setup, architecture, data location, backups, tests, deployment, and known limitations.

## Acceptance criteria

- [ ] A clean install starts the app using only the README and .env.example.
- [ ] The primary journey works from first visit through saved result, reload, edit, export, and deletion where applicable.
- [ ] Invalid input, missing configuration, provider failure, and an empty database each have a usable state.
- [ ] The interface works at 390px and 1440px, is keyboard navigable, and shows visible focus on every control.
- [ ] Tests, type checking, linting, and a production build all pass with no ignored failures.
- [ ] No part of the interface implies a live integration, security guarantee, or scale capability that was not actually built and verified.

## Non-goals

Do not build these, and do not claim to have replaced them:

- Hundreds of pre-built, pre-tested tool schemas you did not have to read API docs for.
- Managed OAuth: app registration, consent screens, refresh tokens, revocation.
- Per-end-user credential storage, which is the whole game if your agent serves anyone but you.
- Someone else fixing your integration when a provider ships a breaking API change.
- Usage observability, retries and rate limit smoothing across providers.

## What you still own after launch

- Secure credentials, rotate secrets, and handle provider rate limits.
- Run migrations, backups, restores, and dependency updates.
- Test the critical journey after every model, API, or hosting change.
- Monitor failures and fix the edge cases a first prompt will miss.
- Maintain every third-party integration as APIs and OAuth rules change.

## Risk

**Operational risk.** The code is achievable; dependable data, integrations, and ongoing operations are the real cost.

Editorial confidence in this assessment: medium. No reviewed project implementation is linked yet.

---

Generated by [Can It Be Vibe Coded?](https://www.canitbevibecoded.com) · Full report: https://www.canitbevibecoded.com/composio
