Quickstart (MCP)
How to get started running Toolbox locally with MCP Inspector.
3 minute read
Before you spin up your server and start writing code, it is helpful to understand the different ways you can utilize the Toolbox within your architecture.
This guide breaks down the core methodologies for using MCP Toolbox, how to think about your tool configurations, and the different ways your applications can connect to it.
MCP Toolbox provides two main approaches for tools: prebuilt and custom.
Prebuilt tools are ready to use out of
the box. For example, a tool like
postgres-execute-sql has fixed parameters
and always works the same way, allowing the agent to execute arbitrary SQL.
While these are convenient, they are typically only safe when a developer is in
the loop (e.g., during prototyping, developing, or debugging).
For application use cases, you need to be wary of security risks such as prompt injection or data poisoning. Allowing an LLM to execute arbitrary queries in production is highly dangerous.
To secure your application, you should use custom tools to suit your
specific schema and application needs. Creating a custom tool restricts the
agent’s capabilities to only what is necessary. For example, you can use the
postgres-sql tool to define a specific action. This
typically involves:
By creating custom tools, you significantly reduce the attack surface and ensure the agent operates within defined, safe boundaries.
A key architectural benefit of the MCP Toolbox is flexibility in how and when your AI clients learn about their available tools. Understanding this distinction helps you choose the right integration path.
In this model, the available tools and their schemas are established when the client initializes.
In this model, your application dynamically requests the latest tools from the Toolbox server on the fly.
Being built on the Model Context Protocol (MCP), MCP Toolbox is framework-agnostic. You can connect to it in three main ways:
How to get started running Toolbox locally with MCP Inspector.
How to get started running MCP Toolbox locally with Python, PostgreSQL, and Agent Development Kit, LangGraph, LlamaIndex or GoogleGenAI.
How to get started running MCP Toolbox locally with JavaScript, PostgreSQL, and orchestration frameworks such as LangChain, GenkitJS, LlamaIndex and GoogleGenAI.
How to get started running MCP Toolbox locally with Go, PostgreSQL, and orchestration frameworks such as LangChain Go, GenkitGo, Go GenAI and OpenAI Go.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.