# 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