ai llm mcp - ghdrako/doc_snipets GitHub Wiki

MCP

the standard for providing context to LLMs and AI agents, allowing them to function at a high level in real world, operational scenarios

DBT MCP

FastMCP

Something that makes it easy to define tools (decorators for Python functions)
A runtime to start the MCP Server
A basic MCP Client to interface with the server
  • Define a tool Python
from mcp.server.fastmcp import FastMCP

mcp = FastMCP("Demo")

@mcp.tool()
def get_weather(location: str) -> str:
    """Fetch the weather forecast for a given location."""
    ...
  • Framework PydanticAI

  • Start a local MCP server:‍ Shell

mcp dev ... path.to.your.module