Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings
mcp-use

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
@mcp-use

mcp-use

Open source dev-tools and infra for MCP (model context protocol)
mcp use logo

🌐 MCP-Use is the open source way to connectany LLM to any MCP server and build custom agents that have tool access, without using closed source or application clients.

🧐 What is mcp-use?

mcp-use is an open source library that enables developers to connect any LLM to any MCP server, allowing the creation of custom agents with tool access without relying on closed-source or application-specific clients.

✨ Just like this

Here's a quick example of how you can usemcp-use:

importasynciofromlangchain_openaiimportChatOpenAIfrommcp-useimportMCPAgent,MCPClientasyncdefmain():client=MCPClient(config= {"mcpServers":{"playwright": {"command":"npx","args": ["@playwright/mcp@latest"],"env": {"DISPLAY":":1"}    }}})# Create LLMllm=ChatOpenAI(model="gpt-4o",api_key=...)# Create agent with toolsagent=MCPAgent(llm=llm,client=client,max_steps=30)# Run the queryresult=awaitagent.run("Find the best restaurant in San Francisco")if__name__=="__main__":asyncio.run(main())

➡️Create your own with our Builder

🚀 Key Features

  • 💻 Open Source: Connect any LLM to any MCP server without vendor lock-in.
  • ⚙️ Flexible Configuration: Support for any MCP server through a simple configuration system.
  • ⚙️ Easy Setup: Simple JSON-based configuration for MCP server integration.
  • 🤖 Universal LLM Support: Compatible with any LangChain-supported LLM provider.
  • 🔌 HTTP Connection: Connect to MCP servers running on specific HTTP ports for web-based integrations.
  • 🔀 Dynamic Server Selection: Agents can dynamically choose the most appropriate MCP server for the task.

🏁 Getting Started


We are constantly working to improvemcp-use. Check out what we're planning and suggest new features!

PinnedLoading

  1. mcp-usemcp-usePublic

    mcp-use is the easiest way to interact with mcp servers with custom agents

    TypeScript 8.7k 1k

Repositories

Loading
Type
Select type
Language
Select language
Sort
Select order
Showing 10 of 15 repositories

Top languages

Loading…

Most used topics

Loading…


[8]ページ先頭

©2009-2025 Movatter.jp