# Simplefunctions Cli

> Reference and issue mirror for @spfunctions/cli, the SimpleFunctions sf command-line interface.

- **Type:** MCP server
- **Install:** `agentstack add mcp-spfunctions-simplefunctions-cli`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [spfunctions](https://agentstack.voostack.com/s/spfunctions)
- **Installs:** 0
- **Category:** [Finance & Payments](https://agentstack.voostack.com/c/finance-and-payments)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [spfunctions](https://github.com/spfunctions)
- **Source:** https://github.com/spfunctions/simplefunctions-cli
- **Website:** https://simplefunctions.dev

## Install

```sh
agentstack add mcp-spfunctions-simplefunctions-cli
```

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

## About

# SimpleFunctions CLI (`sf`)

Reference and issue mirror for `@spfunctions/cli`, the supported SimpleFunctions command-line interface for prediction-market infrastructure.

The current CLI is distributed through npm. Install the package and treat the installed `sf` binary as the source of truth:

```bash
npm i -g @spfunctions/cli
sf login
sf status --json
sf world --json
sf describe --all --json
```

`sf` is the primary local surface for SimpleFunctions. It queries live Kalshi + Polymarket state, inspects markets and orderbooks, exports structured JSON for coding agents, runs thesis and portfolio workflows, and keeps execution commands explicit and permission-gated.

## What this repository is

- Public reference page for the npm package.
- Issue tracker for `@spfunctions/cli`.
- Installation, support, and discovery pointer for the current `sf` surface.

## What this repository is not

- It is not the current full operator-runtime source tree.
- It is not the canonical command inventory.
- It should not be used to infer current command counts, market counts, or execution behavior.

Use `sf describe --all --json` for the installed command manifest. Use `https://simplefunctions.dev/api/internal/statistics` for current public surface counts.

## First useful workflow

```bash
sf status --json
sf world --json
sf discover --quality --json
sf inspect  --json
```

If a command is unavailable in your installed version, run:

```bash
npm i -g @spfunctions/cli@latest
sf describe --all --json
```

## Product surface order

1. CLI: primary local control plane for humans, shell scripts, cron, Claude Code, Codex, and other coding agents.
2. HTTP/Data API: network surface for services, dashboards, notebooks, and remote workers.
3. SDKs and agent runtime: planned wrappers over stable CLI/API object contracts.
4. MCP: compatibility adapter for MCP-only hosts, not the canonical product center.

## Links

- CLI product page: https://simplefunctions.dev/cli
- npm package: https://www.npmjs.com/package/@spfunctions/cli
- Docs: https://docs.simplefunctions.dev
- llms.txt: https://simplefunctions.dev/llms.txt
- Public package catalog: https://simplefunctions.dev/opensource

## License

The public mirror is MIT-licensed. The supported npm distribution may include private SimpleFunctions runtime code.

## Source & license

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

- **Author:** [spfunctions](https://github.com/spfunctions)
- **Source:** [spfunctions/simplefunctions-cli](https://github.com/spfunctions/simplefunctions-cli)
- **License:** MIT
- **Homepage:** https://simplefunctions.dev

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-spfunctions-simplefunctions-cli
- Seller: https://agentstack.voostack.com/s/spfunctions
- 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%.
