Prerequisites
Before you can configure and use LangChain with Connect AI, you must first do the following:- OAuth JWT bearer token �����܂��BPAT ���R�s�[���A�F�؎��Ƀp�X���[�h�Ƃ��Ďg�p���܂��B
- Obtain an OpenAI API key: https://platform.openai.com/.
- Make sure you have Python >= 3.10 in order to install the LangChain and LangGraph packages.
Create the Python Files
In
config.py, create a class Config to define your MCP server authentication and URL. MCP_AUTH should be set to "OAUTH_JWT_TOKEN", not EMAIL:PAT: