# vibocode-mcp [Health: Active]

**Category:** 👨‍💻 Code Execution  
**Repository:** https://github.com/vnbochkarev-netizen/vibocode-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 758  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/vibocode-mcp

## Description
Two MCP tools instead of an API catalog: search finds endpoints, run executes model-written Python in a sandbox with memory and allowlisted HTTP. 217 tokens for the whole toolset; 1272 GitHub endpoints cost 79,525 tokens as plain tools.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "vibocode-mcp": {
    "command": "npx",
    "args": ["-y","vibocode-mcp"],
    "env": {
      "VIBOCODE_CATALOG": "",
      "VIBO_MEM_FILE": ""
    }
  }
}
```

**Requires environment variables:** `VIBOCODE_CATALOG`, `VIBO_MEM_FILE` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What vibocode-mcp does

vibocode-mcp presents a service catalog through two MCP tools rather than exposing one tool for every API endpoint. `search` locates relevant actions and stored memory facts, returning compact endpoint signatures. `run` accepts model-written Python and executes it in a separate restricted process.

The approach is intended for APIs with many endpoints. A catalog describing the service contains its base URL, permitted domains, and actions such as HTTP method, path, authentication requirement, and description. An agent can search for an action, write a short program around the result, call the service, and record useful findings for later sessions.

## How it works

The server communicates with MCP clients using line-delimited JSON-RPC over standard input and output. The npm command is an entry point that starts the Python implementation. Search uses lexical matching plus aliases, allowing terms such as natural-language descriptions to map to catalog vocabulary. The catalog itself remains static until it is replaced or regenerated.

Python executed by `run` is checked with AST validation, then run in an isolated process with resource limits. Permitted imports include `json`, `math`, `re`, `datetime`, `statistics`, and `itertools`. Network access is available through `api.get(path)` only, and requests are restricted to hosts listed in the catalog's `allow_domains` field. Output is limited to 4,000 characters, with 40 seconds of wall-clock time, 20 seconds of CPU time, and 1.5 GB of memory.

Memory operations use the `vi` interface. `vi.add` records a fact, `vi.find` searches stored facts, and `vi.stats` reports memory statistics. Repeating an identical memory write is skipped.

## Setup and configuration

Run the package with:

```bash
npx vibocode-mcp
```

Node.js 18 or newer and Python 3.10 or newer are required. Configure an MCP client to launch `npx -y vibocode-mcp`, then set `VIBOCODE_CATALOG` to the catalog file and `VIBO_MEM_FILE` to the memory file location.

Catalogs can be generated from OpenAPI specifications with `tools/openapi_to_catalog.py`. The generator accepts an input specification, output path, base URL, allowed host, and service name. Alias data can be supplied through `VIBOCODE_ALIASES`, including language packs for search terms.

## Tools and capabilities

- Search catalog actions and memory facts with compact results.
- Execute short Python programs against catalog-defined HTTP endpoints.
- Store, query, and inspect persistent ViBo memory.
- Restrict outbound requests to explicitly allowed domains.
- Convert OpenAPI descriptions into catalog files.
- Keep the exposed tool surface small compared with per-endpoint MCP catalogs.

## Limitations and notes

The sandbox is designed to reduce accidental or careless code execution, not to defend against a deliberate operating-system-level attack. File access, dynamic code execution, selected reflection features, `global` and `nonlocal`, and infinite loops are blocked.

Session-based endpoints require a cookie or service token. Authentication details must therefore be usable through the configured service and catalog. Search is lexical rather than vector-based, and scenario-level queries can perform worse than queries naming a concrete object. Adding endpoints requires updating the catalog or regenerating it from OpenAPI. The transport uses line-delimited JSON-RPC instead of Content-Length framing, which is intended for stdio clients.

_Full upstream README: https://allmcps.com/mcp/vibocode-mcp/readme_

