AFC Commander (Free Edition)
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AFC Commander (Free Edition)list all commands in my profile"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AFC Commander Free Edition
AFC Commander Free Edition is a command registry and pipeline runner with a Cursor-compatible Model Context Protocol (MCP) server. It gives you a persistent alias layer for shell commands, profile isolation for different workspaces or projects, and a single stdio MCP server named afc-commander-core.
What it does
afcis the command-line interface (CLI) for adding, listing, searching, and running commands by alias.Profiles let you isolate command sets by project or workflow.
Pipelines let you chain commands into repeatable execution flows.
The MCP server exposes the same registry and execution features to Cursor agents through one local server entrypoint.
Requirements
Node.js 20.12 or newer
npm
Cursor if you want to use the MCP server
Install
From the repository root:
node setup.cjsThat setup script will:
Install the package dependencies.
Install
afc-commander-freeglobally with npm so theafccommand is available on your system.Create a user data directory at
~/.afc-commanderunless you override it withAFC_HOME.Register the
afc-commander-coreMCP server in~/.cursor/mcp.json.
After installation, reload MCP in Cursor.
Verify the install
afc version
afc help
afc profile listFirst commands
afc help
afc help list
afc profile list
afc profile create myproject "My project"
afc profile switch myproject
afc add hello "echo hello" -d "Say hello"
afc -y helloMCP tools
The free edition exposes 11 MCP tools through a single stdio server named afc-commander-core.
afc-list-commandsafc-search-commandsafc-execute-commandafc-add-commandafc-remove-commandafc-list-profilesafc-create-profileafc-switch-profileafc-list-pipelinesafc-create-pipelineafc-execute-pipeline
Data locations
Package code: installed globally by npm
User data:
~/.afc-commanderMCP config:
~/.cursor/mcp.jsonInstall record:
~/.afc-commander/install.json
Set AFC_HOME to move the user data directory to another path.
Useful commands
Refresh MCP paths after moving the global package:
node setup.cjs --mcp-onlyUninstall:
node uninstall.cjsRemove user data too:
node uninstall.cjs --purge-dataProject layout
afc-commander/— CLI package and command implementationserver.js— MCP stdio entrypointtools/afc-commander/— MCP tool handlerssetup.cjs— install scriptuninstall.cjs— uninstall scriptdocs/— install, usage, MCP, and troubleshooting notes
Notes
This repository is source-available under the license in LICENSE.md. It is not GPLv3.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Trace186/AFC-Commander-CLI-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server