Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计通过

shadows-mcp-forgeshadows MCP forge 开发

Agent Skill

shadows-mcp-forge 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

8,506

周安装

358

GitHub Stars

公开资料未说明

下载量

2,979
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:shadows-mcp-forge(shadows MCP forge 开发)
来源仓库:https://github.com/nakedoshadow/shadows-mcp-forge
安装命令:
openclaw skills install shadows-mcp-forge
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install shadows-mcp-forge

简介

指导使用 Python (FastMCP) 或 TypeScript (MCP SDK) 创建高质量 MCP 服务器的开发工具。

  • 适合构建集成系统时快速生成标准化服务器模板。
  • 通过 clawhub 安装并使用 openclaw skills install shadows-mcp-forge 命令启用。
  • 需注意其可能涉及代码生成与依赖管理,应确认环境兼容性。
  • 建议查阅原始仓库以了解具体实现细节与示例用法。

SKILL.md

name
mcp-forge
description
MCP (Model Context Protocol) server builder — guides creation of high-quality MCP servers in Python (FastMCP) or TypeScript (MCP SDK). Use when building integrations for AI agents.
metadata
{ "openclaw": { "emoji": "🔌", "homepage": "https://clawhub.ai/NakedoShadow", "requires": { "anyBins": ["node", "python", "python3", "uv"] }, "os": ["darwin", "linux", "win32"] } }

MCP Forge — Model Context Protocol Server Builder

Version: 1.1.0 | Author: Shadows Company | License: MIT


WHEN TO TRIGGER

  • User wants to create an MCP server
  • Integrating an external API/service with AI agents
  • User says "build MCP", "create a tool server", "MCP server"
  • Connecting a database, API, or service to Claude/OpenClaw

WHEN NOT TO TRIGGER

  • Using existing MCP servers (just configure them)
  • Building regular REST APIs (use standard web framework)

PREREQUISITES

Requires at least one of: python/python3/uv (for Python MCP servers) or node (for TypeScript MCP servers). The skill auto-detects the user's preferred stack based on available binaries.

  • Python path: Requires fastmcp package (pip install fastmcp). Optional: httpx for HTTP clients, pytest for testing.
  • TypeScript path: Requires @modelcontextprotocol/sdk and zod packages (npm install). Optional: tsx for development.
  • uv path: Can replace pip/python with uv run for faster setup.

Additional tooling (pip, npm) is used only for dependency installation when explicitly requested by the user.


QUICK DECISION: PYTHON OR TYPESCRIPT?

FactorPython (FastMCP)TypeScript (MCP SDK)
Speed to buildFaster (less boilerplate)More setup
Type safetyRuntime checksCompile-time checks
EcosystemData/ML/scriptingWeb/Node ecosystem
Hostinguvx, pipnpx, npm

Default: Python with FastMCP unless the user needs TypeScript.


PYTHON — FastMCP Template

Minimal Server

from fastmcp import FastMCP

mcp = FastMCP("my-service", description="What this server does")

@mcp.tool()
async def my_tool(param: str) -> str:
    """Description of what this tool does.

    Args:
        param: Description of the parameter
    """
    # Implementation here
    return f"Result for {param}"

@mcp.resource("resource://{name}")
async def get_resource(name: str) -> str:
    """Fetch a named resource."""
    return f"Content of {name}"

Project Structure

my-mcp-server/
  __init__.py
  server.py          # FastMCP instance + tools
  config.py          # Environment variables, constants
  requirements.txt   # fastmcp, httpx, etc.
  README.md          # Usage instructions

Running

# Development
fastmcp dev server.py

# Install in Claude/OpenClaw
fastmcp install server.py --name "My Service"

# Or configure manually in settings

TYPESCRIPT — MCP SDK Template

Minimal Server

import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { z } from "zod";

const server = new McpServer({
  name: "my-service",
  version: "1.0.0",
});

server.tool(
  "my-tool",
  "Description of what this tool does",
  { param: z.string().describe("Description of param") },
  async ({ param }) => ({
    content: [{ type: "text", text: `Result for ${param}` }],
  })
);

const transport = new StdioServerTransport();
await server.connect(transport);

Project Structure

my-mcp-server/
  src/
    index.ts        # McpServer instance + tools
    config.ts       # Environment variables
  package.json      # @modelcontextprotocol/sdk, zod
  tsconfig.json
  README.md

DESIGN PRINCIPLES

1. Tool Design

  • One tool = one action — do not create god tools that handle multiple unrelated operations
  • Clear namesget_user, create_issue, not do_thing
  • Descriptive parameters — use docstrings/descriptions for every param
  • Return structured data — JSON-serializable results
  • Error handling — return error messages in the response, never let the server crash

2. Security

  • Never hardcode secrets — use environment variables via os.environ or process.env
  • Validate inputs — check types, ranges, formats at every tool boundary
  • Sanitize outputs — strip internal paths, stack traces, and system details from responses
  • Rate limiting — protect against runaway agent loops with request throttling
  • Principle of least privilege — only request the permissions the tool actually needs

3. Performance

  • Async by default — use async/await for all I/O operations
  • Connection pooling — reuse HTTP clients and DB connections across tool calls
  • Timeouts — set explicit timeouts (e.g., 30s) on all external calls
  • Caching — cache frequently-accessed, rarely-changing data with TTL

4. Testing

# Python testing with FastMCP
import pytest
from fastmcp import Client

@pytest.fixture
def client():
    return Client(mcp)

@pytest.mark.asyncio
async def test_my_tool(client):
    result = await client.call_tool("my_tool", {"param": "test"})
    assert "Result" in result.text

CONFIGURATION FORMAT

For OpenClaw/Claude Desktop:

{
  "mcpServers": {
    "my-service": {
      "command": "python",
      "args": ["-m", "my_mcp_server.server"],
      "env": {
        "API_KEY": "from-env-or-secrets"
      }
    }
  }
}

SECURITY CONSIDERATIONS

This skill generates new source code files (scaffolding MCP servers). It does NOT execute the generated code during scaffolding.

  • Commands suggested: pip install fastmcp, npm install @modelcontextprotocol/sdk — these install packages from public registries. Review package names before running.
  • Data read: The skill reads the user's project structure to determine stack preferences. No sensitive files are accessed.
  • Network access: None from the skill itself. Generated servers may make network calls depending on their purpose — this is by design and documented per-server.
  • Credentials: The skill explicitly instructs to use environment variables for secrets and never hardcode credentials in source files.
  • Persistence: Generated files are written to the working directory only. No global config changes.
  • Sandboxing: Recommended to run generated MCP servers in isolated environments (containers, venvs) during development.

RULES

  1. One purpose per server — do not mix unrelated tools in a single server
  2. Document every tool — description + parameter docs are mandatory for each tool
  3. Environment variables for secrets — never hardcode API keys or tokens
  4. Test before publishing — verify all tools work with a client before distribution
  5. README is mandatory — every server must include installation, configuration, and usage examples

Published by Shadows Company — "We work in the shadows to serve the Light."

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

88.85%
按下载量换算2,647

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills