Przejdź do treści
Biblioteka skilli
AI i agenci · Budowanie i kod

mcp-server-builder

/mcp-server-builder

Projektuje i wdraża produkcyjne serwery MCP z kontraktów OpenAPI zamiast ręcznie pisanych wrapperów narzędzi, w Pythonie i TypeScript, z walidacją schematów i bezpieczną ewolucją.

Repozytorium
claude-skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
23.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
9
Skrypty
2
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 23.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 2 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/mcp_validator.py, scripts/openapi_to_mcp.py

Co robi i kiedy

Projektuje i wdraża produkcyjne serwery MCP z kontraktów OpenAPI zamiast ręcznie pisanych wrapperów narzędzi, w Pythonie i TypeScript, z walidacją schematów i bezpieczną ewolucją.

Oryginalny opis (EN)

Design and ship production-ready MCP (Model Context Protocol) servers from OpenAPI contracts instead of hand-written tool wrappers. Python and TypeScript support, schema validation, safe evolution. Use when exposing an existing API as an MCP server, building tool integrations for Claude or Codex or Cursor, or scaffolding an MCP project from scratch.

Jak działa

  1. Overview
  2. Core Capabilities
  3. When to Use
  4. Key Workflows
  5. Script Interfaces
  6. Reference Material
Sekcje z nagłówków SKILL.md, w oryginale · 97 linii, 435 słów
Podgląd SKILL.md
---
name: "mcp-server-builder"
description: "Design and ship production-ready MCP (Model Context Protocol) servers from OpenAPI contracts instead of hand-written tool wrappers. Python and TypeScript support, schema validation, safe evolution. Use when exposing an existing API as an MCP server, building tool integrations for Claude or Codex or Cursor, or scaffolding an MCP project from scratch."
---

# MCP Server Builder

**Tier:** POWERFUL · **Category:** Engineering · **Domain:** AI / API Integration

## Overview

Use this skill to design and ship production-ready MCP servers from API contracts instead of hand-written one-off tool wrappers. It focuses on fast scaffolding, schema quality, validation, and safe evolution.

The workflow supports both Python and TypeScript MCP implementations and treats OpenAPI as the source of truth.

## Core Capabilities

- Convert OpenAPI paths/operations into MCP tool definitions
- Generate starter server scaffolds (Python or TypeScript)
- Enforce naming, descriptions, and schema consistency
- Validate MCP tool manifests for common production failures
- Apply versioning and backward-compatibility checks
- Separate transport/runtime decisions from tool contract design

## When to Use

- You need to expose an internal/external REST API to an LLM agent
- You are replacing brittle browser automation with typed tools
- You want one MCP server shared across teams and assistants
- You need repeatable quality checks before publishing MCP tools
- You want to bootstrap an MCP server from existing OpenAPI specs

## Key Workflows

### 1. OpenAPI to MCP Scaffold

1. Start from a valid OpenAPI spec.
2. Generate tool manifest + starter server code.
3. Review naming and auth strategy.
4. Add endpoint-specific runtime logic.

```bash
python3 scripts/openapi_to_mcp.py \
  --input openapi.json \
  --server-name billing-mcp \
  --language python \
  --output-dir ./out \
  --format text
```

Supports stdin as well:

```bash
cat openapi.json | python3 scripts/openapi_to_mcp.py --server-name billing-mcp --language typescript
```

### 2. Validate MCP Tool Definitions

Run validator before integration tests:

```bash
python3 scripts/mcp_validator.py --input out/tool_manifest.json --strict --format text
```

Checks include duplicate names, invalid schema shape, missing descriptions, empty required fields, and naming hygiene.

### 3. Runtime Selection

- Choose **Python** for fast iteration and data-heavy backends.
- Choose **TypeScript** for unified JS stacks and tighter frontend/backend contract reuse.
- Keep tool contracts stable even if transport/runtime changes.

### 4. Harden for Production

Key items before publishing:

- Keep secrets in env vars, not tool schemas
- Prefer outbound host allowlists over open proxies
- Use additive-only changes; never rename tool names in-place

Full hardening guidance: [references/production-hardening-guide.md](references/production-hardening-guide.md).

## Script Interfaces

- `python3 scripts/openapi_to_mcp.py --help`
  - Reads OpenAPI from stdin or `--input`
  - Produces manifest + server scaffold
  - Emits JSON summary or text report
- `python3 scripts/mcp_validator.py --help`
  - Validates manifests and optional runtime config
  - Returns non-zero exit in strict mode when errors exist

## Reference Material

- [references/production-hardening-guide.md](references/production-hardening-guide.md) — auth & safety design, versioning strategy, common pitfalls, best practices, architecture decisions, contract quality gates, testing strategy, deployment practices, security controls
- [references/openapi-extraction-guide.md](references/openapi-extraction-guide.md)
- [references/python-server-template.md](references/python-server-template.md)
- [references/typescript-server-template.md](references/typescript-server-template.md)
- [references/validation-checklist.md](references/validation-checklist.md)
- [README.md](README.md)
Pliki w paczce (9)
  • README.md 1 KB
  • SKILL.md 4 KB
  • references/openapi-extraction-guide.md 1 KB
  • references/production-hardening-guide.md 3 KB
  • references/python-server-template.md 1 KB
  • references/typescript-server-template.md 1 KB
  • references/validation-checklist.md 1 KB
  • scripts/mcp_validator.py 5 KB
  • scripts/openapi_to_mcp.py 9 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · alirezarezvani/claude-skills100MIT
TerminalSkills/skills100Apache-2.0
borghei/Claude-Skills100MIT
OneWave-AI/claude-skills100MIT
yeaight7/agent-powerups100Apache-2.0

Migawka bazy z 28.10.2026 · wersja paczki 56a31765c266 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100mcp-builder
    Projektuje i implementuje serwery MCP: narzędzia, zasoby, prompty, schematy i kontrakty błędów dla klientów agentowych, np. agentów Cursor i Claude.
  • 100mcp-builder
    Projektuje i buduje serwery MCP z narzędziami dla Claude w Pythonie lub TypeScript, w tym schematy narzędzi, diagnozę połączeń i wybór między narzędziami, zasobami i promptami.
  • 100mcp-builder
    Buduje serwery MCP na podstawie specyfikacji, generując definicje narzędzi, obsługę zasobów i zestawy testów w TypeScript lub Pythonie (FastMCP).
  • 100mcp-builder
    Prowadzi przez budowę serwerów MCP i narzędzi: czym jest MCP, jak projektować narzędzia, zasoby i prompty pod użycie przez agentów oraz jak implementować serwery w TypeScript lub Pythonie.
  • 100nixtla-mcp-server-builder
    Generuje implementacje serwerów MCP ze specyfikacji narzędzi w PRD, z walidacją schematów, obsługą błędów i infrastrukturą testów, dla wtyczek Nixtla.
  • 100mcp-server-building
    Projektuje, implementuje, utwardza i weryfikuje serwery MCP: precyzyjne kontrakty narzędzi, autoryzacja z minimalnymi uprawnieniami, bezpieczne transporty, ustrukturyzowane błędy i testy interoperacyjności.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.