TRUSS MCP Server
Generates .claude/rules/ files specifically for the Actix web framework in Rust projects.
Provides specialized rule generation for projects using the Django web framework.
Supports Node.js API project initialization and rule generation for the Express framework.
Generates project templates and framework-specific rules for Python applications using FastAPI.
Includes project template coverage for Node.js REST APIs using Fastify.
Generates language-specific and framework-specific rules for Go projects using Gin.
Automates the generation of n8n workflows that trigger based on GitHub events like issue creation.
Generates code rules, testing guidelines, and test cases for JavaScript and Node.js projects.
Generates unit and integration test cases compatible with the Jest testing framework.
Generates importable n8n workflow JSON from natural language descriptions for automation tasks.
Provides dedicated rule generation for Next.js applications.
Supports initialization and configuration of various Node.js project types, including REST APIs and libraries.
Generates Python test files and cases using the pytest framework.
Generates specialized project templates for ML and API development, as well as rules and test cases for Python codebases.
Supports initialization of React SPA projects and generates framework-specific code style and testing rules.
Provides project templates for CLI applications and generates language-specific rules and built-in tests for Rust.
Generates n8n workflow JSON for automated tasks involving Slack notifications.
Provides specialized templates and configurations for monorepos managed with Turborepo.
Generates comprehensive rules and test cases for TypeScript projects, including framework-specific support for React and others.
Supports project templates for React applications using the Vite build tool.
Generates test files for JavaScript and TypeScript projects specifically for the Vitest framework.
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., "@TRUSS MCP Serverinitialize this project with a CLAUDE.md and custom rules"
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.
TRUSS MCP Server
The structural layer for AI-native workflows.
AI-native developer tools for Claude Code. Generate CLAUDE.md files, rules, agent definitions, prompt templates, n8n workflows, security audits, and more — all from within your Claude Code session.
What's Included
Free Tier (no license needed)
Tool | Description |
| Initialize a project with CLAUDE.md, rules, and agent definitions |
| Generate a CLAUDE.md from codebase analysis |
| Search the prompt template library (3 results) |
Pro Tier ($9/mo)
Tool | Description |
| Generate .claude/rules/ files for any language + framework |
| Generate .claude/agents/ definitions for specialized AI agents |
| Generate n8n workflow JSON from natural language |
| Audit and optimize your existing Claude Code configuration |
| Full prompt template library (20+ templates, 6 categories) |
| Scan code for security vulnerabilities with remediation |
| Generate test cases from code (JS/TS, Python, Go, Rust) |
Installation
npm install -g truss-mcpConfiguration
Add to your Claude Code MCP configuration (~/.claude/claude_desktop_config.json or project-level):
{
"mcpServers": {
"truss": {
"command": "truss-mcp",
"env": {
"TRUSS_LICENSE_KEY": "truss_your_license_key_here"
}
}
}
}For the free tier, omit the env block:
{
"mcpServers": {
"truss": {
"command": "truss-mcp"
}
}
}Usage Examples
Initialize a Project (Free)
"Use truss_init_project to set up my Node.js API project"
Generates CLAUDE.md, code style rules, testing rules, and a QA reviewer agent definition. Supports: Node.js, Python, Go, Rust, React, fullstack, monorepo, and library project types.
Generate CLAUDE.md (Free)
"Use truss_generate_claude_md to create a CLAUDE.md for my project"
Analyzes your file structure and generates a tailored CLAUDE.md with tech stack detection, build commands, and code style guidelines.
Search Prompts (Free)
"Use truss_search_prompts to find prompts about security review"
Searches the built-in library of 20+ prompt templates across code review, testing, documentation, security, architecture, and debugging categories.
Generate Rules (Pro)
"Use truss_generate_rules for TypeScript with the React framework"
Creates comprehensive .claude/rules/ files with language-specific code style, testing, and security rules. Supports framework-specific additions (React, Express, FastAPI, Gin, Actix, Next.js, Django).
Generate Agents (Pro)
"Use truss_generate_agents to create a Security Auditor agent"
Generates .claude/agents/ definitions with pre-built templates for common roles (QA Reviewer, Security Auditor, Documentation Writer, Performance Analyst, API Designer).
Generate Workflow (Pro)
"Use truss_generate_workflow: When a GitHub issue is created, send a Slack notification"
Generates importable n8n workflow JSON with nodes, connections, and configuration. Auto-detects required nodes from your description.
Optimize Config (Pro)
"Use truss_optimize_config with my CLAUDE.md content"
Audits your configuration for completeness, structure, and effectiveness. Provides a grade (A-F), identifies missing sections, and suggests improvements.
Security Audit (Pro)
"Use truss_security_audit on these files"
Pattern-based security scanner that detects hardcoded secrets, SQL injection, XSS, command injection, path traversal, weak cryptography, SSRF, and more.
Test Generator (Pro)
"Use truss_test_generator for this Python function"
Generates test files with happy path, edge case, and error handling tests. Supports Vitest/Jest (JS/TS), pytest (Python), Go testing, and Rust built-in tests.
Prompt Library Categories
The built-in prompt library includes templates for:
Code Review: Security review, performance review, readability review, PR review
Testing: Unit tests, integration tests, E2E scenarios
Documentation: API docs, README generation, ADRs, changelog entries
Security: Threat modeling, audit checklists, incident response playbooks
Architecture: System design, migration plans, API design review
Debugging: Root cause analysis, performance investigation, log analysis
Template Coverage
CLAUDE.md templates for 8 project types:
node-api— Node.js REST API (Express/Fastify)python-ml— Python ML/data science projectpython-api— Python API (FastAPI)go-service— Go microservicerust-cli— Rust CLI applicationreact-app— React SPA (TypeScript + Vite)fullstack— Full-stack application (frontend + backend + DB)monorepo— Monorepo (Turborepo/Nx)library— Publishable library/package
Rule templates for 4 languages: JavaScript/TypeScript, Python, Go, Rust
Running Evals
cd truss-mcp-server
npm run evalThe eval suite tests all free and Pro tools for correctness, output structure, and edge cases.
License
MIT -- see LICENSE.
Built by TRUSS -- the structural layer for AI-native workflows.
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/claw-factory/truss-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server