Docs: add a LangChain or LangGraph example for calling the remote MCP server

Đang mở
#15 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
72/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
documentation

Hướng nghiên cứu

Start with the local draft 05-langchain-langgraph-example.md and read the README sections that describe MCP clients and test flows. Add one Python example under docs/ or examples/ using a small tool, document its required environment variables, and link it from the README. Done means the example shows an agent call reaching an OpenAPI tool through the remote MCP endpoint.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Opened by @francescobianco from local draft 05-langchain-langgraph-example.md.

Summary

I wanted to use this MCP server as the tools layer behind a LangGraph agent, but I could not find a minimal example. Since MCP is becoming a common interop layer, a small recipe would make the project easier to adopt in Python AI stacks.

Reproduction

  1. Start the server with openapi-mcp-sdk server.
  2. Open the repo docs looking for a LangChain or LangGraph example.
  3. There is no example showing how to connect an agent to the remote MCP endpoint.

Expected

A minimal example demonstrating one agent call that reaches an Openapi tool through MCP.

Actual

The project documents MCP clients like Claude and OpenAI test flows, but not LangChain/LangGraph.

Why this is a good first issue

This is mostly an example-writing task. It does not require changing server behavior.

Suggested acceptance criteria

  • Add one Python example under docs/ or examples/.
  • Use one small tool such as exchange rates or company lookup.
  • Document required env vars.
  • Link the example from the main README.
Ngôn ngữ chính
Python
Star
22
Fork
4
Merge trung bình
6 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của openapi/mcp-server

Tất cả issue của openapi/mcp-server

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.