Setup MCP Server
Generic guide to use Lybic MCP Server in LLM applications
You can use Lybic MCP Server in your favorite application which supports MCP following the steps below.
Check support
Navigate to documentation of your application and check if it supports MCP.
Check if it supports streamableHttp transport or stdio transport. If they support one of them, you can use MCP Server in your application, and we recommend you to use streamableHttp transport. If they only support SSE, you can't use Lybic in such application.
Grab your API Key and URL
Navigate to Lybic Dashboard, click on "MCP Servers" on sidebar.
Copy the "MCP Server URL" from the "Default MCP Server" section.
If you don't have an API Key, click on "New API Key" button to generate a new one.
Default MCP server should only be used for prototype, and should not be used concurrently across multiple agents or sessions. Learn more.
Configure MCP Server if they support streamableHttp transport
You can add your URL into the configuration file or UI of your application.
You may need the following json template if your application uses JSON configuration:
{
"mcpServers": {
"lybic": {
"type": "streamable",
"url": "$MCP_Server_URL",
"headers": {
"x-api-key": "$API_Key"
}
}
}
}
If your application has GUI fields, you can fill them with the following values:
Name
:Lybic
.URL
: fill in your MCP Server URLTransport
orType
: select streamable HTTP.SSE
is not supported.- Authorization: Typically, you will only need one of the following fields:
API Key
orBearer Token
: just fill in your API Key.Headers
: fill inx-api-key: $API_Key
orx-api-key=Bearer $API_Key
depending on your application. Replace$API_Key
with your API Key.Authorization
: fill inBearer $API_Key
. Replace$API_Key
with your API Key.
Configure MCP Server if they support stdio
If your application only supports stdio transport, you can use mcp-proxy to proxy MCP Server to your local environment.
You should have uv
installed first.
You may need the following json template if your application uses JSON configuration:
{
"mcpServers": {
"lybic": {
"command": "uvx",
"args": ["mcp-proxy", "$MCP_Server_URL", "--transport", "streamablehttp"],
"env": {
"API_ACCESS_TOKEN": "$API_Key"
}
}
}
}
If your application has GUI fields, you can fill them with the following values:
- Name: Lybic.
- Transport or Type: select stdio.
- Command:
uvx
- Arguments:
mcp-proxy $MCP_Server_URL --transport streamablehttp
- If no arguments field, you should fill this into your command field with a space followed by the arguments.
- If there is a list of arguments fields, you should fill them one by one separated by a space.
- Replace
$MCP_Server_URL
with your MCP Server URL.
- Environment Variables:
API_ACCESS_TOKEN
= Your API Key.- You may need to add
:
or=
between the key and value.
- You may need to add