> For the complete documentation index, see [llms.txt](https://docs.mcpfunctions.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mcpfunctions.ai/documentation/tutorials.md).

# Tutorials

The best way to learn MCP Functions is by doing. These step-by-step tutorials walk you through the most important workflows — from creating your first tool to monitoring production usage. Each tutorial is self-contained: follow them in order if you're new, or jump straight to the one you need.

![Tutorial Learning Path](https://1140963605-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcNkjl1Dsug0KQrLLIjPR%2Fuploads%2Fgit-blob-f10a78a4644904d062c3ffdd5be34d436765c0fb%2Ftutorials-hero.png?alt=media)

## Tutorials in This Section

If you're new, follow them in this order:

| # | Tutorial                                                                         | What you'll learn                                                                               | Time     |
| - | -------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | -------- |
| 1 | [Create Your First Tool](/documentation/tutorials/first-tool.md)                 | Build a complete MCP tool from scratch — create a server, write code, test, and publish         | \~10 min |
| 2 | [Generate a Tool with AI](/documentation/tutorials/ai-tool-generation.md)        | Use the built-in AI assistant to generate tool code, parameters, and descriptions from a prompt | \~5 min  |
| 3 | [Test and Debug Tools](/documentation/tutorials/testing-and-debugging.md)        | Run tests in the sandbox, read execution logs, and diagnose common failures                     | \~10 min |
| 4 | [Manage Secrets and External APIs](/documentation/tutorials/secrets-and-apis.md) | Store API keys as workspace secrets, configure OAuth2, and reference credentials in tool code   | \~10 min |
| 5 | [Connect an AI Assistant](/documentation/tutorials/connect-assistant.md)         | Wire Cursor, Claude Desktop, or any MCP client to your server                                   | \~5 min  |
| 6 | [Invite Team Members](/documentation/tutorials/invite-team-members.md)           | Invite users, assign organization roles, and manage workspace permissions                       | \~5 min  |
| 7 | [Monitor Usage and Logs](/documentation/tutorials/monitoring-and-logs.md)        | Use the dashboard, execution logs, and activity feed to track tool usage                        | \~5 min  |
