MCP servers can be used with a valid MCP client - Cursor, Claude code, etc. The part that you have shown goes into the client side.
Eg. in cursor, you can install MCP tools at Settings > Cursor Settings > New MCP server :
MCP servers need a MCP clients to run!