Publishing MCP Servers
Last updated
Was this helpful?
Last updated
Was this helpful?
LangDB already offers a set of managed MCP servers you can use out-of-the-box, but you can also publish your own custom MCP server by linking a GitHub repo or configuring it manually. Once deployed, your custom MCP server can also be added to a in LangDB, allowing you to group multiple tools together under one interface.
Paste your GitHub repo URL, and LangDB will attempt to generate the MCP server configuration automatically.
Open the "Publish MCP Server" dialog
Enter the GitHub Repository URL
LangDB inspects the repo (e.g., package.json
) and pre-fills:
command
args
env
structure
You can edit or override these values before publishing.
If you prefer full control, enable Manual configuration and provide the required fields:
Name
✅
Unique identifier for your MCP server
Logo URL
✅
PNG/SVG URL (128×128 preferred)
Description
⬜
What your MCP server does
Visibility
✅
Public or Private
Categories
✅
Select or define categories
Wrap variable names using {{...}}
These placeholders must match environment variables defined below
Define each required variable:
api_key
String
API key passed to
your MCP tool
Make sure all required fields are completed, including configuration and environment variables.
Resolve any validation warnings highlighted in the interface.
Click Publish to deploy.
Once published, your MCP server will be accessible via LangDB—privately within your project or publicly if selected—and ready to power tool calls in any compatible LLM setup.
You can also add this newly deployed MCP server into a Virtual MCP Server in LangDB to combine it with other tools and provide a unified interface to your LLMs.
You can insert variables in both args
and env
blocks using {{...}}
Automatic GitHub mode can be used as a starting point and then switched to manual for advanced edits