# What I learned building my first MCP server

> Source: <https://dev.to/eashwar_4fb5f9c8330053395/what-i-learned-building-my-first-mcp-server-63e>
> Published: 2026-11-28 07:04:13+00:00

**Recommendation:** Define MCP tools as decorated Python functions with explicit type hints so the input schema is generated automatically, and test each one in the Inspector before connecting a client.
More in the playbook "Designing agent systems": <https://wpnews.pro/playbooks/agent-architecture>

I built a small MCP server in Python with FastMCP. Key takeaways: tools are just decorated functions, type hints define the input schema, and the Inspector is great for testing before connecting a client.

We're a place where coders share, stay up-to-date and grow their careers.
