AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

mcp-server-builder

Use when exposing an API as an MCP server or scaffolding a new MCP server in Python or TypeScript, before hand-writing tool wrappers. Generates tools from OpenAPI with openapi_to_mcp.py and validates them with mcp_validator.py.

Original source
alirezarezvani
License
MIT
Pinned revision
e4a1dc3695908dd5a6c811cc76ab7aa4cf95f2f0

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

This skill also requires local files or dependencies. Remote reading alone may not be enough.

Ask your assistant

Use Agentic Memory skills to read alirezarezvani--mcp-server-builder at revision e4a1dc3695908dd5a6c811cc76ab7aa4cf95f2f0, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 7

references/openapi-extraction-guide.md

OpenAPI Extraction Guide

Goal

Turn stable API operations into stable MCP tools with clear names and reliable schemas.

Extraction Rules

  1. Prefer operationId as tool name.
  2. Fallback naming: <method>_<path> sanitized to snake_case.
  3. Pull summary for tool description; fallback to description.
  4. Merge path/query parameters into inputSchema.properties.
  5. Merge application/json request-body object properties when available.
  6. Preserve required fields from both parameters and request body.

Naming Guidance

Good names:

  • list_customers
  • create_invoice
  • archive_project

Avoid:

  • tool1
  • run
  • get__v1__customer___id

Schema Guidance

  • inputSchema.type must be object.
  • Every required key must exist in properties.
  • Include concise descriptions on high-risk fields (IDs, dates, money, destructive flags).