# agentfile MCP server

> Analyzes and synchronizes AI agent configurations across different platforms like Claude Code, Copilot, and Cursor to prevent rule drift.

- Repository: https://github.com/dennishavermans/agentfile
- Page: https://hostedmcp.org/servers/dennishavermans/agentfile
- Transport: —
- Stars: 11
- License: MIT

## FAQ

### Does agentfile execute any of my agent's commands or hooks?

No, nothing it finds is ever executed. Hooks, skills, commands, and MCP configurations are read strictly as text.

### How does agentfile handle different AI agent instruction formats?

It reads existing files like CLAUDE.md, .cursorrules, and .github/copilot-instructions.md, normalizes them into a single representation, and can consolidate them into a single source of truth.

### Can I use agentfile in my CI/CD pipeline?

Yes, it provides commands like 'check' for pre-commit hooks and 'validate' for strict CI validation, and it can exit with a non-zero status on errors to gate builds.

### What is the purpose of the 'adopt' command?

The adopt command proposes a single source of truth for your existing configurations and provides a plan to consolidate them before applying changes.
