How to Use the UPYUN Developer Platform MCP in LangChain
Build complex, multi-step infrastructure agents using LangChain.
Works with every AI agent you already use
…and any MCP-compatible client
Connect UPYUN Developer Platform MCP to LangChain
Create your Vinkius account to connect UPYUN Developer Platform to LangChain and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Manage Cloud Files for LangChain Agents
The `list_directory` tool lets your agent map out the contents of any UPYUN directory. You check if a folder has everything you need, or find exactly where to start your file operations. It's perfect for multi-step workflows. Your agent can first run `get_file_info` on a target asset, then use that metadata to decide whether it needs to call `create_text_file` next.
Track Usage and Deploy Assets via MCP Server
Agents need visibility into cost. Use the `get_service_usage` tool to pull current UPYUN bucket service usage stats. This data feeds directly into your agent's reasoning chain, letting it decide if a deployment is financially viable. Need to clean up? The agent can check the status using `delete_file`, then call `list_directory` immediately after to confirm the file is gone.
Build File Creation Pipelines with LangChain
This MCP Server lets your AI client execute file lifecycle tasks. You can write a chain that first calls `create_text_file`, uploading new content, and then immediately uses `get_file_info` to confirm the upload was successful. It's robust for testing data pipelines. The agent handles the full sequence: create, verify metadata, and optionally, clean up with `delete_file` if the test fails.
Set up UPYUN Developer Platform MCP in LangChain
Prerequisites
- Python 3.10+ installed
-
langchain-mcp-adapters+langgraphpackages - Active Vinkius subscription with a valid endpoint token
- 1
Install dependencies
Run
pip install langchain-mcp-adapters langgraph langchain-openai. The MCP adapters package converts MCP tools into native LangChainBaseToolobjects. - 2
Connect via HTTP transport
Use
MultiServerMCPClientwith"transport": "http"pointing to your Vinkius endpoint. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. - 3
Create a ReAct agent
Pass the discovered tools to
create_react_agent()from LangGraph. The agent automatically routes UPYUN Developer Platform tool calls through the MCP protocol. - 4
Run with any LLM
Swap
ChatOpenAIforChatAnthropic,ChatGoogleGenerativeAI, or any LangChain-compatible model. The MCP tools work identically across all providers.
from langchain_mcp_adapters.client import MultiServerMCPClient
from langgraph.prebuilt import create_react_agent
from langchain_openai import ChatOpenAI
async with MultiServerMCPClient({
"upyun-developer-platform-mcp": {
"transport": "http",
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
}
}) as client:
tools = client.get_tools()
agent = create_react_agent(
ChatOpenAI(model="gpt-4o"),
tools,
)
result = await agent.ainvoke({
"messages": "List recent UPYUN Developer Platform transactions"
})
print(result["messages"][-1].content) Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by UPYUN. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about UPYUN Developer Platform MCP in LangChain
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the UPYUN Developer Platform MCP today
We host it, we monitor it, we maintain it. You just paste one token.