搜索

PythonReactSEOPDF
OpenClaw

Afrexai Mcp Engineering

MCP Engineering — Complete Model Context Protocol System

1kalin0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install 1kalin/afrexai-mcp-engineering

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

MCP Engineering — Complete Model Context Protocol System

Build, integrate, secure, and scale MCP servers and clients. From first server to production multi-tool architecture.

When to Use

  • Building an MCP server (any language)
  • Integrating MCP tools into an AI agent
  • Debugging MCP connection/auth issues
  • Designing multi-server architectures
  • Securing MCP endpoints for production
  • Evaluating which MCP servers to use

Phase 1: MCP Fundamentals

What MCP Is

Model Context Protocol = standardized way for AI agents to call external tools. Think of it as "USB for AI" — one protocol, any tool.

Architecture
Agent (Client) ←→ MCP Transport ←→ MCP Server ←→ External Service
                   (stdio/HTTP)      (your code)    (API, DB, file system)
Core Concepts
Concept What It Does Example
Server Exposes tools, resources, prompts A server wrapping the GitHub API
Client Discovers and calls server capabilities OpenClaw, Claude Desktop, Cursor
Tool A callable function with typed params create_issue(title, body, labels)
Resource Read-only data the agent can access file://workspace/config.json
Prompt Reusable prompt templates summarize_pr(pr_url)
Transport How client↔server communicate stdio (local) or HTTP+SSE (remote)
Transport Decision
Factor stdio HTTP/SSE Streamable HTTP
Setup complexity Low Medium Medium
Multi-client No Yes Yes
Remote access No Yes Yes
Streaming Via stdio SSE Native
Auth needed No (local) Yes Yes
Best for Local dev, single agent Production, shared Modern production

Rule: Start with stdio for development. Move to HTTP for production or multi-agent.


Phase 2: Building Your First MCP Server

Server Brief YAML
server_name: "[service]-mcp"
description: "[Wh...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/1kalin/afrexai-mcp-engineering
Version
—
Commit
5153db9bc6abfa05fd4f5e75c202de550d89a614
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

AfrexAI MCP Engineering

Complete Model Context Protocol system — build, integrate, secure, and scale MCP servers for AI agents.

Install

clawhub install afrexai-mcp-engineering

What You Get

11-phase MCP engineering methodology:

  1. Fundamentals — Architecture, concepts, transport selection
  2. Build — TypeScript + Python server templates with tool design rules
  3. Production — HTTP transport, auth patterns, production checklist
  4. Integration — OpenClaw/Claude Desktop config, multi-server architecture
  5. Testing — Test pyramid, per-tool checklist, MCP Inspector
  6. Patterns — API wrapper, database, file system, workflow, aggregator
  7. Security — Threat model, hardening checklist, dangerous patterns to avoid
  8. Debugging — Common issues table, debug workflow, logging template
  9. Evaluation — Score existing servers before using them (0-30 rubric)
  10. Architecture — Single agent, gateway, agent-per-domain patterns + tool count limits
  11. Publishing — Package structure, README template, npm publishing

Plus: 100-point quality rubric, 10 common mistakes, 12 natural language commands.

Quick Start

Ask your agent:

  • "Build an MCP server for [any API]"
  • "Secure my MCP server for production"
  • "Debug why my MCP tool isn't appearing"
  • "How should I architect 5 MCP servers?"

Why This Over Other MCP Skills

Other MCP skills are either CLI wrappers for specific tools or single-framework guides. This is the complete engineering methodology — from first tool to production multi-server architecture. Zero dependencies.

⚡ Level Up

Want production-ready AI agent configurations for your industry?

AfrexAI Context Packs ($47) — Complete agent setups for SaaS, Fintech, Healthcare, Legal, Construction, Ecommerce, Real Estate, Recruitment, Manufacturing, and Professional Services.

👉 Browse Context Packs

