1mcp-cli
Skill538 starsChanged 15 months agoApache-2.0View on GitHub
Discover and invoke MCP tools through the 1MCP CLI. Use before operating 1MCP-managed servers, including project selection, backend readiness, and caller lifecycle recovery. Preparation recipe configuration belongs to 1mcp-preparation-setup.
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- 1mcp-preparation-setupSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Read project and worker ownership before dispatching workers, switching projects or runtimes, selecting project-set members, or resolving …
- Very specific: line 18
If the provider or tool is unknown, use 1mcp inspect --search <query> or 1mcp inspect <server> --search <query>.
- Very specific: line 19
Read 1mcp instructions <server> before using that server unless its current instructions for the selected target are already available.
- Very specific: line 25
Search is case-insensitive literal substring matching.
- Distinctive: line 31
Read release and recovery before releasing owned bindings, recovering terminal cleanup, or draining a project.
- Distinctive: line 33
Use a private task directory under the OS temporary directory for scratch files and payloads.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Use 1MCP tools
Route upstream MCP capabilities through the 1MCP CLI. Reuse current hook-delivered context for the same assigned target; compact bootstrap output is a server overview, not the server manuals.
Select the target
Normal local calls omit --project-owner and --project: use the verified startup or worker assignment and your own caller ownership. A per-call override does not change that default. Retain explicit runtime, filters, and target overrides throughout discovery, instruction loading, schema inspection, and invocation.
Read project and worker ownership before dispatching workers, switching projects or runtimes, selecting project-set members, or resolving missing ownership. Each worker needs independent ownership and an explicit assignment. Resolve bootstrap coverage gaps before project-specific calls; configuration files do not prove trusted hooks or readiness.
Discover and invoke
- If the provider or tool is unknown, use
1mcp inspect --search <query>or1mcp inspect <server> --search <query>. Skip discovery when the target is known. - Read
1mcp instructions <server>before using that server unless its current instructions for the selected target are already available. Empty instructions and unavailable instructions are different outcomes: resolve reported availability or authorization gaps. - Inspect unknown tool schemas with
1mcp inspect <server>/<tool>. - Invoke with
1mcp run <server>/<tool> --args '<json>'using the inspected schema.
Reuse unchanged tool schemas within a session, including across projects. Refresh project-specific instructions, readiness, authorization, and target selection when they change; refresh discovery/schema after preparation or relevant failures. Never automatically replay failed calls.
Search is case-insensitive literal substring matching. Use quoted --search "filesystem/*read?" --glob for whole-reference matching with * and ?. --include-descriptions broadens search to descriptions; --show-descriptions only displays them. Narrow the server set with --preset, --tags, or --tag-filter when appropriate.
For a loading static server (type: external), use 1mcp wait <server>. For backend preparation requirements, including an unavailable dynamic server (type: template), read preparation operations. Authenticate only with an authorized credential for the selected runtime; consult 1mcp auth login --help rather than changing targets to bypass a denial.
Finish or recover
Read release and recovery before releasing owned bindings, recovering terminal cleanup, or draining a project. Workers explicitly release their own bindings when finished. Turn completion is not SessionEnd and does not authorize deleting owner records.
Use a private task directory under the OS temporary directory for scratch files and payloads. Let 1MCP manage owner records; resolve scoped permission failures rather than copying credentials or bypassing ownership.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

