anthropic-sdk-python
anthropic-sdk-python copied to clipboard
How to use API call to MCP
I use MCP on Claude desktop and I like it so much. Then I am trying to programmatically unified it with my app.
My architecture is Telegram bot -> My sever running Python -> Claude API -> MCP on my server
Then the Claude will answer back to Python -> Telegram bot respectively.
However, https://github.com/anthropics/anthropic-sdk-python/issues/917 the known issue.
I found that python-sdk with MCP still missing here.
They call it Tool - check docs and examples here https://docs.anthropic.com/en/docs/build-with-claude/tool-use/overview