Does MCP work with API (not Agent SDK)?

I am building a chat client. I would like to know if I can use MCP protocol with regular chat completion API. I understand MCP is supported in Agent SDK.

Reference: For Client Developers - Model Context Protocol

3 Likes

Not yet! Announced but not released

4 Likes

For now we have function calling available and will need to implement a MCP Client that can bridge the http json requests to MCP servers.

Here are a few open source projects that can get you started.
This is not exactly an endorsement. There are more and it should help you find what you need until we get a official implementation.

open-webui/mcpo

Apache APISIX – mcp-bridge

4 Likes

Hello, i’m waiting for the same implementation.

I don’t know if it’s worth investing time in integrating bridges. Perhaps it’s better to continue using function calling and wait for MCP to be integrated.
Don’t we have any idea of ​​the timescale?

1 Like