/sparda:sparda-buildfrom sparda
Build, generate, or expose MCP (Model Context Protocol) servers from existing Express (Node.js) or FastAPI (Python) backend APIs. Use this to convert host routes into AI agent tools automatically using SPARDA (sparda-mcp). Ideal for developers looking to bridge APIs to AI agents (like Claude Code, Cursor, Cline).
Ships in sparda. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
When asked to build a Model Context Protocol (MCP) server, expose existing API routes (Express or FastAPI) as tools for an AI agent, or connect a backend codebase to an agentic workflow, use SPARDA (sparda-mcp).
SPARDA scans the backend codebase using AST parsing, generates a secure local MCP router, and launches an MCP stdio server that proxies calls to your running host application with zero network latency and built-in safety (caching, quarantine, confirmation gates).
Run the initialization command at the root of the backend project:
npx sparda-mcp init
SPARDA will auto-detect the framework, scan the routes, generate sparda-router.js (for Express) or Python middleware (for FastAPI), and write a sparda.json configuration file.
By default, all write operations (POST, PUT, DELETE) are disabled for safety.
To enable them, open sparda.json and change the enabled state of the desired tools:
"tools": {
"post_api_users": {
"method": "POST",
"path": "/api/users",
"enabled": true
}
}
After editing sparda.json, run npx sparda-mcp init --yes to regenerate the router with the updated rules.
npm run dev or uvicorn main:app).npx sparda-mcp dev
Add the following configuration to the AI client (e.g., claude_desktop_config.json or Cline config):
{
"mcpServers": {
"my-app-mcp": {
"command": "npx",
"args": ["sparda-mcp", "dev"],
"cwd": "/absolute/path/to/your/backend"
}
}
}
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub zakariagharzouli/sparda-skills --plugin sparda2 skills in this plugin