Skip to content
Back to skills

Api Mcp Web

ASecurity

"Develop and troubleshoot LangBot HTTP API route groups,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
toolspythonbashtestingapifrontend

Works with

  • api
  • mcp

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill api-mcp-web --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Mcp Web?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api Mcp Web
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-api-mcp-web/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-api-mcp-web)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: api-mcp-web
description: "Develop and troubleshoot LangBot HTTP API route groups,
  service-layer auth, API keys, MCP server tools at /mcp, web frontend
  integration, and Page Bot embed workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# API, MCP, and Web UI

Use this sub-skill for HTTP routes, permissions, service APIs, API-key auth,
LangBot's own `/mcp` server, frontend API integration, and embeddable Page Bot
widget behavior.

## Read First

- [references/http-api-and-auth.md](references/http-api-and-auth.md) for route
  groups, auth types, permissions, service-layer rules, and API keys.
- [references/mcp-server.md](references/mcp-server.md) for MCP tool surface and
  alignment rules.
- [references/web-frontend-and-embed.md](references/web-frontend-and-embed.md)
  for Vite frontend and Page Bot embed workflows.
- [references/troubleshooting.md](references/troubleshooting.md) for 401/403,
  route registration, MCP transport, CORS, and frontend failures.

## Workflow: Add or Change an Agent-Accessible Endpoint

1. Locate the owning service in the HTTP service layer.
2. Add or update the route group and declare the narrowest valid `AuthType` and
   `Permission`.
3. If an AI agent should manage the resource, update `LangBotMCPServer` with a
   curated MCP tool that calls the service layer directly.
4. Keep the web UI request shape and i18n strings aligned if the endpoint is
   user-visible.
5. Update skills/testing guidance when the public agent contract changes.
6. Verify with focused HTTP/API/MCP tests before broad gates.

## Key Commands

```bash
python scripts/extract_langbot_routes.py --repo-root /path/to/LangBot --format markdown
uv run pytest tests/unit_tests/api/http/test_authz.py tests/unit_tests/api/service/test_apikey_service.py -q --tb=short
uv run pytest tests/unit_tests/api/test_mcp_controller.py tests/unit_tests/api/test_mcp_mount_tenant_scope.py tests/unit_tests/api/service/test_mcp_service.py -q --tb=short
uv run --no-sync python tests/manual/mcp_smoke.py
cd web && pnpm lint
```

## Boundaries

- Message routing and pipeline/provider execution belong to
  `platform-pipeline-provider`.
- Plugin/Box/skills runtime endpoints and SDK boundary details belong to
  `plugin-box-skills`.
- Persistence schema/tenancy internals belong to `persistence-rag-workspaces`.

Files in this skill

  • SKILL.md2.3 KB
  • references/http-api-and-auth.md2.7 KB
  • references/mcp-server.md1.5 KB
  • references/troubleshooting.md1.6 KB
  • references/web-frontend-and-embed.md1.4 KB

Attribution

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

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.