# Mcpskills Cli

> Generate Agent Skills from MCP server tools. Connects via Streamable HTTP, discovers tools, and outputs a skill with schema docs and a call script in the language of your choice.

- **Type:** MCP server
- **Install:** `agentstack add mcp-dhanababum-mcpskills-cli`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [dhanababum](https://agentstack.voostack.com/s/dhanababum)
- **Installs:** 0
- **Category:** [Integrations](https://agentstack.voostack.com/c/integrations)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [dhanababum](https://github.com/dhanababum)
- **Source:** https://github.com/dhanababum/mcpskills-cli

## Install

```sh
agentstack add mcp-dhanababum-mcpskills-cli
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# mcpskills-cli

Generate Agent Skills from MCP server tools. Connects via Streamable HTTP, discovers tools, and outputs a skill with schema docs and a call script in the language of your choice.

## Why bake MCP into skills?

Skills are easy to understand, static, edit, and most coding and non-coding agents are adopting them. Traditional MCPs load all tools into context and pollute the agent; token penalty is also costly because of loading every tool. This is why we transform MCP into skills: skills reduce token consumption because the agent does not load all skills into context—it only loads them when necessary.

## But why do we even need MCP?

MCP is a standardized protocol for AI agents to communicate. Because of this, any system can easily adopt it and create the necessary tools specific to their needs.

## Install

```bash
pip install mcpskills-cli
# or for development:
pip install -e .
```

## Usage

```bash
mcpskills-cli --url  --token  [--name ] [--output ] [--script ] [--multi-skills]
```

| Flag | Default | Description |
|---|---|---|
| `--url` | (required) | MCP server endpoint |
| `--token` | (required) | Bearer token |
| `--name` | from URL | Server name (skill dir + credentials key) |
| `--output` | `~/.cursor/skills` | Skills output directory |
| `--script` | `bash` | Call script language: `bash`, `python`, `node`, `go`, `rust` |
| `--multi-skills` | `false` | Generate a separate skill for each tool |

### Examples

```bash
# Generate single skill with all tools (default)
mcpskills-cli --url http://localhost:8027/mcp/abc123 --token mytoken --name my-db

# Generate separate skill for each tool
mcpskills-cli --url http://localhost:8027/mcp/abc123 --token mytoken --name my-db --multi-skills

# Generate with Python call script
mcpskills-cli --url http://localhost:8027/mcp/abc123 --token mytoken --name my-db --script python

# Generate with Node.js call script
mcpskills-cli --url http://localhost:8027/mcp/abc123 --token mytoken --name my-db --script node
```

## Credentials

Stored in `~/.mcps/credentials` (INI format, `chmod 600`). One section per server, updated automatically.

```ini
[my-db]
url = http://localhost:8027/mcp/abc123/
token = mytoken
```

Rotate tokens by editing the file directly; no need to regenerate skills.

## Generated Output

### Default Mode (Single Skill)

```
~/.cursor/skills//
  SKILL.md              # Documents all tools with parameters
  scripts/
    call.          # Calls any tool: ./call.  '{"key":"val"}'
```

### Multi-Skills Mode (--multi-skills)

```
~/.cursor/skills/-/
  SKILL.md              # Documents single tool
  scripts/
    call.          # Calls tool: ./call.  '{"key":"val"}'

~/.cursor/skills/-/
  SKILL.md
  scripts/
    call.
```

## Requirements

- Python >= 3.10
- `fastmcp` >= 2.3
- `jinja2` >= 3.1

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [dhanababum](https://github.com/dhanababum)
- **Source:** [dhanababum/mcpskills-cli](https://github.com/dhanababum/mcpskills-cli)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-dhanababum-mcpskills-cli
- Seller: https://agentstack.voostack.com/s/dhanababum
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
