Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Bdb Vectorworks Mcp

ASecurity

Utilizes the Vectorworks RAG + MCP server to search and retrieve Python and VectorScript API documentation.

6 stars
0 votes
0 copies
0 views
Added 9/19/2026
ai-agentspythongobashfastapidockerapidatabasedocumentation

Works with

apimcp

Security Analysis

A96/100
mediumUses curl or wget to download content

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add hybridlabor-api/aos --skill bdb-vectorworks-mcp --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Bdb Vectorworks Mcp?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Bdb Vectorworks Mcp
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hybridlabor-api-bdb-vectorworks-mcp/badge)](https://www.skillsdirectory.com/skills/hybridlabor-api-bdb-vectorworks-mcp)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: bdb-vectorworks-mcp
description: Utilizes the Vectorworks RAG + MCP server to search and retrieve Python and VectorScript API documentation.
category: media-eventtech
---

# Vectorworks RAG MCP — Integration and AI Agent Guide

This skill file instructs AI agents on how to utilize the Vectorworks RAG (Retrieval-Augmented Generation) and MCP server. It details documentation searches, VectorScript code generation, and troubleshooting steps.

## 1. Overview and Pipeline Value

The **Vectorworks RAG + MCP Server** integrates local Vectorworks Python and VectorScript developer documentation. Using sentence-transformers and a FAISS semantic index, it provides immediate API lookups and code generation recommendations directly to AI models. This avoids syntax hallucinations when generating CAD or BIM layout scripts.

### Architecture
- **FastAPI / WebSocket Server:** Exposes search routes (`/search`, `/answer`) and a WebSocket JSON-RPC 2.0 interface (default port `8765`) acting as the MCP endpoint.
- **FAISS Vector Index:** Performs local CPU-bound cosine similarity queries against chunked document sources.
- **Dockerized Environment:** Package compose wraps the indexer, database, and FastAPI applications.

---

## 2. System Instructions

### Workflow Priorities
1. **API Validation first:** Before generating any VectorScript or Vectorworks Python script, query the RAG database to verify the function signature (e.g. parameter order, return values).
2. **Context boundaries:** VectorScript (Pascal-based syntax) and Vectorworks Python have specific execution rules. Explicitly query RAG if you are unsure how attributes or records are handled.
3. **Drafting Verification:** Use `vw.answer` to receive a detailed breakdown with citations. Do not write complex routines without consulting the retrieved document chunks first.

---

## 3. Available Tools and API Parameters

The server provides three tools via WebSocket:

| Tool | Parameters | Description |
| :--- | :--- | :--- |
| **`vw.search`** | `query: string`, `k?: int` (default 6) | Returns semantic search hits from the Vectorworks SDK/VectorScript references. |
| **`vw.answer`** | `query: string`, `k?: int` | Returns a draft explanation or script snippet synthesized from indexed document blocks. |
| **`vw.get`** | `doc_id: string`, `chunk_id: string` | Retrieves a specific document chunk to review source context or examples. |

---

## 4. Code Recipes and Prompt Cookbook

### Recipe 1: Retrieve Function Signatures
Find details on drawing a standard rectangle with attributes using VectorScript:

```json
// Tool Call: vw.search
{
  "query": "Rect or CreateRectangle or PushAttrs"
}

// Tool Call: vw.answer
{
  "query": "How do I draw a rectangle in VectorScript and set its fill color?"
}
```

### Recipe 2: VectorScript Structure Example
Consulting a search result from `vw.get`, construct a standard VectorScript block:

```pascal
Procedure CreateCustomRect;
VAR
    h : HANDLE;
Begin
    { Draw rectangle }
    Rect(0, 0, 150, 100);
    h := LNewObj;
    
    { Set fill style and color to red }
    SetFPat(h, 1); { Solid fill }
    SetFillBack(h, 65535, 0, 0); { RGB 16-bit color }
    
    ReDraw;
End;
Run(CreateCustomRect);
```

---

## 5. Troubleshooting and Connection Details

### Configuration and Setup
- **Web Interface:** `http://localhost:8000` (FastAPI UI)
- **MCP WebSocket URL:** `ws://localhost:8765`
- **Port Settings:**
  - `API_PORT` (FastAPI): Default `8000`
  - `MCP_PORT` (WebSocket): Default `8765`

### Connection Verification
Ensure the Docker containers are running and port `8765` is bound:
```bash
# Verify WebSocket port
curl http://localhost:8000/search?q=PushAttrs
```

### Rebuilding index
If you update or add new documentation files inside the `data/` folder, rebuild the FAISS database index:
```bash
docker compose run --rm app python -m app.indexer --rebuild
```

### Common Errors and Fixes
1. **`Connection Refused on ws://localhost:8765`**
   - *Cause:* The Docker containers are not running, or the app container crashed.
   - *Fix:* Run `docker compose up -d` in the `vectorworks-mcp` directory and inspect container logs via `docker compose logs app`.
2. **`API signature hallucination / Incorrect Pascal syntax`**
   - *Cause:* The AI did not consult the RAG database before generating the code block.
   - *Fix:* Force the agent to run `vw.search` with the specific function name or topic, then review output references.

Attribution

hybridlabor-apihybridlabor-api
View sourceMore from hybridlabor-api →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Ultra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".

1066601 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

686011 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3351 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

651 votes

math-skill

A comprehensive mathematical reasoning skill for AI assistants — handles arithmetic to research-level problems with rigorous step-by-step reasoning, systematic verification, and transparent uncertainty handling

381 votes
View all in ai-agents →