# MCP Server Core Implementation
This directory contains the core MCP server implementation following a **tools-first architecture** for maximum agent compatibility.
## π Directory Structure
```
src/
βββ main.py # Server entry point
βββ api.py # FastAPI application setup
βββ mcp.py # MCP server implementation & tool registration
βββ settings.py # Configuration management
βββ tools/ # π― ALL MCP capabilities as tools
βββ assets/ # π Static assets accessed by tools
```
## π― **Tools-First Philosophy**
**Everything is a tool** - prompts, resources, and business logic are all implemented as MCP tools for:
- β
Universal compatibility (LangGraph, CrewAI, Claude Desktop, etc.)
- β
Consistent interface and error handling
- β
Better agent understanding with structured documentation
- β
Simplified development and testing
## π **Quick Start**
1. **Add your tools** β `tools/your_domain_tool.py`
2. **Add static assets** β `assets/your_file.png`
3. **Register tools** β Update `mcp.py`
4. **Test** β `pytest tests/test_tools.py`
## π **Next Steps**
- See `tools/README.md` for tool development guidelines
- See `assets/README.md` for asset management
- Check `.cursor/mcp-rules.md` for detailed patterns
- Review `.cursor/template-transform-rules.md` for customization