mcporter – skill Agent & Tự động hóa cho agent AI
Liệt kê, xác thực và gọi MCP server/công cụ từ terminal.
Cài skill mcporter bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/mcporter-9eb8a.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /mcporter – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/mcporter-9eb8a.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $mcporter – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/mcporter-9eb8a.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /mcporter – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/mcporter-9eb8a.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /mcporter – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
mcporter
Use mcporter to discover, call, and manage [MCP (Model Context Protocol)](https://modelcontextprotocol.io/) servers and tools directly from the terminal.
Prerequisites
Requires Node.js:
# No install needed (runs via npx)
npx mcporter list
# Or install globally
npm install -g mcporterQuick Start
# List MCP servers already configured on this machine
mcporter list
# List tools for a specific server with schema details
mcporter list <server> --schema
# Call a tool
mcporter call <server.tool> key=valueDiscovering MCP Servers
mcporter auto-discovers servers configured by other MCP clients (Claude Desktop, Cursor, etc.) on the machine. To find new servers to use, browse registries like [mcpfinder.dev](https://mcpfinder.dev) or [mcp.so](https://mcp.so), then connect ad-hoc:
# Connect to any MCP server by URL (no config needed)
mcporter list --http-url https://some-mcp-server.com --name my_server
# Or run a stdio server on the fly
mcporter list --stdio "npx -y @modelcontextprotocol/server-filesystem" --name fsCalling Tools
# Key=value syntax
mcporter call linear.list_issues team=ENG limit:5
# Function syntax
mcporter call "linear.create_issue(title: \"Bug fix needed\")"
# Ad-hoc HTTP server (no config needed)
mcporter call https://api.example.com/mcp.fetch url=https://example.com
# Ad-hoc stdio server
mcporter call --stdio "bun run ./server.ts" scrape url=https://example.com
# JSON payload
mcporter call <server.tool> --args '{"limit": 5}'
# Machine-readable output (recommended for Hermes)
mcporter call <server.tool> key=value --output jsonAuth and Config
# OAuth login for a server
mcporter auth <server | url> [--reset]
# Manage config
mcporter config list
mcporter config get <key>
mcporter config add <server>
mcporter config remove <server>
mcporter config import <path>Config file location: ./config/mcporter.json (override with --config).
Daemon
For persistent server connections:
mcporter daemon start
mcporter daemon status
mcporter daemon stop
mcporter daemon restartCode Generation
# Generate a CLI wrapper for an MCP server
mcporter generate-cli --server <name>
mcporter generate-cli --command <url>
# Inspect a generated CLI
mcporter inspect-cli <path> [--json]
# Generate TypeScript types/client
mcporter emit-ts <server> --mode client
mcporter emit-ts <server> --mode typesNotes
- Use
--output jsonfor structured output that's easier to parse - Ad-hoc servers (HTTP URL or
--stdiocommand) work without any config — useful for one-off calls - OAuth auth may require interactive browser flow — use
terminal(command="mcporter auth <server>", pty=true)if needed
Skill liên quan
- bash-scripting – Quy trình viết Bash script để tạo shell script sẵn sàng production, với các mẫu phòng…
- eval – Đánh giá và xếp hạng kết quả của agent theo chỉ số hoặc LLM judge cho một phiên…
- execute – /c-level-agents:execute [decision] — Tạo kế hoạch thực thi 90 ngày với các mốc hằng…
- bdi-mental-states – Dùng khi người dùng yêu cầu “mô hình hóa trạng thái tinh thần của agent”, “triển khai…
- extract – Biến một mẫu hoặc giải pháp gỡ lỗi đã được kiểm chứng thành một skill độc lập tái sử…
- bifrost-gateway – Chạy và cấu hình Bifrost, AI gateway mã nguồn mở: một API tương thích OpenAI cho hơn 20…
- bilig-workpaper – Dùng WorkPaper JSON có công thức và công cụ MCP cho các tác vụ bảng tính của agent…
- billing-automation – Làm chủ hệ thống thanh toán tự động, bao gồm thanh toán định kỳ, tạo hóa đơn, quản lý…