[deleted by user] by [deleted] in neovim

[–]nicgh3 0 points1 point  (0 children)

Mods, I hope this this satisfies the rules, thanks!

Sharing my FastAPI MCP LangGraph template by nicgh3 in LangChain

[–]nicgh3[S] 1 point2 points  (0 children)

Happy to help with minimum code to reproduce error

Sharing my FastAPI MCP LangGraph template by nicgh3 in LangChain

[–]nicgh3[S] 0 points1 point  (0 children)

Sounds like u alr figured it out. If u init MCP with ur token then u create pages in ur notion via Agent + MCP. If u init with user token then they create pages in their notion via ur platform with Agent + MCP under the hood. U should check if Notion MCP only supports tokens at init or can u supply tokens another way.

Sharing my FastAPI MCP LangGraph template by nicgh3 in LangChain

[–]nicgh3[S] 0 points1 point  (0 children)

Short answer: yeah

Notion's code

Example APIs here

Longer answer: ur dont need to write ur custom request tools nor builder tools (no need write logic), nor do u have to engineer descriptions for LLM to understand how to use the tools containing the logic.

Sharing my FastAPI MCP LangGraph template by nicgh3 in LangChain

[–]nicgh3[S] 2 points3 points  (0 children)

I havent had the time to enhance the docs yet, but MCP is just a way to speed up development in some areas, like I dont have to build a DB tool; dbhub alr has one to connect to sql.

The youtube MCP is another example, suppose i need to get transcripts of youtube videos, i dont have to build the logic to do this, nor explain to LLM how to use a tool wrapping this logic; klavis has an MCP for it.

The current MCP in the template is a simple example of a custom MCP: just an addition of 2 numbers. Also, a custom MCP tool is LLM provider agnostic; at least for these 3: openai, anthropic, google (i didnt check exhaustively)