- Home
- MCP servers
- House Rules
House Rules
- typescript
0
GitHub Stars
typescript
Language
6 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"sanjaynela-mcphouserules": {
"command": "node",
"args": [
"/Users/sanjay/personalProjects/mcpHouseRules/dist/index.js"
]
}
}
}You can run a lightweight MCP server that exposes reusable house rules as prompts and automatically fetches Git context for your projects. This setup lets your AI assistants stay within your chosen workflow while having instant access to consistent behavior and repository context.
How to use
You connect your MCP client to the house_rules server via a local process, then apply the reusable prompt to guide the assistant. Use the git_context tool to fetch repository context so the assistant can reason about branches, recent commits, and changes without you re-typing basic details.
Typical usage flow:
- Discover house_rules in your MCP client and apply it to a conversation
- Optionally pass a mode to tailor behavior (for example, review, triage, or release-notes)
- Call git_context to retrieve current branch, recent commits, and diffstat
- Ask for a summary or checklist based on the context to proceed with your task
How to install
Prerequisites: Node.js and npm are installed on your system.
- Install dependencies for the project
npm install
- Build the TypeScript source to JavaScript
npm run build
- Run the MCP server locally (stdio transport)
npm start
Additional notes and troubleshooting
Testing with MCP Inspector helps you verify that the server exposes the correct prompts and tools and that the connections work as expected.
If you need to verify the server standalone, you can check that it starts and logs to stderr indicating it is running.
Available tools
git_context
Executes a context-gathering operation that returns the current branch, recent commits (default 15), and latest diffstat for a given repository path.