Skip to content

MCP basics with FastMCP and LM Studio⚓︎

I recently added a tutorial describing the basics of MCP, how to create local servers with FastMCP, and how to interact with these servers in LM Studio.

Model Context Protocol (MCP) servers are great ways to give useful tools and context to your agents. This protocol has been widely adopted throughout the community and we can find MCP integration in most major frameworks.

With FastMCP, we can get our MCP servers up and running quick and easy - with just a few lines of code. Created servers can immediately be tested with the convenient MCP Inspector and can be easily integrated into local LLM hosting platforms like LM Studio.

In the MCP basics tutorial, we see how to do all this with a very simple example of a medieval wizard roleplaying calculator. Next up, creating a more useful server - an adaptive web crawler with Crawl4AI which will give our agents relevant context from extensive web searches. Stay tuned for more posts!

You can also checkout my Medium post, the accompanying Github repo, my current projects , or even more in-depth tutorials covering various aspects of AI .