askit-build-mcp
Skill2 starsChanged 2 months agoApache-2.0View on GitHub
Creates and improves MCP server definitions (a portable .mcp.json) for a plugin to the Advanced Skill Library Standard. Use when you need to add an MCP server to a plugin, author or extend .mcp.json, or wire the per-target mcpServers manifest pointer.
In this repository27 other files it gives its agents.
- AGENTS.mdAGENTS.md
- askit-backlogSkill
- askit-build-agents-mdSkill
- askit-build-chain-contractSkill
- askit-build-commandSkill
- askit-build-docsSkill
- askit-build-hookSkill
- askit-build-output-styleSkill
- askit-build-samplesSkill
- askit-build-settingsSkill
- askit-build-skillSkill
- askit-build-statuslineSkill
- askit-build-subagentSkill
- askit-build-workflowSkill
- askit-capability-advisorSkill
- askit-capability-gap-analysisSkill
- askit-capability-whats-newSkill
- askit-decisionSkill
- askit-deprecateSkill
- askit-evaluateSkill
- askit-init-marketplaceSkill
- askit-init-pluginSkill
- askit-migrateSkill
- askit-releaseSkill
- askit-standards-watchSkill
- askit-template-managerSkill
- REPLACE-with-kebab-case-name-matching-this-directorySkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
When the user asks to add, scaffold, author, or improve an MCP server (tools, resources, or prompts via the Model Context Protocol) for a …
- Very specific: line 26
Run node scripts/evaluate.mjs .
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
askit-build-mcp
Purpose
Author the plugin's MCP servers as one portable .mcp.json at the plugin root (the standard { "mcpServers": { ... } } format) and wire the per-target mcpServers manifest pointer. Two modes: create adds a server; improve fixes findings. MCP is Universal-tier: the server definition is portable and both Claude and Codex ingest a bundled .mcp.json referenced by the native manifest's mcpServers pointer (Standard sec 3.9). Authoring depth is in references/authoring-mcp.md. Follows the shared builder contract (../../docs/reference/builder-pattern.md).
When to use
When the user asks to add, scaffold, author, or improve an MCP server (tools, resources, or prompts via the Model Context Protocol) for a plugin.
create mode
- Brief interview: server name (kebab-case), transport (
stdioorhttp), thecommandplusargs(stdio) or theurl(http), and any secrets as an env-var NAME (never an inline value). Skip the interview if these are already in context. - Author or extend the root
.mcp.json: add the server undermcpServers. Copytemplates/mcp.jsonif the file does not exist yet. - Register the server in
library.jsoncomponents.mcpServersas{ name, version, tier, status }. - Wire the per-target pointer: run
node scripts/generators/gen-manifest.mjs <plugin-root> --write --target=all. Each native manifest gains"mcpServers": "./.mcp.json". - Assess with
node scripts/evaluate.mjs . --jsonand iterate to 0 errors (mcp-valid, the S3 components index, and the S6 per-target pointer).
improve mode
- Run
node scripts/evaluate.mjs . --jsonand read the report. - For each finding: a malformed server (mcp-valid) -> add the missing
commandorurl; a committed secret (mcp-valid) -> replace the inline value with an env-var reference orbearer_token_env_var; a missing pointer (S6) -> regenerate the manifests; an undeclared server (S3) -> add it tocomponents.mcpServers. For any other finding, read its message and apply the fix it states. - Re-run evaluate to confirm.
Scope
The root .mcp.json is the single authored source; the manifest pointers are generated, so never hand-edit a generated manifest. Secrets MUST be referenced from the environment, never committed (Standard sec 9). MCP is the one plugin-distributable component both agents ingest, and emission is just the manifest-pointer wiring (no per-type render engine, per the builder pattern).
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.