🔗 More Free Skills by AfrexAI

  • `afrexai-agent-e...

来源内容

SKILL.md
# MCP Engineering — Complete Model Context Protocol System

Build, integrate, secure, and scale MCP servers and clients. From first server to production multi-tool architecture.

## When to Use

- Building an MCP server (any language)
- Integrating MCP tools into an AI agent
- Debugging MCP connection/auth issues
- Designing multi-server architectures
- Securing MCP endpoints for production
- Evaluating which MCP servers to use

---

## Phase 1: MCP Fundamentals

### What MCP Is
Model Context Protocol = standardized way for AI agents to call external tools. Think of it as "USB for AI" — one protocol, any tool.

### Architecture
```
Agent (Client) ←→ MCP Transport ←→ MCP Server ←→ External Service
                   (stdio/HTTP)      (your code)    (API, DB, file system)
```

### Core Concepts
| Concept | What It Does | Example |
|---------|-------------|---------|
| **Server** | Exposes tools, resources, prompts | A server wrapping the GitHub API |
| **Client** | Discovers and calls server capabilities | OpenClaw, Claude Desktop, Cursor |
| **Tool** | A callable function with typed params | `create_issue(title, body, labels)` |
| **Resource** | Read-only data the agent can access | `file://workspace/config.json` |
| **Prompt** | Reusable prompt templates | `summarize_pr(pr_url)` |
| **Transport** | How client↔server communicate | stdio (local) or HTTP+SSE (remote) |

### Transport Decision
| Factor | stdio | HTTP/SSE | Streamable HTTP |
|--------|-------|----------|-----------------|
| Setup complexity | Low | Medium | Medium |
| Multi-client | No | Yes | Yes |
| Remote access | No | Yes | Yes |
| Streaming | Via stdio | SSE | Native |
| Auth needed | No (local) | Yes | Yes |
| Best for | Local dev, single agent | Production, shared | Modern production |

**Rule:** Start with stdio for development. Move to HTTP for production or multi-agent.

---

## Phase 2: Building Your First MCP Server

### Server Brief YAML
```yaml
server_name: "[service]-mcp"
description: "[Wh...
README
# AfrexAI MCP Engineering

Complete Model Context Protocol system — build, integrate, secure, and scale MCP servers for AI agents.

## Install

```bash
clawhub install afrexai-mcp-engineering
```

## What You Get

11-phase MCP engineering methodology:

1. **Fundamentals** — Architecture, concepts, transport selection
2. **Build** — TypeScript + Python server templates with tool design rules
3. **Production** — HTTP transport, auth patterns, production checklist
4. **Integration** — OpenClaw/Claude Desktop config, multi-server architecture
5. **Testing** — Test pyramid, per-tool checklist, MCP Inspector
6. **Patterns** — API wrapper, database, file system, workflow, aggregator
7. **Security** — Threat model, hardening checklist, dangerous patterns to avoid
8. **Debugging** — Common issues table, debug workflow, logging template
9. **Evaluation** — Score existing servers before using them (0-30 rubric)
10. **Architecture** — Single agent, gateway, agent-per-domain patterns + tool count limits
11. **Publishing** — Package structure, README template, npm publishing

Plus: 100-point quality rubric, 10 common mistakes, 12 natural language commands.

## Quick Start

Ask your agent:
- "Build an MCP server for [any API]"
- "Secure my MCP server for production"
- "Debug why my MCP tool isn't appearing"
- "How should I architect 5 MCP servers?"

## Why This Over Other MCP Skills

Other MCP skills are either CLI wrappers for specific tools or single-framework guides. This is the complete engineering methodology — from first tool to production multi-server architecture. Zero dependencies.

## ⚡ Level Up

Want production-ready AI agent configurations for your industry?

**AfrexAI Context Packs ($47)** — Complete agent setups for SaaS, Fintech, Healthcare, Legal, Construction, Ecommerce, Real Estate, Recruitment, Manufacturing, and Professional Services.

👉 [Browse Context Packs](https://afrexai-cto.github.io/context-packs/)

## 🔗 More Free Skills by AfrexAI

- `afrexai-agent-e...

相关技能

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

0protocol

0isone

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.